Enable threaded interpreter for arm64 architecture

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
HyukWoo Park 2023-01-04 15:29:50 +09:00 committed by Patrick Kim
commit 81bcf2ed13
7 changed files with 20 additions and 14 deletions

View file

@ -315,7 +315,7 @@ void ByteCodeGenerator::relocateByteCode(ByteCodeBlock* block)
while (code < end) {
ByteCode* currentCode = (ByteCode*)code;
#if defined(COMPILER_GCC) || defined(COMPILER_CLANG)
#if defined(ESCARGOT_COMPUTED_GOTO_INTERPRETER)
Opcode opcode = (Opcode)(size_t)currentCode->m_opcodeInAddress;
#else
Opcode opcode = currentCode->m_opcode;