| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 V(LazyBailout) \ | 98 V(LazyBailout) \ |
| 99 V(LoadContextSlot) \ | 99 V(LoadContextSlot) \ |
| 100 V(LoadFieldByIndex) \ | 100 V(LoadFieldByIndex) \ |
| 101 V(LoadFunctionPrototype) \ | 101 V(LoadFunctionPrototype) \ |
| 102 V(LoadGlobalGeneric) \ | 102 V(LoadGlobalGeneric) \ |
| 103 V(LoadKeyed) \ | 103 V(LoadKeyed) \ |
| 104 V(LoadKeyedGeneric) \ | 104 V(LoadKeyedGeneric) \ |
| 105 V(LoadNamedField) \ | 105 V(LoadNamedField) \ |
| 106 V(LoadNamedGeneric) \ | 106 V(LoadNamedGeneric) \ |
| 107 V(LoadRoot) \ | 107 V(LoadRoot) \ |
| 108 V(MapEnumLength) \ | |
| 109 V(MathAbs) \ | 108 V(MathAbs) \ |
| 110 V(MathClz32) \ | 109 V(MathClz32) \ |
| 111 V(MathExp) \ | 110 V(MathExp) \ |
| 112 V(MathFloor) \ | 111 V(MathFloor) \ |
| 113 V(MathFround) \ | 112 V(MathFround) \ |
| 114 V(MathLog) \ | 113 V(MathLog) \ |
| 115 V(MathMinMax) \ | 114 V(MathMinMax) \ |
| 116 V(MathPowHalf) \ | 115 V(MathPowHalf) \ |
| 117 V(MathRound) \ | 116 V(MathRound) \ |
| 118 V(MathSqrt) \ | 117 V(MathSqrt) \ |
| (...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 | 1330 |
| 1332 LOperand* value() { return inputs_[0]; } | 1331 LOperand* value() { return inputs_[0]; } |
| 1333 | 1332 |
| 1334 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1333 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
| 1335 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1334 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
| 1336 | 1335 |
| 1337 Handle<Map> map() const { return hydrogen()->map().handle(); } | 1336 Handle<Map> map() const { return hydrogen()->map().handle(); } |
| 1338 }; | 1337 }; |
| 1339 | 1338 |
| 1340 | 1339 |
| 1341 class LMapEnumLength final : public LTemplateInstruction<1, 1, 0> { | |
| 1342 public: | |
| 1343 explicit LMapEnumLength(LOperand* value) { | |
| 1344 inputs_[0] = value; | |
| 1345 } | |
| 1346 | |
| 1347 LOperand* value() { return inputs_[0]; } | |
| 1348 | |
| 1349 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | |
| 1350 }; | |
| 1351 | |
| 1352 | |
| 1353 class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> { | 1340 class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> { |
| 1354 public: | 1341 public: |
| 1355 LSeqStringGetChar(LOperand* string, LOperand* index) { | 1342 LSeqStringGetChar(LOperand* string, LOperand* index) { |
| 1356 inputs_[0] = string; | 1343 inputs_[0] = string; |
| 1357 inputs_[1] = index; | 1344 inputs_[1] = index; |
| 1358 } | 1345 } |
| 1359 | 1346 |
| 1360 LOperand* string() const { return inputs_[0]; } | 1347 LOperand* string() const { return inputs_[0]; } |
| 1361 LOperand* index() const { return inputs_[1]; } | 1348 LOperand* index() const { return inputs_[1]; } |
| 1362 | 1349 |
| (...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2777 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2764 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2778 }; | 2765 }; |
| 2779 | 2766 |
| 2780 #undef DECLARE_HYDROGEN_ACCESSOR | 2767 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2781 #undef DECLARE_CONCRETE_INSTRUCTION | 2768 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2782 | 2769 |
| 2783 } // namespace internal | 2770 } // namespace internal |
| 2784 } // namespace v8 | 2771 } // namespace v8 |
| 2785 | 2772 |
| 2786 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 2773 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |