| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 2159 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* value() { return inputs_[2]; } | 2172 LOperand* value() { return inputs_[2]; } |
| 2173 | 2173 |
| 2174 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2174 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
| 2175 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2175 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
| 2176 | 2176 |
| 2177 void PrintDataTo(StringStream* stream) OVERRIDE; | 2177 void PrintDataTo(StringStream* stream) OVERRIDE; |
| 2178 | 2178 |
| 2179 Handle<Object> name() const { return hydrogen()->name(); } | 2179 Handle<Object> name() const { return hydrogen()->name(); } |
| 2180 StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 2180 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 2181 }; | 2181 }; |
| 2182 | 2182 |
| 2183 | 2183 |
| 2184 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { | 2184 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { |
| 2185 public: | 2185 public: |
| 2186 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { | 2186 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
| 2187 inputs_[0] = object; | 2187 inputs_[0] = object; |
| 2188 inputs_[1] = key; | 2188 inputs_[1] = key; |
| 2189 inputs_[2] = value; | 2189 inputs_[2] = value; |
| 2190 } | 2190 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2227 LOperand* context() { return inputs_[0]; } | 2227 LOperand* context() { return inputs_[0]; } |
| 2228 LOperand* object() { return inputs_[1]; } | 2228 LOperand* object() { return inputs_[1]; } |
| 2229 LOperand* key() { return inputs_[2]; } | 2229 LOperand* key() { return inputs_[2]; } |
| 2230 LOperand* value() { return inputs_[3]; } | 2230 LOperand* value() { return inputs_[3]; } |
| 2231 | 2231 |
| 2232 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2232 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
| 2233 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2233 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
| 2234 | 2234 |
| 2235 void PrintDataTo(StringStream* stream) OVERRIDE; | 2235 void PrintDataTo(StringStream* stream) OVERRIDE; |
| 2236 | 2236 |
| 2237 StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 2237 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 2238 }; | 2238 }; |
| 2239 | 2239 |
| 2240 | 2240 |
| 2241 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> { | 2241 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> { |
| 2242 public: | 2242 public: |
| 2243 LTransitionElementsKind(LOperand* object, | 2243 LTransitionElementsKind(LOperand* object, |
| 2244 LOperand* context, | 2244 LOperand* context, |
| 2245 LOperand* new_map_temp) { | 2245 LOperand* new_map_temp) { |
| 2246 inputs_[0] = object; | 2246 inputs_[0] = object; |
| 2247 inputs_[1] = context; | 2247 inputs_[1] = context; |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2827 | 2827 |
| 2828 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2828 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2829 }; | 2829 }; |
| 2830 | 2830 |
| 2831 #undef DECLARE_HYDROGEN_ACCESSOR | 2831 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2832 #undef DECLARE_CONCRETE_INSTRUCTION | 2832 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2833 | 2833 |
| 2834 } } // namespace v8::internal | 2834 } } // namespace v8::internal |
| 2835 | 2835 |
| 2836 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2836 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |