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 2110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2121 | 2121 |
2122 LOperand* object() { return inputs_[0]; } | 2122 LOperand* object() { return inputs_[0]; } |
2123 LOperand* value() { return inputs_[1]; } | 2123 LOperand* value() { return inputs_[1]; } |
2124 LOperand* temp() { return temps_[0]; } | 2124 LOperand* temp() { return temps_[0]; } |
2125 | 2125 |
2126 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2126 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2127 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2127 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2128 | 2128 |
2129 virtual void PrintDataTo(StringStream* stream); | 2129 virtual void PrintDataTo(StringStream* stream); |
2130 | 2130 |
2131 Handle<Map> transition() const { return hydrogen()->transition(); } | 2131 Handle<Map> transition() const { return hydrogen()->transition_map(); } |
2132 Representation representation() const { | 2132 Representation representation() const { |
2133 return hydrogen()->field_representation(); | 2133 return hydrogen()->field_representation(); |
2134 } | 2134 } |
2135 }; | 2135 }; |
2136 | 2136 |
2137 | 2137 |
2138 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 2138 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { |
2139 public: | 2139 public: |
2140 LStoreNamedGeneric(LOperand* object, LOperand* value) { | 2140 LStoreNamedGeneric(LOperand* object, LOperand* value) { |
2141 inputs_[0] = object; | 2141 inputs_[0] = object; |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2752 | 2752 |
2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2754 }; | 2754 }; |
2755 | 2755 |
2756 #undef DECLARE_HYDROGEN_ACCESSOR | 2756 #undef DECLARE_HYDROGEN_ACCESSOR |
2757 #undef DECLARE_CONCRETE_INSTRUCTION | 2757 #undef DECLARE_CONCRETE_INSTRUCTION |
2758 | 2758 |
2759 } } // namespace v8::internal | 2759 } } // namespace v8::internal |
2760 | 2760 |
2761 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2761 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |