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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 } | 407 } |
408 int gap_instructions_size() { return gap_instructions_size_; } | 408 int gap_instructions_size() { return gap_instructions_size_; } |
409 | 409 |
410 private: | 410 private: |
411 int gap_instructions_size_; | 411 int gap_instructions_size_; |
412 }; | 412 }; |
413 | 413 |
414 | 414 |
415 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 415 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
416 public: | 416 public: |
417 explicit LDummy() { } | 417 LDummy() {} |
418 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 418 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
419 }; | 419 }; |
420 | 420 |
421 | 421 |
422 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 422 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
423 public: | 423 public: |
424 explicit LDummyUse(LOperand* value) { | 424 explicit LDummyUse(LOperand* value) { |
425 inputs_[0] = value; | 425 inputs_[0] = value; |
426 } | 426 } |
427 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 427 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
(...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2897 | 2897 |
2898 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2898 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2899 }; | 2899 }; |
2900 | 2900 |
2901 #undef DECLARE_HYDROGEN_ACCESSOR | 2901 #undef DECLARE_HYDROGEN_ACCESSOR |
2902 #undef DECLARE_CONCRETE_INSTRUCTION | 2902 #undef DECLARE_CONCRETE_INSTRUCTION |
2903 | 2903 |
2904 } } // namespace v8::internal | 2904 } } // namespace v8::internal |
2905 | 2905 |
2906 #endif // V8_ARM_LITHIUM_ARM_H_ | 2906 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |