Index: src/builtins/builtins-internal.cc |
diff --git a/src/builtins/builtins-internal.cc b/src/builtins/builtins-internal.cc |
index e7f3efdae613cdf0debae32a41eae589b56e65f2..2ac2454e4c9b5b561f87d4763c98cfca09894240 100644 |
--- a/src/builtins/builtins-internal.cc |
+++ b/src/builtins/builtins-internal.cc |
@@ -5,6 +5,8 @@ |
#include "src/builtins/builtins.h" |
#include "src/builtins/builtins-utils.h" |
+#include "src/macro-assembler.h" |
+ |
namespace v8 { |
namespace internal { |
@@ -31,5 +33,16 @@ BUILTIN(RestrictedStrictArgumentsPropertiesThrower) { |
isolate, NewTypeError(MessageTemplate::kStrictPoisonPill)); |
} |
+// ----------------------------------------------------------------------------- |
+// Interrupt and stack checks. |
+ |
+void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { |
+ masm->TailCallRuntime(Runtime::kInterrupt); |
+} |
+ |
+void Builtins::Generate_StackCheck(MacroAssembler* masm) { |
+ masm->TailCallRuntime(Runtime::kStackGuard); |
+} |
+ |
} // namespace internal |
} // namespace v8 |