| 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) \ |
| 122 V(LoadRoot) \ |
| 123 V(LoadFieldByIndex) \ | 123 V(LoadFieldByIndex) \ |
| 124 V(LoadFunctionPrototype) \ | 124 V(LoadFunctionPrototype) \ |
| 125 V(LoadGlobalCell) \ | 125 V(LoadGlobalCell) \ |
| 126 V(LoadGlobalGeneric) \ | 126 V(LoadGlobalGeneric) \ |
| 127 V(LoadKeyed) \ | 127 V(LoadKeyed) \ |
| 128 V(LoadKeyedGeneric) \ | 128 V(LoadKeyedGeneric) \ |
| 129 V(LoadNamedField) \ | 129 V(LoadNamedField) \ |
| 130 V(LoadNamedGeneric) \ | 130 V(LoadNamedGeneric) \ |
| 131 V(MapEnumLength) \ | 131 V(MapEnumLength) \ |
| 132 V(MathAbs) \ | 132 V(MathAbs) \ |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 LOperand* value() { return inputs_[0]; } | 932 LOperand* value() { return inputs_[0]; } |
| 933 LOperand* temp() { return temps_[0]; } | 933 LOperand* temp() { return temps_[0]; } |
| 934 | 934 |
| 935 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 935 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
| 936 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | 936 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) |
| 937 | 937 |
| 938 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 938 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 939 }; | 939 }; |
| 940 | 940 |
| 941 | 941 |
| 942 class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> { | |
| 943 public: | |
| 944 explicit LIsNumberAndBranch(LOperand* value) { | |
| 945 inputs_[0] = value; | |
| 946 } | |
| 947 | |
| 948 LOperand* value() { return inputs_[0]; } | |
| 949 | |
| 950 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
| 951 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
| 952 }; | |
| 953 | |
| 954 | |
| 955 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { | 942 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 956 public: | 943 public: |
| 957 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 944 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 958 inputs_[0] = value; | 945 inputs_[0] = value; |
| 959 temps_[0] = temp; | 946 temps_[0] = temp; |
| 960 } | 947 } |
| 961 | 948 |
| 962 LOperand* value() { return inputs_[0]; } | 949 LOperand* value() { return inputs_[0]; } |
| 963 LOperand* temp() { return temps_[0]; } | 950 LOperand* temp() { return temps_[0]; } |
| 964 | 951 |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 inputs_[0] = value; | 1298 inputs_[0] = value; |
| 1312 temps_[0] = temp; | 1299 temps_[0] = temp; |
| 1313 } | 1300 } |
| 1314 | 1301 |
| 1315 LOperand* value() { return inputs_[0]; } | 1302 LOperand* value() { return inputs_[0]; } |
| 1316 LOperand* temp() { return temps_[0]; } | 1303 LOperand* temp() { return temps_[0]; } |
| 1317 | 1304 |
| 1318 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1305 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
| 1319 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1306 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
| 1320 | 1307 |
| 1321 Handle<Map> map() const { return hydrogen()->map(); } | 1308 Handle<Map> map() const { return hydrogen()->map().handle(); } |
| 1322 }; | 1309 }; |
| 1323 | 1310 |
| 1324 | 1311 |
| 1325 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1312 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1326 public: | 1313 public: |
| 1327 explicit LMapEnumLength(LOperand* value) { | 1314 explicit LMapEnumLength(LOperand* value) { |
| 1328 inputs_[0] = value; | 1315 inputs_[0] = value; |
| 1329 } | 1316 } |
| 1330 | 1317 |
| 1331 LOperand* value() { return inputs_[0]; } | 1318 LOperand* value() { return inputs_[0]; } |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1586 inputs_[0] = function; | 1573 inputs_[0] = function; |
| 1587 } | 1574 } |
| 1588 | 1575 |
| 1589 LOperand* function() { return inputs_[0]; } | 1576 LOperand* function() { return inputs_[0]; } |
| 1590 | 1577 |
| 1591 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") | 1578 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
| 1592 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) | 1579 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) |
| 1593 }; | 1580 }; |
| 1594 | 1581 |
| 1595 | 1582 |
| 1583 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1584 public: |
| 1585 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
| 1586 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
| 1587 |
| 1588 Heap::RootListIndex index() const { return hydrogen()->index(); } |
| 1589 }; |
| 1590 |
| 1591 |
| 1596 class LLoadExternalArrayPointer V8_FINAL | 1592 class LLoadExternalArrayPointer V8_FINAL |
| 1597 : public LTemplateInstruction<1, 1, 0> { | 1593 : public LTemplateInstruction<1, 1, 0> { |
| 1598 public: | 1594 public: |
| 1599 explicit LLoadExternalArrayPointer(LOperand* object) { | 1595 explicit LLoadExternalArrayPointer(LOperand* object) { |
| 1600 inputs_[0] = object; | 1596 inputs_[0] = object; |
| 1601 } | 1597 } |
| 1602 | 1598 |
| 1603 LOperand* object() { return inputs_[0]; } | 1599 LOperand* object() { return inputs_[0]; } |
| 1604 | 1600 |
| 1605 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | 1601 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2796 | 2792 |
| 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2798 }; | 2794 }; |
| 2799 | 2795 |
| 2800 #undef DECLARE_HYDROGEN_ACCESSOR | 2796 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2801 #undef DECLARE_CONCRETE_INSTRUCTION | 2797 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2802 | 2798 |
| 2803 } } // namespace v8::internal | 2799 } } // namespace v8::internal |
| 2804 | 2800 |
| 2805 #endif // V8_ARM_LITHIUM_ARM_H_ | 2801 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |