Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 74fd005d0cd793c4ff11025e30cc37957cf55ca4..c8b3e623c068654e201d0757f4c3a3da04768559 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -1040,9 +1040,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ldr(ip, MemOperand(kInterpreterDispatchTableRegister, r1, LSL, |
kPointerSizeLog2)); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ add(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Call(ip); |
// Even though the first bytecode handler was called, we will never return. |
@@ -1174,7 +1171,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ldr(ip, MemOperand(kInterpreterDispatchTableRegister, r1, LSL, |
kPointerSizeLog2)); |
- __ add(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ mov(pc, ip); |
} |