Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index a51b01d0b7761f8b78dfc45024856a7c387fe727..75b961c7276b43320ad28acd309fb161b1223fd0 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -640,7 +640,7 @@ BUILTIN(ArraySlice) { |
} |
elms = FixedArray::cast(JSObject::cast(receiver)->elements()); |
Object* len_obj = JSObject::cast(receiver) |
- ->InObjectPropertyAt(Heap::arguments_length_index); |
+ ->InObjectPropertyAt(Heap::kArgumentsLengthIndex); |
if (!len_obj->IsSmi()) { |
return CallJsBuiltin("ArraySlice", args); |
} |
@@ -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", |