OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 | 541 |
542 | 542 |
543 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 543 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
544 public: | 544 public: |
545 LWrapReceiver(LOperand* receiver, LOperand* function) { | 545 LWrapReceiver(LOperand* receiver, LOperand* function) { |
546 inputs_[0] = receiver; | 546 inputs_[0] = receiver; |
547 inputs_[1] = function; | 547 inputs_[1] = function; |
548 } | 548 } |
549 | 549 |
550 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") | 550 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") |
| 551 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver) |
551 | 552 |
552 LOperand* receiver() { return inputs_[0]; } | 553 LOperand* receiver() { return inputs_[0]; } |
553 LOperand* function() { return inputs_[1]; } | 554 LOperand* function() { return inputs_[1]; } |
554 }; | 555 }; |
555 | 556 |
556 | 557 |
557 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { | 558 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { |
558 public: | 559 public: |
559 LApplyArguments(LOperand* function, | 560 LApplyArguments(LOperand* function, |
560 LOperand* receiver, | 561 LOperand* receiver, |
(...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2695 | 2696 |
2696 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2697 }; | 2698 }; |
2698 | 2699 |
2699 #undef DECLARE_HYDROGEN_ACCESSOR | 2700 #undef DECLARE_HYDROGEN_ACCESSOR |
2700 #undef DECLARE_CONCRETE_INSTRUCTION | 2701 #undef DECLARE_CONCRETE_INSTRUCTION |
2701 | 2702 |
2702 } } // namespace v8::internal | 2703 } } // namespace v8::internal |
2703 | 2704 |
2704 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2705 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |