OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 V(CheckNonSmi) \ | 68 V(CheckNonSmi) \ |
69 V(CheckPrototypeMaps) \ | 69 V(CheckPrototypeMaps) \ |
70 V(CheckSmi) \ | 70 V(CheckSmi) \ |
71 V(ClampDToUint8) \ | 71 V(ClampDToUint8) \ |
72 V(ClampIToUint8) \ | 72 V(ClampIToUint8) \ |
73 V(ClampTToUint8) \ | 73 V(ClampTToUint8) \ |
74 V(ClassOfTest) \ | 74 V(ClassOfTest) \ |
75 V(ClassOfTestAndBranch) \ | 75 V(ClassOfTestAndBranch) \ |
76 V(CmpID) \ | 76 V(CmpID) \ |
77 V(CmpIDAndBranch) \ | 77 V(CmpIDAndBranch) \ |
78 V(CmpJSObjectEq) \ | 78 V(CmpObjectEq) \ |
79 V(CmpJSObjectEqAndBranch) \ | 79 V(CmpObjectEqAndBranch) \ |
80 V(CmpMapAndBranch) \ | 80 V(CmpMapAndBranch) \ |
81 V(CmpSymbolEq) \ | |
82 V(CmpSymbolEqAndBranch) \ | |
83 V(CmpT) \ | 81 V(CmpT) \ |
84 V(CmpConstantEq) \ | 82 V(CmpConstantEq) \ |
85 V(CmpConstantEqAndBranch) \ | 83 V(CmpConstantEqAndBranch) \ |
86 V(ConstantD) \ | 84 V(ConstantD) \ |
87 V(ConstantI) \ | 85 V(ConstantI) \ |
88 V(ConstantT) \ | 86 V(ConstantT) \ |
89 V(Context) \ | 87 V(Context) \ |
90 V(DeleteProperty) \ | 88 V(DeleteProperty) \ |
91 V(Deoptimize) \ | 89 V(Deoptimize) \ |
92 V(DivI) \ | 90 V(DivI) \ |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 } | 613 } |
616 | 614 |
617 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation") | 615 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation") |
618 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 616 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
619 | 617 |
620 virtual void PrintDataTo(StringStream* stream); | 618 virtual void PrintDataTo(StringStream* stream); |
621 BuiltinFunctionId op() const { return hydrogen()->op(); } | 619 BuiltinFunctionId op() const { return hydrogen()->op(); } |
622 }; | 620 }; |
623 | 621 |
624 | 622 |
625 class LCmpJSObjectEq: public LTemplateInstruction<1, 2, 0> { | 623 class LCmpObjectEq: public LTemplateInstruction<1, 2, 0> { |
626 public: | 624 public: |
627 LCmpJSObjectEq(LOperand* left, LOperand* right) { | 625 LCmpObjectEq(LOperand* left, LOperand* right) { |
628 inputs_[0] = left; | 626 inputs_[0] = left; |
629 inputs_[1] = right; | 627 inputs_[1] = right; |
630 } | 628 } |
631 | 629 |
632 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEq, "cmp-jsobject-eq") | 630 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEq, "cmp-object-eq") |
633 }; | 631 }; |
634 | 632 |
635 | 633 |
636 class LCmpJSObjectEqAndBranch: public LControlInstruction<2, 0> { | 634 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { |
637 public: | 635 public: |
638 LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) { | 636 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |
639 inputs_[0] = left; | 637 inputs_[0] = left; |
640 inputs_[1] = right; | 638 inputs_[1] = right; |
641 } | 639 } |
642 | 640 |
643 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch, | 641 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, |
644 "cmp-jsobject-eq-and-branch") | 642 "cmp-object-eq-and-branch") |
645 }; | |
646 | |
647 | |
648 class LCmpSymbolEq: public LTemplateInstruction<1, 2, 0> { | |
649 public: | |
650 LCmpSymbolEq(LOperand* left, LOperand* right) { | |
651 inputs_[0] = left; | |
652 inputs_[1] = right; | |
653 } | |
654 | |
655 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEq, "cmp-symbol-eq") | |
656 }; | |
657 | |
658 | |
659 class LCmpSymbolEqAndBranch: public LControlInstruction<2, 0> { | |
660 public: | |
661 LCmpSymbolEqAndBranch(LOperand* left, LOperand* right) { | |
662 inputs_[0] = left; | |
663 inputs_[1] = right; | |
664 } | |
665 | |
666 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEqAndBranch, "cmp-symbol-eq-and-branch") | |
667 }; | 643 }; |
668 | 644 |
669 | 645 |
670 class LCmpConstantEq: public LTemplateInstruction<1, 1, 0> { | 646 class LCmpConstantEq: public LTemplateInstruction<1, 1, 0> { |
671 public: | 647 public: |
672 explicit LCmpConstantEq(LOperand* left) { | 648 explicit LCmpConstantEq(LOperand* left) { |
673 inputs_[0] = left; | 649 inputs_[0] = left; |
674 } | 650 } |
675 | 651 |
676 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEq, "cmp-constant-eq") | 652 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEq, "cmp-constant-eq") |
(...skipping 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2371 | 2347 |
2372 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2348 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2373 }; | 2349 }; |
2374 | 2350 |
2375 #undef DECLARE_HYDROGEN_ACCESSOR | 2351 #undef DECLARE_HYDROGEN_ACCESSOR |
2376 #undef DECLARE_CONCRETE_INSTRUCTION | 2352 #undef DECLARE_CONCRETE_INSTRUCTION |
2377 | 2353 |
2378 } } // namespace v8::internal | 2354 } } // namespace v8::internal |
2379 | 2355 |
2380 #endif // V8_IA32_LITHIUM_IA32_H_ | 2356 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |