OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2082 | 2082 |
2083 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2083 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2084 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2084 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2085 | 2085 |
2086 virtual void PrintDataTo(StringStream* stream); | 2086 virtual void PrintDataTo(StringStream* stream); |
2087 | 2087 |
2088 Handle<Object> name() const { return hydrogen()->name(); } | 2088 Handle<Object> name() const { return hydrogen()->name(); } |
2089 bool is_in_object() { return hydrogen()->is_in_object(); } | 2089 bool is_in_object() { return hydrogen()->is_in_object(); } |
2090 int offset() { return hydrogen()->offset(); } | 2090 int offset() { return hydrogen()->offset(); } |
2091 Handle<Map> transition() const { return hydrogen()->transition(); } | 2091 Handle<Map> transition() const { return hydrogen()->transition(); } |
| 2092 Representation representation() const { |
| 2093 return hydrogen()->field_representation(); |
| 2094 } |
2092 }; | 2095 }; |
2093 | 2096 |
2094 | 2097 |
2095 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 2098 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { |
2096 public: | 2099 public: |
2097 LStoreNamedGeneric(LOperand* object, LOperand* value) { | 2100 LStoreNamedGeneric(LOperand* object, LOperand* value) { |
2098 inputs_[0] = object; | 2101 inputs_[0] = object; |
2099 inputs_[1] = value; | 2102 inputs_[1] = value; |
2100 } | 2103 } |
2101 | 2104 |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2791 | 2794 |
2792 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2793 }; | 2796 }; |
2794 | 2797 |
2795 #undef DECLARE_HYDROGEN_ACCESSOR | 2798 #undef DECLARE_HYDROGEN_ACCESSOR |
2796 #undef DECLARE_CONCRETE_INSTRUCTION | 2799 #undef DECLARE_CONCRETE_INSTRUCTION |
2797 | 2800 |
2798 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
2799 | 2802 |
2800 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2803 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |