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

Unified Diff: src/builtins.cc

Issue 358363003: Only create arguments-maps in the bootstrapper, remove now obsolete ValueType flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 28c4a7829c3c586b48d65084b35ae21587903f8b..e94c730d9ae2065271d8d98c38630a94af3bd0c1 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -644,7 +644,7 @@ BUILTIN(ArraySlice) {
// 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_boilerplate()->map();
+ sloppy_arguments_map();
Igor Sheludko 2014/07/02 14:17:14 While we are here: isolate()->sloppy_arguments_map
bool is_arguments_object_with_fast_elements =
receiver->IsJSObject() &&

Powered by Google App Engine
This is Rietveld 408576698