Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index bc76cdd3de0aaee8cc1f76cfc54e15760bbde40b..64f17baa6b79bb215b81bfece96cc8176f07985c 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1017,8 +1017,16 @@ class HGraphBuilder { |
KeyedAccessStoreMode store_mode, |
Representation checked_index_representation = Representation::None()); |
- HInstruction* BuildStoreMap(HValue* object, HValue* map); |
- HInstruction* BuildStoreMap(HValue* object, Handle<Map> map); |
+ HStoreNamedField* AddStore(HValue *object, ObjectAccess access, HValue *val); |
+ |
+ ObjectAccess AccessArray(int offset); |
danno
2013/04/26 09:39:38
I think these methods are better suited as static
titzer
2013/04/30 15:56:47
I'm OK with putting the guts of those methods in O
danno
2013/05/02 14:16:47
Tricky/non-trick is an arbitrary judgment call, I
titzer
2013/05/03 09:18:41
I've moved these methods into static constructors
|
+ ObjectAccess AccessArrayLength(); |
+ ObjectAccess AccessElements(); |
+ ObjectAccess AccessFixedArrayLength(); |
+ ObjectAccess AccessMap(); |
+ ObjectAccess AccessField(Handle<Map> map, Handle<String> name, |
danno
2013/04/26 09:39:38
Shouldn't need the name here, the LookupResult has
titzer
2013/04/30 15:56:47
I hunted around inside the LookupResult and couldn
|
+ LookupResult* lookup); |
+ ObjectAccess AccessInobject(Handle<String> name, int offset); |
danno
2013/04/26 09:39:38
Should take a map here. Look up the name in the de
titzer
2013/04/30 15:56:47
We might need another version that takes a map whe
|
class IfBuilder { |
public: |