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

Unified Diff: src/hydrogen.h

Issue 14284010: Introduce HObjectAccess, which is used by LoadNamedField and StoreNamedField to denote what parts (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Move all construction of HObjectAccess into static methods, hiding Portion. Created 7 years, 8 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 ab721bd3af19e02e7d45eb44bdb822cea7d118e9..60d042e4a1ae94deb74f223bc06cd0b153e4cd93 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1022,8 +1022,11 @@ class HGraphBuilder {
KeyedAccessStoreMode store_mode,
Representation checked_index_representation = Representation::None());
- HInstruction* BuildStoreMap(HValue* object, HValue* map);
- HInstruction* BuildStoreMap(HValue* object, Handle<Map> map);
+ HLoadNamedField * AddLoad(HValue *object, HObjectAccess* access,
+ HValue *typecheck = NULL);
+ HStoreNamedField* AddStore(HValue *object, HObjectAccess* access,
+ HValue *val, Representation representation = Representation::Tagged());
+ HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
class IfBuilder {
public:

Powered by Google App Engine
This is Rietveld 408576698