| 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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2107 LOperand* context() { return inputs_[0]; } | 2107 LOperand* context() { return inputs_[0]; } |
| 2108 LOperand* object() { return inputs_[1]; } | 2108 LOperand* object() { return inputs_[1]; } |
| 2109 LOperand* value() { return inputs_[2]; } | 2109 LOperand* value() { return inputs_[2]; } |
| 2110 | 2110 |
| 2111 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2111 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
| 2112 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2112 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
| 2113 | 2113 |
| 2114 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2114 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2115 | 2115 |
| 2116 Handle<Object> name() const { return hydrogen()->name(); } | 2116 Handle<Object> name() const { return hydrogen()->name(); } |
| 2117 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2117 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
| 2118 }; | 2118 }; |
| 2119 | 2119 |
| 2120 | 2120 |
| 2121 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { | 2121 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { |
| 2122 public: | 2122 public: |
| 2123 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { | 2123 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
| 2124 inputs_[0] = object; | 2124 inputs_[0] = object; |
| 2125 inputs_[1] = key; | 2125 inputs_[1] = key; |
| 2126 inputs_[2] = value; | 2126 inputs_[2] = value; |
| 2127 } | 2127 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2170 LOperand* context() { return inputs_[0]; } | 2170 LOperand* context() { return inputs_[0]; } |
| 2171 LOperand* object() { return inputs_[1]; } | 2171 LOperand* object() { return inputs_[1]; } |
| 2172 LOperand* key() { return inputs_[2]; } | 2172 LOperand* key() { return inputs_[2]; } |
| 2173 LOperand* value() { return inputs_[3]; } | 2173 LOperand* value() { return inputs_[3]; } |
| 2174 | 2174 |
| 2175 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2175 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
| 2176 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2176 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
| 2177 | 2177 |
| 2178 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2178 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2179 | 2179 |
| 2180 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2180 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
| 2181 }; | 2181 }; |
| 2182 | 2182 |
| 2183 | 2183 |
| 2184 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { | 2184 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { |
| 2185 public: | 2185 public: |
| 2186 LTransitionElementsKind(LOperand* object, | 2186 LTransitionElementsKind(LOperand* object, |
| 2187 LOperand* context, | 2187 LOperand* context, |
| 2188 LOperand* new_map_temp) { | 2188 LOperand* new_map_temp) { |
| 2189 inputs_[0] = object; | 2189 inputs_[0] = object; |
| 2190 inputs_[1] = context; | 2190 inputs_[1] = context; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2735 | 2735 |
| 2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2737 }; | 2737 }; |
| 2738 | 2738 |
| 2739 #undef DECLARE_HYDROGEN_ACCESSOR | 2739 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2740 #undef DECLARE_CONCRETE_INSTRUCTION | 2740 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2741 | 2741 |
| 2742 } } // namespace v8::internal | 2742 } } // namespace v8::internal |
| 2743 | 2743 |
| 2744 #endif // V8_ARM_LITHIUM_ARM_H_ | 2744 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |