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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 } | 412 } |
413 int gap_instructions_size() { return gap_instructions_size_; } | 413 int gap_instructions_size() { return gap_instructions_size_; } |
414 | 414 |
415 private: | 415 private: |
416 int gap_instructions_size_; | 416 int gap_instructions_size_; |
417 }; | 417 }; |
418 | 418 |
419 | 419 |
420 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 420 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
421 public: | 421 public: |
422 explicit LDummy() { } | 422 LDummy() {} |
423 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 423 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
424 }; | 424 }; |
425 | 425 |
426 | 426 |
427 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 427 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
428 public: | 428 public: |
429 explicit LDummyUse(LOperand* value) { | 429 explicit LDummyUse(LOperand* value) { |
430 inputs_[0] = value; | 430 inputs_[0] = value; |
431 } | 431 } |
432 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 432 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
(...skipping 2454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2887 | 2887 |
2888 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2888 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2889 }; | 2889 }; |
2890 | 2890 |
2891 #undef DECLARE_HYDROGEN_ACCESSOR | 2891 #undef DECLARE_HYDROGEN_ACCESSOR |
2892 #undef DECLARE_CONCRETE_INSTRUCTION | 2892 #undef DECLARE_CONCRETE_INSTRUCTION |
2893 | 2893 |
2894 } } // namespace v8::int | 2894 } } // namespace v8::int |
2895 | 2895 |
2896 #endif // V8_X64_LITHIUM_X64_H_ | 2896 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |