Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index 787b09d9d1b1b78606f15e34d667dfa8ed7975d5..9552235fdf319a2de0fcc9e67e783a5634bae444 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -1054,9 +1054,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ShiftLeftImm(ip, r4, Operand(kPointerSizeLog2)); |
__ LoadPX(ip, MemOperand(kInterpreterDispatchTableRegister, ip)); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ addi(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Call(ip); |
// Even though the first bytecode handler was called, we will never return. |
@@ -1185,7 +1182,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
kInterpreterBytecodeOffsetRegister)); |
__ ShiftLeftImm(ip, r4, Operand(kPointerSizeLog2)); |
__ LoadPX(ip, MemOperand(kInterpreterDispatchTableRegister, ip)); |
- __ addi(ip, ip, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Jump(ip); |
} |