Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 01e8deb4e140d00566d2536433b941b2bc5eb542..a51b01d0b7761f8b78dfc45024856a7c387fe727 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -959,6 +959,24 @@ BUILTIN(ArrayConcat) { |
// ----------------------------------------------------------------------------- |
+// Strict mode poison pills |
+ |
+ |
+BUILTIN(StrictFunctionCaller) { |
+ HandleScope scope; |
+ return Top::Throw(*Factory::NewTypeError("strict_function_caller", |
+ HandleVector<Object>(NULL, 0))); |
+} |
+ |
+ |
+BUILTIN(StrictFunctionArguments) { |
+ HandleScope scope; |
+ return Top::Throw(*Factory::NewTypeError("strict_function_arguments", |
+ HandleVector<Object>(NULL, 0))); |
+} |
+ |
+ |
+// ----------------------------------------------------------------------------- |
// |