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

Unified Diff: src/ast.h

Issue 12114054: Supporting AllocationSiteInfo for Nested arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing a port compile failure Created 7 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
« no previous file with comments | « src/assembler.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 5debc74ebbab68ee18c40a863d664ad5f92e7a1b..878384a92f93409b86619a989565ae17c3d4e681 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -1322,7 +1322,8 @@ class ObjectLiteral: public MaterializedLiteral {
enum Flags {
kNoFlags = 0,
kFastElements = 1,
- kHasFunction = 1 << 1
+ kHasFunction = 1 << 1,
+ kCreateAllocationSiteInfos = 1 << 2
};
struct Accessors: public ZoneObject {
@@ -1390,6 +1391,11 @@ class ArrayLiteral: public MaterializedLiteral {
return BailoutId(first_element_id_.ToInt() + i);
}
+ enum Flags {
+ kNoFlags = 0,
+ kCreateAllocationSiteInfos = 1
+ };
+
protected:
ArrayLiteral(Isolate* isolate,
Handle<FixedArray> constant_elements,
« no previous file with comments | « src/assembler.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698