Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 032d17e5c41422b01770bc6f02f558ec34a1b775..3f611c22e010c745e02c8670960b5055c862d6b3 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1489,13 +1489,15 @@ class LReturn: public LTemplateInstruction<0, 3, 0> { |
}; |
-class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { |
+class LLoadNamedField: public LTemplateInstruction<1, 1, 1> { |
public: |
- explicit LLoadNamedField(LOperand* object) { |
+ explicit LLoadNamedField(LOperand* object, LOperand* temp) { |
inputs_[0] = object; |
+ temps_[0] = temp; |
} |
LOperand* object() { return inputs_[0]; } |
+ LOperand* temp() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") |
DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) |
@@ -2207,6 +2209,9 @@ class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { |
bool is_in_object() { return hydrogen()->is_in_object(); } |
int offset() { return hydrogen()->offset(); } |
Handle<Map> transition() const { return hydrogen()->transition(); } |
+ Representation representation() const { |
+ return hydrogen()->field_representation(); |
+ } |
}; |