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

Unified Diff: src/hydrogen-instructions.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-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 2b9dbf2bb68f1f92a0ea43e5eaff012478298101..b051b743f9fadecb0f7a036d2f2bb9c15882ced2 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -5258,7 +5258,11 @@ class HObjectAccess {
return HObjectAccess(kMaps, JSObject::kMapOffset);
}
- static HObjectAccess ForAllocationSitePayload() {
+ static HObjectAccess ForPropertyCellValue() {
+ return HObjectAccess(kInobject, JSGlobalPropertyCell::kValueOffset);
+ }
+
+ static HObjectAccess ForAllocationSiteInfoPayload() {
return HObjectAccess(kInobject, AllocationSiteInfo::kPayloadOffset);
}

Powered by Google App Engine
This is Rietveld 408576698