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_X87_LITHIUM_X87_H_ | 5 #ifndef V8_X87_LITHIUM_X87_H_ |
6 #define V8_X87_LITHIUM_X87_H_ | 6 #define V8_X87_LITHIUM_X87_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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 } | 480 } |
481 | 481 |
482 LOperand* context() { return inputs_[0]; } | 482 LOperand* context() { return inputs_[0]; } |
483 | 483 |
484 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 484 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
485 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 485 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
486 }; | 486 }; |
487 | 487 |
488 | 488 |
489 class LTailCallThroughMegamorphicCache FINAL | 489 class LTailCallThroughMegamorphicCache FINAL |
490 : public LTemplateInstruction<0, 3, 0> { | 490 : public LTemplateInstruction<0, 5, 0> { |
491 public: | 491 public: |
492 explicit LTailCallThroughMegamorphicCache(LOperand* context, | 492 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, |
493 LOperand* receiver, | 493 LOperand* name, LOperand* slot, |
494 LOperand* name) { | 494 LOperand* vector) { |
495 inputs_[0] = context; | 495 inputs_[0] = context; |
496 inputs_[1] = receiver; | 496 inputs_[1] = receiver; |
497 inputs_[2] = name; | 497 inputs_[2] = name; |
| 498 inputs_[3] = slot; |
| 499 inputs_[4] = vector; |
498 } | 500 } |
499 | 501 |
500 LOperand* context() { return inputs_[0]; } | 502 LOperand* context() { return inputs_[0]; } |
501 LOperand* receiver() { return inputs_[1]; } | 503 LOperand* receiver() { return inputs_[1]; } |
502 LOperand* name() { return inputs_[2]; } | 504 LOperand* name() { return inputs_[2]; } |
| 505 LOperand* slot() { return inputs_[3]; } |
| 506 LOperand* vector() { return inputs_[4]; } |
503 | 507 |
504 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, | 508 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
505 "tail-call-through-megamorphic-cache") | 509 "tail-call-through-megamorphic-cache") |
506 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) | 510 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
507 }; | 511 }; |
508 | 512 |
509 | 513 |
510 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { | 514 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
511 public: | 515 public: |
512 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } | 516 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
(...skipping 2367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2880 | 2884 |
2881 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2882 }; | 2886 }; |
2883 | 2887 |
2884 #undef DECLARE_HYDROGEN_ACCESSOR | 2888 #undef DECLARE_HYDROGEN_ACCESSOR |
2885 #undef DECLARE_CONCRETE_INSTRUCTION | 2889 #undef DECLARE_CONCRETE_INSTRUCTION |
2886 | 2890 |
2887 } } // namespace v8::internal | 2891 } } // namespace v8::internal |
2888 | 2892 |
2889 #endif // V8_X87_LITHIUM_X87_H_ | 2893 #endif // V8_X87_LITHIUM_X87_H_ |
OLD | NEW |