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

Unified Diff: src/runtime.h

Issue 12114054: Supporting AllocationSiteInfo for Nested arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some updates Created 7 years, 10 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/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 2625c69413678c6d3b2efd279a97894c506f84f3..0bd01b9a73bfb36a1579af6c09c3151cd32e3e0e 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -290,8 +290,8 @@ namespace internal {
F(MaterializeRegExpLiteral, 4, 1)\
F(CreateObjectLiteral, 4, 1) \
F(CreateObjectLiteralShallow, 4, 1) \
- F(CreateArrayLiteral, 3, 1) \
- F(CreateArrayLiteralShallow, 3, 1) \
+ F(CreateArrayLiteral, 4, 1) \
+ F(CreateArrayLiteralShallow, 4, 1) \
\
/* Harmony modules */ \
F(IsJSModule, 1, 1) \
@@ -700,6 +700,12 @@ class Runtime : public AllStatic {
// Helper functions used stubs.
static void PerformGC(Object* result);
+ // Used in runtime.cc and hydrogen's VisitObjectLiteral and VisitArrayLiteral
+ MUST_USE_RESULT static MaybeObject* DeepCopyBoilerplate(
+ Isolate* isolate,
+ JSObject* boilerplate,
+ AllocationSiteMode allocation_site_mode = DONT_TRACK_ALLOCATION_SITE);
+
// Used in runtime.cc and hydrogen's VisitArrayLiteral.
static Handle<Object> CreateArrayLiteralBoilerplate(
Isolate* isolate,

Powered by Google App Engine
This is Rietveld 408576698