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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 public: | 545 public: |
546 LWrapReceiver(LOperand* receiver, LOperand* function) { | 546 LWrapReceiver(LOperand* receiver, LOperand* function) { |
547 inputs_[0] = receiver; | 547 inputs_[0] = receiver; |
548 inputs_[1] = function; | 548 inputs_[1] = function; |
549 } | 549 } |
550 | 550 |
551 LOperand* receiver() { return inputs_[0]; } | 551 LOperand* receiver() { return inputs_[0]; } |
552 LOperand* function() { return inputs_[1]; } | 552 LOperand* function() { return inputs_[1]; } |
553 | 553 |
554 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") | 554 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") |
| 555 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver) |
555 }; | 556 }; |
556 | 557 |
557 | 558 |
558 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { | 559 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { |
559 public: | 560 public: |
560 LApplyArguments(LOperand* function, | 561 LApplyArguments(LOperand* function, |
561 LOperand* receiver, | 562 LOperand* receiver, |
562 LOperand* length, | 563 LOperand* length, |
563 LOperand* elements) { | 564 LOperand* elements) { |
564 inputs_[0] = function; | 565 inputs_[0] = function; |
(...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 | 2651 |
2651 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2652 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2652 }; | 2653 }; |
2653 | 2654 |
2654 #undef DECLARE_HYDROGEN_ACCESSOR | 2655 #undef DECLARE_HYDROGEN_ACCESSOR |
2655 #undef DECLARE_CONCRETE_INSTRUCTION | 2656 #undef DECLARE_CONCRETE_INSTRUCTION |
2656 | 2657 |
2657 } } // namespace v8::int | 2658 } } // namespace v8::int |
2658 | 2659 |
2659 #endif // V8_X64_LITHIUM_X64_H_ | 2660 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |