Index: src/x64/virtual-frame-x64.cc |
diff --git a/src/x64/virtual-frame-x64.cc b/src/x64/virtual-frame-x64.cc |
index 085e1eba99a0fc9ab27fd4eba5af0a8f4403cc28..888fdc20c85d437326f9aabc9afe52dcd9be6206 100644 |
--- a/src/x64/virtual-frame-x64.cc |
+++ b/src/x64/virtual-frame-x64.cc |
@@ -1038,6 +1038,15 @@ Result VirtualFrame::CallStoreIC() { |
} |
+void VirtualFrame::PushTryHandler(HandlerType type) { |
+ ASSERT(cgen()->HasValidEntryRegisters()); |
+ // Grow the expression stack by handler size less one (the return |
+ // address is already pushed by a call instruction). |
+ Adjust(kHandlerSize - 1); |
+ __ PushTryHandler(IN_JAVASCRIPT, type); |
+} |
+ |
+ |
#undef __ |
} } // namespace v8::internal |