| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 V(MulConstI) \ | 150 V(MulConstI) \ |
| 151 V(MulI) \ | 151 V(MulI) \ |
| 152 V(NumberTagD) \ | 152 V(NumberTagD) \ |
| 153 V(NumberTagU) \ | 153 V(NumberTagU) \ |
| 154 V(NumberUntagD) \ | 154 V(NumberUntagD) \ |
| 155 V(OsrEntry) \ | 155 V(OsrEntry) \ |
| 156 V(OuterContext) \ | 156 V(OuterContext) \ |
| 157 V(Parameter) \ | 157 V(Parameter) \ |
| 158 V(Power) \ | 158 V(Power) \ |
| 159 V(PushArgument) \ | 159 V(PushArgument) \ |
| 160 V(Random) \ |
| 160 V(RegExpLiteral) \ | 161 V(RegExpLiteral) \ |
| 161 V(Return) \ | 162 V(Return) \ |
| 162 V(SeqStringSetChar) \ | 163 V(SeqStringSetChar) \ |
| 163 V(ShiftI) \ | 164 V(ShiftI) \ |
| 164 V(SmiTag) \ | 165 V(SmiTag) \ |
| 165 V(SmiUntag) \ | 166 V(SmiUntag) \ |
| 166 V(StackCheck) \ | 167 V(StackCheck) \ |
| 167 V(StoreContextSlot) \ | 168 V(StoreContextSlot) \ |
| 168 V(StoreGlobalCell) \ | 169 V(StoreGlobalCell) \ |
| 169 V(StoreGlobalGeneric) \ | 170 V(StoreGlobalGeneric) \ |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 | 605 |
| 605 LOperand* size() { return inputs_[0]; } | 606 LOperand* size() { return inputs_[0]; } |
| 606 LOperand* temp1() { return temps_[0]; } | 607 LOperand* temp1() { return temps_[0]; } |
| 607 LOperand* temp2() { return temps_[1]; } | 608 LOperand* temp2() { return temps_[1]; } |
| 608 | 609 |
| 609 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 610 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 610 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 611 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 611 }; | 612 }; |
| 612 | 613 |
| 613 | 614 |
| 615 class LRandom: public LTemplateInstruction<1, 1, 0> { |
| 616 public: |
| 617 explicit LRandom(LOperand* global_object) { |
| 618 inputs_[0] = global_object; |
| 619 } |
| 620 |
| 621 LOperand* global_object() { return inputs_[0]; } |
| 622 |
| 623 DECLARE_CONCRETE_INSTRUCTION(Random, "random") |
| 624 DECLARE_HYDROGEN_ACCESSOR(Random) |
| 625 }; |
| 626 |
| 627 |
| 614 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { | 628 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { |
| 615 public: | 629 public: |
| 616 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 630 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
| 617 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 631 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
| 618 }; | 632 }; |
| 619 | 633 |
| 620 | 634 |
| 621 class LApplyArguments: public LTemplateInstruction<1, 4, 0> { | 635 class LApplyArguments: public LTemplateInstruction<1, 4, 0> { |
| 622 public: | 636 public: |
| 623 LApplyArguments(LOperand* function, | 637 LApplyArguments(LOperand* function, |
| (...skipping 2196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2820 | 2834 |
| 2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2835 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2822 }; | 2836 }; |
| 2823 | 2837 |
| 2824 #undef DECLARE_HYDROGEN_ACCESSOR | 2838 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2825 #undef DECLARE_CONCRETE_INSTRUCTION | 2839 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2826 | 2840 |
| 2827 } } // namespace v8::internal | 2841 } } // namespace v8::internal |
| 2828 | 2842 |
| 2829 #endif // V8_A64_LITHIUM_A64_H_ | 2843 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |