Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 16a2b3215e01ef0d15337592e75ec6b2a62e62bf..e70e94c8b6b2b62cddb3e6bc3d0d6f5b07499c3a 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -612,9 +612,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
// TODO(rmcilroy): Remove this once we move the dispatch table back into a |
// register. |
__ mov(eax, Immediate(masm->isolate()->factory()->undefined_value())); |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ add(ebx, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
__ call(ebx); |
// Even though the first bytecode handler was called, we will never return. |
@@ -782,10 +779,6 @@ static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { |
__ mov(kContextRegister, |
Operand(kInterpreterRegisterFileRegister, |
InterpreterFrameConstants::kContextFromRegisterPointer)); |
- |
- // TODO(rmcilroy): Make dispatch table point to code entrys to avoid untagging |
- // and header removal. |
- __ add(ebx, Immediate(Code::kHeaderSize - kHeapObjectTag)); |
__ jmp(ebx); |
} |