Skip to content
Snippets Groups Projects
Commit 98a775a5 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

More accurate cpp test for sparc machine code.

Rev: src/interpreter.h:1.74
parent 40063276
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,13 @@
#define FETCH
#define LOW_GET_ARG() ((PROG_COUNTER++)[0])
#if defined(PIKE_USE_MACHINE_CODE) && defined(sparc)
#if PIKE_BYTECODE_METHOD == PIKE_BYTECODE_SPARC
#define LOW_GET_JUMP() (PROG_COUNTER[0])
#define LOW_SKIPJUMP() (++PROG_COUNTER)
#else /* !(PIKE_USE_MACHINE_CODE && sparc) */
#else /* PIKE_BYTECODE_METHOD != PIKE_BYTECODE_SPARC */
#define LOW_GET_JUMP() EXTRACT_INT(PROG_COUNTER)
#define LOW_SKIPJUMP() (PROG_COUNTER += sizeof(INT32))
#endif /* PIKE_USE_MACHINE_CODE && sparc */
#endif /* PIKE_BYTECODE_METHOD */
#ifdef PIKE_DEBUG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment