| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 V(InstanceOf) \ | 106 V(InstanceOf) \ |
| 107 V(InstanceOfKnownGlobal) \ | 107 V(InstanceOfKnownGlobal) \ |
| 108 V(InstanceSize) \ | 108 V(InstanceSize) \ |
| 109 V(InstructionGap) \ | 109 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 110 V(Integer32ToDouble) \ |
| 111 V(Integer32ToSmi) \ | 111 V(Integer32ToSmi) \ |
| 112 V(InvokeFunction) \ | 112 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 114 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 115 V(IsStringAndBranch) \ |
| 116 V(IsNumberAndBranch) \ | |
| 117 V(IsSmiAndBranch) \ | 116 V(IsSmiAndBranch) \ |
| 118 V(IsUndetectableAndBranch) \ | 117 V(IsUndetectableAndBranch) \ |
| 119 V(Label) \ | 118 V(Label) \ |
| 120 V(LazyBailout) \ | 119 V(LazyBailout) \ |
| 121 V(LoadContextSlot) \ | 120 V(LoadContextSlot) \ |
| 122 V(LoadExternalArrayPointer) \ | 121 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFieldByIndex) \ | 122 V(LoadFieldByIndex) \ |
| 124 V(LoadFunctionPrototype) \ | 123 V(LoadFunctionPrototype) \ |
| 125 V(LoadGlobalCell) \ | 124 V(LoadGlobalCell) \ |
| 126 V(LoadGlobalGeneric) \ | 125 V(LoadGlobalGeneric) \ |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 LOperand* value() { return inputs_[0]; } | 928 LOperand* value() { return inputs_[0]; } |
| 930 LOperand* temp() { return temps_[0]; } | 929 LOperand* temp() { return temps_[0]; } |
| 931 | 930 |
| 932 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 931 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
| 933 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | 932 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) |
| 934 | 933 |
| 935 virtual void PrintDataTo(StringStream* stream); | 934 virtual void PrintDataTo(StringStream* stream); |
| 936 }; | 935 }; |
| 937 | 936 |
| 938 | 937 |
| 939 class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> { | |
| 940 public: | |
| 941 explicit LIsNumberAndBranch(LOperand* value) { | |
| 942 inputs_[0] = value; | |
| 943 } | |
| 944 | |
| 945 LOperand* value() { return inputs_[0]; } | |
| 946 | |
| 947 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
| 948 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
| 949 }; | |
| 950 | |
| 951 | |
| 952 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { | 938 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 953 public: | 939 public: |
| 954 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 940 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 955 inputs_[0] = value; | 941 inputs_[0] = value; |
| 956 temps_[0] = temp; | 942 temps_[0] = temp; |
| 957 } | 943 } |
| 958 | 944 |
| 959 LOperand* value() { return inputs_[0]; } | 945 LOperand* value() { return inputs_[0]; } |
| 960 LOperand* temp() { return temps_[0]; } | 946 LOperand* temp() { return temps_[0]; } |
| 961 | 947 |
| (...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2771 | 2757 |
| 2772 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2773 }; | 2759 }; |
| 2774 | 2760 |
| 2775 #undef DECLARE_HYDROGEN_ACCESSOR | 2761 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2776 #undef DECLARE_CONCRETE_INSTRUCTION | 2762 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2777 | 2763 |
| 2778 } } // namespace v8::internal | 2764 } } // namespace v8::internal |
| 2779 | 2765 |
| 2780 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2766 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |