mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Enable threaded interpreter for arm64 architecture
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
85f02cb647
commit
81bcf2ed13
7 changed files with 20 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue