Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index dbd13289b7a525658aa545c16687714edab18dfe..8655ba9fa12febffac3422d1562931cd64d27bdf 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -683,9 +683,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister, times_1, 0)); |
__ movp(rbx, Operand(kInterpreterDispatchTableRegister, rbx, |
times_pointer_size, 0)); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ addp(rbx, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
__ call(rbx); |
// Even though the first bytecode handler was called, we will never return. |
@@ -847,7 +844,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister, times_1, 0)); |
__ movp(rbx, Operand(kInterpreterDispatchTableRegister, rbx, |
times_pointer_size, 0)); |
- __ addp(rbx, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
__ jmp(rbx); |
} |