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

Unified Diff: src/hydrogen.h

Issue 15094018: Create AllocationSite objects, pointed to by AllocationSiteInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some cleanup Created 7 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/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 5cb99a1a8d78d78c38c9a92a205f55af168735e1..9eb29a7b031795c3b9c310f96c5000019b88e1a1 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1344,6 +1344,7 @@ class HGraphBuilder {
HValue* BuildCloneShallowArray(HContext* context,
HValue* boilerplate,
+ HValue* allocation_site,
AllocationSiteMode mode,
ElementsKind kind,
int length);
@@ -1796,12 +1797,14 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
HInstruction* BuildFastLiteral(HValue* context,
Handle<JSObject> boilerplate_object,
Handle<JSObject> original_boilerplate_object,
+ Handle<Object> allocation_site,
int data_size,
int pointer_size,
AllocationSiteMode mode);
- void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object,
- Handle<JSObject> object,
+ void BuildEmitDeepCopy(Handle<JSObject> boilerplate_object,
+ Handle<JSObject> original_boilerplate_object,
+ Handle<Object> allocation_site,
HInstruction* result,
int* offset,
AllocationSiteMode mode);

Powered by Google App Engine
This is Rietveld 408576698