| 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_MIPS64_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 V(LazyBailout) \ | 96 V(LazyBailout) \ |
| 97 V(LoadContextSlot) \ | 97 V(LoadContextSlot) \ |
| 98 V(LoadRoot) \ | 98 V(LoadRoot) \ |
| 99 V(LoadFieldByIndex) \ | 99 V(LoadFieldByIndex) \ |
| 100 V(LoadFunctionPrototype) \ | 100 V(LoadFunctionPrototype) \ |
| 101 V(LoadGlobalGeneric) \ | 101 V(LoadGlobalGeneric) \ |
| 102 V(LoadKeyed) \ | 102 V(LoadKeyed) \ |
| 103 V(LoadKeyedGeneric) \ | 103 V(LoadKeyedGeneric) \ |
| 104 V(LoadNamedField) \ | 104 V(LoadNamedField) \ |
| 105 V(LoadNamedGeneric) \ | 105 V(LoadNamedGeneric) \ |
| 106 V(MapEnumLength) \ | |
| 107 V(MathAbs) \ | 106 V(MathAbs) \ |
| 108 V(MathExp) \ | 107 V(MathExp) \ |
| 109 V(MathClz32) \ | 108 V(MathClz32) \ |
| 110 V(MathFloor) \ | 109 V(MathFloor) \ |
| 111 V(MathFround) \ | 110 V(MathFround) \ |
| 112 V(MathLog) \ | 111 V(MathLog) \ |
| 113 V(MathMinMax) \ | 112 V(MathMinMax) \ |
| 114 V(MathPowHalf) \ | 113 V(MathPowHalf) \ |
| 115 V(MathRound) \ | 114 V(MathRound) \ |
| 116 V(MathSqrt) \ | 115 V(MathSqrt) \ |
| (...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1349 LOperand* value() { return inputs_[0]; } | 1348 LOperand* value() { return inputs_[0]; } |
| 1350 LOperand* temp() { return temps_[0]; } | 1349 LOperand* temp() { return temps_[0]; } |
| 1351 | 1350 |
| 1352 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1351 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
| 1353 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1352 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
| 1354 | 1353 |
| 1355 Handle<Map> map() const { return hydrogen()->map().handle(); } | 1354 Handle<Map> map() const { return hydrogen()->map().handle(); } |
| 1356 }; | 1355 }; |
| 1357 | 1356 |
| 1358 | 1357 |
| 1359 class LMapEnumLength final : public LTemplateInstruction<1, 1, 0> { | |
| 1360 public: | |
| 1361 explicit LMapEnumLength(LOperand* value) { | |
| 1362 inputs_[0] = value; | |
| 1363 } | |
| 1364 | |
| 1365 LOperand* value() { return inputs_[0]; } | |
| 1366 | |
| 1367 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | |
| 1368 }; | |
| 1369 | |
| 1370 | |
| 1371 class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> { | 1358 class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> { |
| 1372 public: | 1359 public: |
| 1373 LSeqStringGetChar(LOperand* string, LOperand* index) { | 1360 LSeqStringGetChar(LOperand* string, LOperand* index) { |
| 1374 inputs_[0] = string; | 1361 inputs_[0] = string; |
| 1375 inputs_[1] = index; | 1362 inputs_[1] = index; |
| 1376 } | 1363 } |
| 1377 | 1364 |
| 1378 LOperand* string() const { return inputs_[0]; } | 1365 LOperand* string() const { return inputs_[0]; } |
| 1379 LOperand* index() const { return inputs_[1]; } | 1366 LOperand* index() const { return inputs_[1]; } |
| 1380 | 1367 |
| (...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2783 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2784 }; | 2771 }; |
| 2785 | 2772 |
| 2786 #undef DECLARE_HYDROGEN_ACCESSOR | 2773 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2787 #undef DECLARE_CONCRETE_INSTRUCTION | 2774 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2788 | 2775 |
| 2789 } // namespace internal | 2776 } // namespace internal |
| 2790 } // namespace v8 | 2777 } // namespace v8 |
| 2791 | 2778 |
| 2792 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 2779 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
| OLD | NEW |