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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 V(CompareNumericAndBranch) \ | 75 V(CompareNumericAndBranch) \ |
76 V(CmpObjectEqAndBranch) \ | 76 V(CmpObjectEqAndBranch) \ |
77 V(CmpHoleAndBranch) \ | 77 V(CmpHoleAndBranch) \ |
78 V(CmpMapAndBranch) \ | 78 V(CmpMapAndBranch) \ |
79 V(CmpT) \ | 79 V(CmpT) \ |
80 V(ConstantD) \ | 80 V(ConstantD) \ |
81 V(ConstantE) \ | 81 V(ConstantE) \ |
82 V(ConstantI) \ | 82 V(ConstantI) \ |
83 V(ConstantS) \ | 83 V(ConstantS) \ |
84 V(ConstantT) \ | 84 V(ConstantT) \ |
| 85 V(ConstructDouble) \ |
85 V(Context) \ | 86 V(Context) \ |
86 V(DateField) \ | 87 V(DateField) \ |
87 V(DebugBreak) \ | 88 V(DebugBreak) \ |
88 V(DeclareGlobals) \ | 89 V(DeclareGlobals) \ |
89 V(Deoptimize) \ | 90 V(Deoptimize) \ |
90 V(DivByConstI) \ | 91 V(DivByConstI) \ |
91 V(DivByPowerOf2I) \ | 92 V(DivByPowerOf2I) \ |
92 V(DivI) \ | 93 V(DivI) \ |
| 94 V(DoubleBits) \ |
93 V(DoubleToI) \ | 95 V(DoubleToI) \ |
94 V(DoubleToSmi) \ | 96 V(DoubleToSmi) \ |
95 V(Drop) \ | 97 V(Drop) \ |
96 V(Dummy) \ | 98 V(Dummy) \ |
97 V(DummyUse) \ | 99 V(DummyUse) \ |
98 V(FlooringDivByConstI) \ | 100 V(FlooringDivByConstI) \ |
99 V(FlooringDivByPowerOf2I) \ | 101 V(FlooringDivByPowerOf2I) \ |
100 V(ForInCacheArray) \ | 102 V(ForInCacheArray) \ |
101 V(ForInPrepareMap) \ | 103 V(ForInPrepareMap) \ |
102 V(FunctionLiteral) \ | 104 V(FunctionLiteral) \ |
(...skipping 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2518 inputs_[0] = value; | 2520 inputs_[0] = value; |
2519 } | 2521 } |
2520 | 2522 |
2521 LOperand* value() { return inputs_[0]; } | 2523 LOperand* value() { return inputs_[0]; } |
2522 | 2524 |
2523 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2525 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
2524 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2526 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2525 }; | 2527 }; |
2526 | 2528 |
2527 | 2529 |
| 2530 class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2531 public: |
| 2532 explicit LDoubleBits(LOperand* value) { |
| 2533 inputs_[0] = value; |
| 2534 } |
| 2535 |
| 2536 LOperand* value() { return inputs_[0]; } |
| 2537 |
| 2538 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
| 2539 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
| 2540 }; |
| 2541 |
| 2542 |
| 2543 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 2544 public: |
| 2545 LConstructDouble(LOperand* hi, LOperand* lo) { |
| 2546 inputs_[0] = hi; |
| 2547 inputs_[1] = lo; |
| 2548 } |
| 2549 |
| 2550 LOperand* hi() { return inputs_[0]; } |
| 2551 LOperand* lo() { return inputs_[1]; } |
| 2552 |
| 2553 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") |
| 2554 }; |
| 2555 |
| 2556 |
2528 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2557 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
2529 public: | 2558 public: |
2530 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2559 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
2531 inputs_[0] = context; | 2560 inputs_[0] = context; |
2532 inputs_[1] = size; | 2561 inputs_[1] = size; |
2533 temps_[0] = temp; | 2562 temps_[0] = temp; |
2534 } | 2563 } |
2535 | 2564 |
2536 LOperand* context() { return inputs_[0]; } | 2565 LOperand* context() { return inputs_[0]; } |
2537 LOperand* size() { return inputs_[1]; } | 2566 LOperand* size() { return inputs_[1]; } |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2884 | 2913 |
2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2886 }; | 2915 }; |
2887 | 2916 |
2888 #undef DECLARE_HYDROGEN_ACCESSOR | 2917 #undef DECLARE_HYDROGEN_ACCESSOR |
2889 #undef DECLARE_CONCRETE_INSTRUCTION | 2918 #undef DECLARE_CONCRETE_INSTRUCTION |
2890 | 2919 |
2891 } } // namespace v8::internal | 2920 } } // namespace v8::internal |
2892 | 2921 |
2893 #endif // V8_IA32_LITHIUM_IA32_H_ | 2922 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |