Index: src/arm/lithium-arm.h |
=================================================================== |
--- src/arm/lithium-arm.h (revision 6255) |
+++ src/arm/lithium-arm.h (working copy) |
@@ -1243,20 +1243,14 @@ |
class LLoadKeyedFastElement: public LBinaryOperation { |
public: |
LLoadKeyedFastElement(LOperand* elements, |
- LOperand* key, |
- LOperand* load_result) |
- : LBinaryOperation(elements, key), |
- load_result_(load_result) { } |
+ LOperand* key) |
Kevin Millikin (Chromium)
2011/01/11 11:31:56
The line break between the arguments is no longer
fschneider
2011/01/11 11:41:49
Done.
|
+ : LBinaryOperation(elements, key) { } |
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") |
DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) |
LOperand* elements() const { return left(); } |
LOperand* key() const { return right(); } |
- LOperand* load_result() const { return load_result_; } |
- |
- private: |
- LOperand* load_result_; |
}; |
@@ -1492,63 +1486,46 @@ |
class LStoreNamed: public LInstruction { |
public: |
- LStoreNamed(LOperand* obj, Handle<Object> name, LOperand* val) |
- : object_(obj), name_(name), value_(val) { } |
+ LStoreNamed(LOperand* obj, LOperand* val) |
+ : object_(obj), value_(val) { } |
DECLARE_INSTRUCTION(StoreNamed) |
+ DECLARE_HYDROGEN_ACCESSOR(StoreNamed) |
virtual void PrintDataTo(StringStream* stream) const; |
LOperand* object() const { return object_; } |
- Handle<Object> name() const { return name_; } |
+ Handle<Object> name() const { return hydrogen()->name(); } |
LOperand* value() const { return value_; } |
private: |
LOperand* object_; |
- Handle<Object> name_; |
LOperand* value_; |
}; |
class LStoreNamedField: public LStoreNamed { |
public: |
- LStoreNamedField(LOperand* obj, |
- Handle<Object> name, |
- LOperand* val, |
- bool in_object, |
- int offset, |
- bool needs_write_barrier, |
- Handle<Map> transition) |
- : LStoreNamed(obj, name, val), |
- is_in_object_(in_object), |
- offset_(offset), |
- needs_write_barrier_(needs_write_barrier), |
- transition_(transition) { } |
+ LStoreNamedField(LOperand* obj, LOperand* val) |
+ : LStoreNamed(obj, val) { } |
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
+ DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
- bool is_in_object() { return is_in_object_; } |
- int offset() { return offset_; } |
- bool needs_write_barrier() { return needs_write_barrier_; } |
- Handle<Map> transition() const { return transition_; } |
- void set_transition(Handle<Map> map) { transition_ = map; } |
- |
- private: |
- bool is_in_object_; |
- int offset_; |
- bool needs_write_barrier_; |
- Handle<Map> transition_; |
+ bool is_in_object() { return hydrogen()->is_in_object(); } |
+ int offset() { return hydrogen()->offset(); } |
+ bool needs_write_barrier() { return hydrogen()->NeedsWriteBarrier(); } |
+ Handle<Map> transition() { return hydrogen()->transition(); } |
}; |
class LStoreNamedGeneric: public LStoreNamed { |
public: |
- LStoreNamedGeneric(LOperand* obj, |
- Handle<Object> name, |
- LOperand* val) |
- : LStoreNamed(obj, name, val) { } |
+ LStoreNamedGeneric(LOperand* obj, LOperand* val) |
+ : LStoreNamed(obj, val) { } |
DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
+ DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
}; |