Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index bd984113f74179496bfccdb6855e5dfd4403fec2..c274610226e99aba784dfa58e965a401138318da 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -338,7 +338,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ jmp(code, RelocInfo::CODE_TARGET); |
} else { |
Register reg = i.InputRegister(0); |
- __ jmp(Operand(reg, Code::kHeaderSize - kHeapObjectTag)); |
+ __ add(reg, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
+ __ jmp(reg); |
} |
break; |
} |