Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index bdce0832011e4ce8a1c21a301c1672535e7f7171..56477d66b66c9baa0d527da7ed3554d1d69f4e0a 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -567,8 +567,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ jmp(code, RelocInfo::CODE_TARGET); |
} else { |
Register reg = i.InputRegister(0); |
- int entry = Code::kHeaderSize - kHeapObjectTag; |
- __ jmp(Operand(reg, entry)); |
+ __ addp(reg, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
+ __ jmp(reg); |
} |
break; |
} |