Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 4ed33a0072a6ae8628fce88646a1fe49bcae12c0..f9088d10ec1821e2ffb585b5a129ebbb3d171504 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -1047,9 +1047,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ Mov(x1, Operand(x1, LSL, kPointerSizeLog2)); |
__ Ldr(ip0, MemOperand(kInterpreterDispatchTableRegister, x1)); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ Add(ip0, ip0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Call(ip0); |
// Even though the first bytecode handler was called, we will never return. |
@@ -1123,7 +1120,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ Mov(x1, Operand(x1, LSL, kPointerSizeLog2)); |
__ Ldr(ip0, MemOperand(kInterpreterDispatchTableRegister, x1)); |
- __ Add(ip0, ip0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Jump(ip0); |
} |