Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: src/builtins.cc

Issue 6698015: Implement strict mode arguments caller/callee. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR Feedback. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index a51b01d0b7761f8b78dfc45024856a7c387fe727..44f23c4126f4a46e46aef507fc429cfc2d640253 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -962,6 +962,20 @@ BUILTIN(ArrayConcat) {
// Strict mode poison pills
+BUILTIN(StrictArgumentsCallee) {
+ HandleScope scope;
+ return Top::Throw(*Factory::NewTypeError("strict_arguments_callee",
+ HandleVector<Object>(NULL, 0)));
+}
+
+
+BUILTIN(StrictArgumentsCaller) {
+ HandleScope scope;
+ return Top::Throw(*Factory::NewTypeError("strict_arguments_caller",
+ HandleVector<Object>(NULL, 0)));
+}
+
+
BUILTIN(StrictFunctionCaller) {
HandleScope scope;
return Top::Throw(*Factory::NewTypeError("strict_function_caller",

Powered by Google App Engine
This is Rietveld 408576698