Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index a6dc0037098063244db9f6ee3c18bf9a8caa1e8c..947f6871d38a4d5b9624394842d6b353cfd416c0 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -694,21 +694,6 @@ void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { |
} |
-void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { |
- // 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) { |
// Stack Layout: |
// rsp[0] : Return address |