Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 5169627906fd4511c9ee01a9a755b659cccddaca..91ff72cffbb31e1fe9871bb09728bb7ec2b78fc9 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -630,25 +630,6 @@ void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { |
} |
-void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { |
- // TODO(kasperl): Do we need to save/restore the XMM registers too? |
- // TODO(mvstanton): We should save these regs, do this in a future |
- // checkin. |
- |
- // For now, we are relying on the fact that Runtime::NotifyOSR |
- // doesn't do any garbage collection which allows us to save/restore |
- // the registers without worrying about which of them contain |
- // pointers. This seems a bit fragile. |
- __ pushad(); |
- { |
- FrameScope scope(masm, StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kNotifyOSR, 0); |
- } |
- __ popad(); |
- __ ret(0); |
-} |
- |
- |
void Builtins::Generate_FunctionCall(MacroAssembler* masm) { |
Factory* factory = masm->isolate()->factory(); |