#ifndef V8_UNITTESTS_INTERPRETER_BYTECODE_UTILS_H_
#define V8_UNITTESTS_INTERPRETER_BYTECODE_UTILS_H_
#include "src/execution/frames.h"
#include "src/interpreter/bytecode-register.h"
namespace v8 {
namespace internal {
namespace interpreter {
#if V8_TARGET_LITTLE_ENDIAN
#define EXTRACT(x, n) …
#define U16(i) …
#define U32(i) …
#elif V8_TARGET_BIG_ENDIAN
#define EXTRACT …
#define U16 …
#define U32 …
#else
#error "Unknown Architecture"
#endif
#define U8(i) …
#define REG_OPERAND(i) …
#define R8(i) …
#define R16(i) …
#define R32(i) …
class BytecodeUtils { … };
}
}
}
#endif