Index: src/s390/builtins-s390.cc |
diff --git a/src/s390/builtins-s390.cc b/src/s390/builtins-s390.cc |
index 31c4fc943e1321ae92ae4a3bd0ccaf3b7823c20b..6230889e6784cf111087de1e1d6f935db4d383a2 100644 |
--- a/src/s390/builtins-s390.cc |
+++ b/src/s390/builtins-s390.cc |
@@ -1045,9 +1045,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ShiftLeftP(ip, r3, Operand(kPointerSizeLog2)); |
__ LoadP(ip, MemOperand(kInterpreterDispatchTableRegister, ip)); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ AddP(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Call(ip); |
// Even though the first bytecode handler was called, we will never return. |
@@ -1168,7 +1165,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ShiftLeftP(ip, r3, Operand(kPointerSizeLog2)); |
__ LoadP(ip, MemOperand(kInterpreterDispatchTableRegister, ip)); |
- __ AddP(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Jump(ip); |
} |