| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 V(CheckInstanceType) \ | 74 V(CheckInstanceType) \ |
| 75 V(CheckNonSmi) \ | 75 V(CheckNonSmi) \ |
| 76 V(CheckMaps) \ | 76 V(CheckMaps) \ |
| 77 V(CheckPrototypeMaps) \ | 77 V(CheckPrototypeMaps) \ |
| 78 V(CheckSmi) \ | 78 V(CheckSmi) \ |
| 79 V(ClampDToUint8) \ | 79 V(ClampDToUint8) \ |
| 80 V(ClampIToUint8) \ | 80 V(ClampIToUint8) \ |
| 81 V(ClampTToUint8) \ | 81 V(ClampTToUint8) \ |
| 82 V(ClassOfTestAndBranch) \ | 82 V(ClassOfTestAndBranch) \ |
| 83 V(CmpConstantEqAndBranch) \ | 83 V(CmpConstantEqAndBranch) \ |
| 84 V(CmpIDAndBranch) \ | 84 V(CompareNumericAndBranch) \ |
| 85 V(CmpObjectEqAndBranch) \ | 85 V(CmpObjectEqAndBranch) \ |
| 86 V(CmpMapAndBranch) \ | 86 V(CmpMapAndBranch) \ |
| 87 V(CmpT) \ | 87 V(CmpT) \ |
| 88 V(ConstantD) \ | 88 V(ConstantD) \ |
| 89 V(ConstantI) \ | 89 V(ConstantI) \ |
| 90 V(ConstantS) \ | 90 V(ConstantS) \ |
| 91 V(ConstantT) \ | 91 V(ConstantT) \ |
| 92 V(Context) \ | 92 V(Context) \ |
| 93 V(DebugBreak) \ | 93 V(DebugBreak) \ |
| 94 V(DeclareGlobals) \ | 94 V(DeclareGlobals) \ |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d") | 713 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d") |
| 714 }; | 714 }; |
| 715 | 715 |
| 716 | 716 |
| 717 class LDebugBreak: public LTemplateInstruction<0, 0, 0> { | 717 class LDebugBreak: public LTemplateInstruction<0, 0, 0> { |
| 718 public: | 718 public: |
| 719 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break") | 719 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break") |
| 720 }; | 720 }; |
| 721 | 721 |
| 722 | 722 |
| 723 class LCmpIDAndBranch: public LControlInstruction<2, 0> { | 723 class LCompareNumericAndBranch: public LControlInstruction<2, 0> { |
| 724 public: | 724 public: |
| 725 LCmpIDAndBranch(LOperand* left, LOperand* right) { | 725 LCompareNumericAndBranch(LOperand* left, LOperand* right) { |
| 726 inputs_[0] = left; | 726 inputs_[0] = left; |
| 727 inputs_[1] = right; | 727 inputs_[1] = right; |
| 728 } | 728 } |
| 729 | 729 |
| 730 LOperand* left() { return inputs_[0]; } | 730 LOperand* left() { return inputs_[0]; } |
| 731 LOperand* right() { return inputs_[1]; } | 731 LOperand* right() { return inputs_[1]; } |
| 732 | 732 |
| 733 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 733 DECLARE_CONCRETE_INSTRUCTION(CompareNumericAndBranch, |
| 734 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 734 "compare-numeric-and-branch") |
| 735 DECLARE_HYDROGEN_ACCESSOR(CompareNumericAndBranch) |
| 735 | 736 |
| 736 Token::Value op() const { return hydrogen()->token(); } | 737 Token::Value op() const { return hydrogen()->token(); } |
| 737 bool is_double() const { | 738 bool is_double() const { |
| 738 return hydrogen()->representation().IsDouble(); | 739 return hydrogen()->representation().IsDouble(); |
| 739 } | 740 } |
| 740 | 741 |
| 741 virtual void PrintDataTo(StringStream* stream); | 742 virtual void PrintDataTo(StringStream* stream); |
| 742 }; | 743 }; |
| 743 | 744 |
| 744 | 745 |
| (...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2852 | 2853 |
| 2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2854 }; | 2855 }; |
| 2855 | 2856 |
| 2856 #undef DECLARE_HYDROGEN_ACCESSOR | 2857 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2857 #undef DECLARE_CONCRETE_INSTRUCTION | 2858 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2858 | 2859 |
| 2859 } } // namespace v8::internal | 2860 } } // namespace v8::internal |
| 2860 | 2861 |
| 2861 #endif // V8_ARM_LITHIUM_ARM_H_ | 2862 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |