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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 } | 403 } |
404 int gap_instructions_size() { return gap_instructions_size_; } | 404 int gap_instructions_size() { return gap_instructions_size_; } |
405 | 405 |
406 private: | 406 private: |
407 int gap_instructions_size_; | 407 int gap_instructions_size_; |
408 }; | 408 }; |
409 | 409 |
410 | 410 |
411 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 411 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
412 public: | 412 public: |
413 explicit LDummy() { } | 413 LDummy() {} |
414 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 414 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
415 }; | 415 }; |
416 | 416 |
417 | 417 |
418 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 418 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
419 public: | 419 public: |
420 explicit LDummyUse(LOperand* value) { | 420 explicit LDummyUse(LOperand* value) { |
421 inputs_[0] = value; | 421 inputs_[0] = value; |
422 } | 422 } |
423 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 423 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
(...skipping 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2839 | 2839 |
2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2841 }; | 2841 }; |
2842 | 2842 |
2843 #undef DECLARE_HYDROGEN_ACCESSOR | 2843 #undef DECLARE_HYDROGEN_ACCESSOR |
2844 #undef DECLARE_CONCRETE_INSTRUCTION | 2844 #undef DECLARE_CONCRETE_INSTRUCTION |
2845 | 2845 |
2846 } } // namespace v8::internal | 2846 } } // namespace v8::internal |
2847 | 2847 |
2848 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2848 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |