| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 V(GlobalObject) \ | 101 V(GlobalObject) \ |
| 102 V(GlobalReceiver) \ | 102 V(GlobalReceiver) \ |
| 103 V(Goto) \ | 103 V(Goto) \ |
| 104 V(HasCachedArrayIndexAndBranch) \ | 104 V(HasCachedArrayIndexAndBranch) \ |
| 105 V(HasInstanceTypeAndBranch) \ | 105 V(HasInstanceTypeAndBranch) \ |
| 106 V(In) \ | 106 V(In) \ |
| 107 V(InstanceOf) \ | 107 V(InstanceOf) \ |
| 108 V(InstanceOfKnownGlobal) \ | 108 V(InstanceOfKnownGlobal) \ |
| 109 V(InstructionGap) \ | 109 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 110 V(Integer32ToDouble) \ |
| 111 V(Uint32ToDouble) \ |
| 111 V(InvokeFunction) \ | 112 V(InvokeFunction) \ |
| 112 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
| 113 V(IsNilAndBranch) \ | 114 V(IsNilAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 115 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 116 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 117 V(IsSmiAndBranch) \ |
| 117 V(IsUndetectableAndBranch) \ | 118 V(IsUndetectableAndBranch) \ |
| 118 V(JSArrayLength) \ | 119 V(JSArrayLength) \ |
| 119 V(Label) \ | 120 V(Label) \ |
| 120 V(LazyBailout) \ | 121 V(LazyBailout) \ |
| 121 V(LoadContextSlot) \ | 122 V(LoadContextSlot) \ |
| 122 V(LoadElements) \ | 123 V(LoadElements) \ |
| 123 V(LoadExternalArrayPointer) \ | 124 V(LoadExternalArrayPointer) \ |
| 124 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
| 125 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
| 126 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
| 127 V(LoadKeyedFastDoubleElement) \ | 128 V(LoadKeyedFastDoubleElement) \ |
| 128 V(LoadKeyedFastElement) \ | 129 V(LoadKeyedFastElement) \ |
| 129 V(LoadKeyedGeneric) \ | 130 V(LoadKeyedGeneric) \ |
| 130 V(LoadKeyedSpecializedArrayElement) \ | 131 V(LoadKeyedSpecializedArrayElement) \ |
| 131 V(LoadNamedField) \ | 132 V(LoadNamedField) \ |
| 132 V(LoadNamedFieldPolymorphic) \ | 133 V(LoadNamedFieldPolymorphic) \ |
| 133 V(LoadNamedGeneric) \ | 134 V(LoadNamedGeneric) \ |
| 134 V(MathFloorOfDiv) \ | 135 V(MathFloorOfDiv) \ |
| 135 V(MathMinMax) \ | 136 V(MathMinMax) \ |
| 136 V(ModI) \ | 137 V(ModI) \ |
| 137 V(MulI) \ | 138 V(MulI) \ |
| 138 V(NumberTagD) \ | 139 V(NumberTagD) \ |
| 139 V(NumberTagI) \ | 140 V(NumberTagI) \ |
| 141 V(NumberTagU) \ |
| 140 V(NumberUntagD) \ | 142 V(NumberUntagD) \ |
| 141 V(ObjectLiteral) \ | 143 V(ObjectLiteral) \ |
| 142 V(OsrEntry) \ | 144 V(OsrEntry) \ |
| 143 V(OuterContext) \ | 145 V(OuterContext) \ |
| 144 V(Parameter) \ | 146 V(Parameter) \ |
| 145 V(Power) \ | 147 V(Power) \ |
| 146 V(PushArgument) \ | 148 V(PushArgument) \ |
| 147 V(Random) \ | 149 V(Random) \ |
| 148 V(RegExpLiteral) \ | 150 V(RegExpLiteral) \ |
| 149 V(Return) \ | 151 V(Return) \ |
| (...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { | 1576 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { |
| 1575 public: | 1577 public: |
| 1576 explicit LInteger32ToDouble(LOperand* value) { | 1578 explicit LInteger32ToDouble(LOperand* value) { |
| 1577 inputs_[0] = value; | 1579 inputs_[0] = value; |
| 1578 } | 1580 } |
| 1579 | 1581 |
| 1580 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") | 1582 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") |
| 1581 }; | 1583 }; |
| 1582 | 1584 |
| 1583 | 1585 |
| 1586 class LUint32ToDouble: public LTemplateInstruction<1, 1, 1> { |
| 1587 public: |
| 1588 explicit LUint32ToDouble(LOperand* value, LOperand* temp) { |
| 1589 inputs_[0] = value; |
| 1590 temps_[0] = temp; |
| 1591 } |
| 1592 |
| 1593 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") |
| 1594 }; |
| 1595 |
| 1596 |
| 1584 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { | 1597 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { |
| 1585 public: | 1598 public: |
| 1586 explicit LNumberTagI(LOperand* value) { | 1599 explicit LNumberTagI(LOperand* value) { |
| 1587 inputs_[0] = value; | 1600 inputs_[0] = value; |
| 1588 } | 1601 } |
| 1589 | 1602 |
| 1590 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 1603 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
| 1591 }; | 1604 }; |
| 1592 | 1605 |
| 1593 | 1606 |
| 1607 class LNumberTagU: public LTemplateInstruction<1, 1, 1> { |
| 1608 public: |
| 1609 explicit LNumberTagU(LOperand* value, LOperand* temp) { |
| 1610 inputs_[0] = value; |
| 1611 temps_[0] = temp; |
| 1612 } |
| 1613 |
| 1614 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
| 1615 }; |
| 1616 |
| 1617 |
| 1594 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { | 1618 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { |
| 1595 public: | 1619 public: |
| 1596 explicit LNumberTagD(LOperand* value, LOperand* temp) { | 1620 explicit LNumberTagD(LOperand* value, LOperand* temp) { |
| 1597 inputs_[0] = value; | 1621 inputs_[0] = value; |
| 1598 temps_[0] = temp; | 1622 temps_[0] = temp; |
| 1599 } | 1623 } |
| 1600 | 1624 |
| 1601 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") | 1625 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") |
| 1602 }; | 1626 }; |
| 1603 | 1627 |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2358 | 2382 |
| 2359 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2383 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2360 }; | 2384 }; |
| 2361 | 2385 |
| 2362 #undef DECLARE_HYDROGEN_ACCESSOR | 2386 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2363 #undef DECLARE_CONCRETE_INSTRUCTION | 2387 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2364 | 2388 |
| 2365 } } // namespace v8::int | 2389 } } // namespace v8::int |
| 2366 | 2390 |
| 2367 #endif // V8_X64_LITHIUM_X64_H_ | 2391 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |