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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 } | 404 } |
405 int gap_instructions_size() { return gap_instructions_size_; } | 405 int gap_instructions_size() { return gap_instructions_size_; } |
406 | 406 |
407 private: | 407 private: |
408 int gap_instructions_size_; | 408 int gap_instructions_size_; |
409 }; | 409 }; |
410 | 410 |
411 | 411 |
412 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 412 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
413 public: | 413 public: |
414 explicit LDummy() { } | 414 LDummy() {} |
415 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 415 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
416 }; | 416 }; |
417 | 417 |
418 | 418 |
419 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 419 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
420 public: | 420 public: |
421 explicit LDummyUse(LOperand* value) { | 421 explicit LDummyUse(LOperand* value) { |
422 inputs_[0] = value; | 422 inputs_[0] = value; |
423 } | 423 } |
424 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 424 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
(...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2853 | 2853 |
2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2855 }; | 2855 }; |
2856 | 2856 |
2857 #undef DECLARE_HYDROGEN_ACCESSOR | 2857 #undef DECLARE_HYDROGEN_ACCESSOR |
2858 #undef DECLARE_CONCRETE_INSTRUCTION | 2858 #undef DECLARE_CONCRETE_INSTRUCTION |
2859 | 2859 |
2860 } } // namespace v8::internal | 2860 } } // namespace v8::internal |
2861 | 2861 |
2862 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2862 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |