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 "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 2357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2368 | 2368 |
2369 LOperand* value() { return inputs_[0]; } | 2369 LOperand* value() { return inputs_[0]; } |
2370 | 2370 |
2371 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2371 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
2372 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2372 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
2373 }; | 2373 }; |
2374 | 2374 |
2375 | 2375 |
2376 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2376 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2377 public: | 2377 public: |
2378 explicit LCheckMaps(LOperand* value) { | 2378 explicit LCheckMaps(LOperand* value = NULL) { |
2379 inputs_[0] = value; | 2379 inputs_[0] = value; |
2380 } | 2380 } |
2381 | 2381 |
2382 LOperand* value() { return inputs_[0]; } | 2382 LOperand* value() { return inputs_[0]; } |
2383 | 2383 |
2384 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2384 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2385 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2385 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2386 }; | 2386 }; |
2387 | 2387 |
2388 | 2388 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2840 | 2840 |
2841 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2841 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2842 }; | 2842 }; |
2843 | 2843 |
2844 #undef DECLARE_HYDROGEN_ACCESSOR | 2844 #undef DECLARE_HYDROGEN_ACCESSOR |
2845 #undef DECLARE_CONCRETE_INSTRUCTION | 2845 #undef DECLARE_CONCRETE_INSTRUCTION |
2846 | 2846 |
2847 } } // namespace v8::internal | 2847 } } // namespace v8::internal |
2848 | 2848 |
2849 #endif // V8_ARM_LITHIUM_ARM_H_ | 2849 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |