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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 } | 464 } |
465 | 465 |
466 LOperand* context() { return inputs_[0]; } | 466 LOperand* context() { return inputs_[0]; } |
467 | 467 |
468 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 468 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
469 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 469 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
470 }; | 470 }; |
471 | 471 |
472 | 472 |
473 class LTailCallThroughMegamorphicCache FINAL | 473 class LTailCallThroughMegamorphicCache FINAL |
474 : public LTemplateInstruction<0, 5, 0> { | 474 : public LTemplateInstruction<0, 3, 0> { |
475 public: | 475 public: |
476 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, | 476 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, |
477 LOperand* name, LOperand* slot, | 477 LOperand* name) { |
478 LOperand* vector) { | |
479 inputs_[0] = context; | 478 inputs_[0] = context; |
480 inputs_[1] = receiver; | 479 inputs_[1] = receiver; |
481 inputs_[2] = name; | 480 inputs_[2] = name; |
482 inputs_[3] = slot; | |
483 inputs_[4] = vector; | |
484 } | 481 } |
485 | 482 |
486 LOperand* context() { return inputs_[0]; } | 483 LOperand* context() { return inputs_[0]; } |
487 LOperand* receiver() { return inputs_[1]; } | 484 LOperand* receiver() { return inputs_[1]; } |
488 LOperand* name() { return inputs_[2]; } | 485 LOperand* name() { return inputs_[2]; } |
489 LOperand* slot() { return inputs_[3]; } | |
490 LOperand* vector() { return inputs_[4]; } | |
491 | 486 |
492 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, | 487 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
493 "tail-call-through-megamorphic-cache") | 488 "tail-call-through-megamorphic-cache") |
494 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) | 489 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
495 }; | 490 }; |
496 | 491 |
497 | 492 |
498 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { | 493 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
499 public: | 494 public: |
500 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } | 495 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
(...skipping 2319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2820 | 2815 |
2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2816 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2822 }; | 2817 }; |
2823 | 2818 |
2824 #undef DECLARE_HYDROGEN_ACCESSOR | 2819 #undef DECLARE_HYDROGEN_ACCESSOR |
2825 #undef DECLARE_CONCRETE_INSTRUCTION | 2820 #undef DECLARE_CONCRETE_INSTRUCTION |
2826 | 2821 |
2827 } } // namespace v8::internal | 2822 } } // namespace v8::internal |
2828 | 2823 |
2829 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2824 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |