| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 } | 463 } |
| 464 | 464 |
| 465 LOperand* context() { return inputs_[0]; } | 465 LOperand* context() { return inputs_[0]; } |
| 466 | 466 |
| 467 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 467 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
| 468 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 468 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
| 469 }; | 469 }; |
| 470 | 470 |
| 471 | 471 |
| 472 class LTailCallThroughMegamorphicCache FINAL | 472 class LTailCallThroughMegamorphicCache FINAL |
| 473 : public LTemplateInstruction<0, 5, 0> { | 473 : public LTemplateInstruction<0, 3, 0> { |
| 474 public: | 474 public: |
| 475 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, | 475 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, |
| 476 LOperand* name, LOperand* slot, | 476 LOperand* name) { |
| 477 LOperand* vector) { | |
| 478 inputs_[0] = context; | 477 inputs_[0] = context; |
| 479 inputs_[1] = receiver; | 478 inputs_[1] = receiver; |
| 480 inputs_[2] = name; | 479 inputs_[2] = name; |
| 481 inputs_[3] = slot; | |
| 482 inputs_[4] = vector; | |
| 483 } | 480 } |
| 484 | 481 |
| 485 LOperand* context() { return inputs_[0]; } | 482 LOperand* context() { return inputs_[0]; } |
| 486 LOperand* receiver() { return inputs_[1]; } | 483 LOperand* receiver() { return inputs_[1]; } |
| 487 LOperand* name() { return inputs_[2]; } | 484 LOperand* name() { return inputs_[2]; } |
| 488 LOperand* slot() { return inputs_[3]; } | |
| 489 LOperand* vector() { return inputs_[4]; } | |
| 490 | 485 |
| 491 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, | 486 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
| 492 "tail-call-through-megamorphic-cache") | 487 "tail-call-through-megamorphic-cache") |
| 493 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) | 488 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
| 494 }; | 489 }; |
| 495 | 490 |
| 496 | 491 |
| 497 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { | 492 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
| 498 public: | 493 public: |
| 499 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } | 494 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
| (...skipping 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2803 | 2798 |
| 2804 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2799 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2805 }; | 2800 }; |
| 2806 | 2801 |
| 2807 #undef DECLARE_HYDROGEN_ACCESSOR | 2802 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2808 #undef DECLARE_CONCRETE_INSTRUCTION | 2803 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2809 | 2804 |
| 2810 } } // namespace v8::internal | 2805 } } // namespace v8::internal |
| 2811 | 2806 |
| 2812 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2807 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |