Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 94ff13e072036dc164141e3f75a91710bce84c3d..33bd5dfdcb1dda98326f518d9b8c13edf6c9da67 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -643,8 +643,8 @@ BUILTIN(ArraySlice) { |
} else { |
// Array.slice(arguments, ...) is quite a common idiom (notably more |
// than 50% of invocations in Web apps). Treat it in C++ as well. |
- Map* arguments_map = |
- isolate->context()->native_context()->sloppy_arguments_map(); |
+ Map* arguments_map = isolate->context()->native_context()-> |
+ sloppy_arguments_boilerplate()->map(); |
bool is_arguments_object_with_fast_elements = |
receiver->IsJSObject() && |