diff options
Diffstat (limited to 'Source/JavaScriptCore/bytecode/GetByIdStatus.cpp')
-rw-r--r-- | Source/JavaScriptCore/bytecode/GetByIdStatus.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/bytecode/GetByIdStatus.cpp b/Source/JavaScriptCore/bytecode/GetByIdStatus.cpp index 0df0f44e7..8f2a46879 100644 --- a/Source/JavaScriptCore/bytecode/GetByIdStatus.cpp +++ b/Source/JavaScriptCore/bytecode/GetByIdStatus.cpp @@ -27,6 +27,8 @@ #include "GetByIdStatus.h" #include "CodeBlock.h" +#include "JSScope.h" +#include "LLIntData.h" #include "LowLevelInterpreter.h" namespace JSC { @@ -39,7 +41,7 @@ GetByIdStatus GetByIdStatus::computeFromLLInt(CodeBlock* profiledBlock, unsigned #if ENABLE(LLINT) Instruction* instruction = profiledBlock->instructions().begin() + bytecodeIndex; - if (instruction[0].u.opcode == llint_op_method_check) + if (instruction[0].u.opcode == LLInt::getOpcode(llint_op_method_check)) instruction++; Structure* structure = instruction[4].u.structure.get(); |