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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 inputs_[0] = receiver; | 558 inputs_[0] = receiver; |
559 inputs_[1] = function; | 559 inputs_[1] = function; |
560 temps_[0] = temp; | 560 temps_[0] = temp; |
561 } | 561 } |
562 | 562 |
563 LOperand* receiver() { return inputs_[0]; } | 563 LOperand* receiver() { return inputs_[0]; } |
564 LOperand* function() { return inputs_[1]; } | 564 LOperand* function() { return inputs_[1]; } |
565 LOperand* temp() { return temps_[0]; } | 565 LOperand* temp() { return temps_[0]; } |
566 | 566 |
567 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") | 567 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") |
| 568 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver) |
568 }; | 569 }; |
569 | 570 |
570 | 571 |
571 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { | 572 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { |
572 public: | 573 public: |
573 LApplyArguments(LOperand* function, | 574 LApplyArguments(LOperand* function, |
574 LOperand* receiver, | 575 LOperand* receiver, |
575 LOperand* length, | 576 LOperand* length, |
576 LOperand* elements) { | 577 LOperand* elements) { |
577 inputs_[0] = function; | 578 inputs_[0] = function; |
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2740 | 2741 |
2741 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2742 }; | 2743 }; |
2743 | 2744 |
2744 #undef DECLARE_HYDROGEN_ACCESSOR | 2745 #undef DECLARE_HYDROGEN_ACCESSOR |
2745 #undef DECLARE_CONCRETE_INSTRUCTION | 2746 #undef DECLARE_CONCRETE_INSTRUCTION |
2746 | 2747 |
2747 } } // namespace v8::internal | 2748 } } // namespace v8::internal |
2748 | 2749 |
2749 #endif // V8_IA32_LITHIUM_IA32_H_ | 2750 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |