| 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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
| 6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2224 LOperand* context() { return inputs_[0]; } | 2224 LOperand* context() { return inputs_[0]; } |
| 2225 LOperand* object() { return inputs_[1]; } | 2225 LOperand* object() { return inputs_[1]; } |
| 2226 LOperand* value() { return inputs_[2]; } | 2226 LOperand* value() { return inputs_[2]; } |
| 2227 | 2227 |
| 2228 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2228 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
| 2229 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2229 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
| 2230 | 2230 |
| 2231 void PrintDataTo(StringStream* stream) OVERRIDE; | 2231 void PrintDataTo(StringStream* stream) OVERRIDE; |
| 2232 | 2232 |
| 2233 Handle<Object> name() const { return hydrogen()->name(); } | 2233 Handle<Object> name() const { return hydrogen()->name(); } |
| 2234 StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 2234 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 2235 }; | 2235 }; |
| 2236 | 2236 |
| 2237 | 2237 |
| 2238 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { | 2238 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { |
| 2239 public: | 2239 public: |
| 2240 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { | 2240 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
| 2241 inputs_[0] = object; | 2241 inputs_[0] = object; |
| 2242 inputs_[1] = key; | 2242 inputs_[1] = key; |
| 2243 inputs_[2] = value; | 2243 inputs_[2] = value; |
| 2244 } | 2244 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2287 LOperand* context() { return inputs_[0]; } | 2287 LOperand* context() { return inputs_[0]; } |
| 2288 LOperand* object() { return inputs_[1]; } | 2288 LOperand* object() { return inputs_[1]; } |
| 2289 LOperand* key() { return inputs_[2]; } | 2289 LOperand* key() { return inputs_[2]; } |
| 2290 LOperand* value() { return inputs_[3]; } | 2290 LOperand* value() { return inputs_[3]; } |
| 2291 | 2291 |
| 2292 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2292 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
| 2293 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2293 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
| 2294 | 2294 |
| 2295 void PrintDataTo(StringStream* stream) OVERRIDE; | 2295 void PrintDataTo(StringStream* stream) OVERRIDE; |
| 2296 | 2296 |
| 2297 StrictMode strict_mode() { return hydrogen()->strict_mode(); } | 2297 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 2298 }; | 2298 }; |
| 2299 | 2299 |
| 2300 | 2300 |
| 2301 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> { | 2301 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> { |
| 2302 public: | 2302 public: |
| 2303 LTransitionElementsKind(LOperand* object, | 2303 LTransitionElementsKind(LOperand* object, |
| 2304 LOperand* context, | 2304 LOperand* context, |
| 2305 LOperand* new_map_temp) { | 2305 LOperand* new_map_temp) { |
| 2306 inputs_[0] = object; | 2306 inputs_[0] = object; |
| 2307 inputs_[1] = context; | 2307 inputs_[1] = context; |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2886 | 2886 |
| 2887 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2887 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2888 }; | 2888 }; |
| 2889 | 2889 |
| 2890 #undef DECLARE_HYDROGEN_ACCESSOR | 2890 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2891 #undef DECLARE_CONCRETE_INSTRUCTION | 2891 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2892 | 2892 |
| 2893 } } // namespace v8::internal | 2893 } } // namespace v8::internal |
| 2894 | 2894 |
| 2895 #endif // V8_ARM_LITHIUM_ARM_H_ | 2895 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |