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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 V(CompareNumericAndBranch) \ | 73 V(CompareNumericAndBranch) \ |
74 V(CmpObjectEqAndBranch) \ | 74 V(CmpObjectEqAndBranch) \ |
75 V(CmpHoleAndBranch) \ | 75 V(CmpHoleAndBranch) \ |
76 V(CmpMapAndBranch) \ | 76 V(CmpMapAndBranch) \ |
77 V(CmpT) \ | 77 V(CmpT) \ |
78 V(ConstantD) \ | 78 V(ConstantD) \ |
79 V(ConstantE) \ | 79 V(ConstantE) \ |
80 V(ConstantI) \ | 80 V(ConstantI) \ |
81 V(ConstantS) \ | 81 V(ConstantS) \ |
82 V(ConstantT) \ | 82 V(ConstantT) \ |
| 83 V(ConstructDouble) \ |
83 V(Context) \ | 84 V(Context) \ |
84 V(DateField) \ | 85 V(DateField) \ |
85 V(DebugBreak) \ | 86 V(DebugBreak) \ |
86 V(DeclareGlobals) \ | 87 V(DeclareGlobals) \ |
87 V(Deoptimize) \ | 88 V(Deoptimize) \ |
88 V(DivI) \ | 89 V(DivI) \ |
| 90 V(DoubleBits) \ |
89 V(DoubleToI) \ | 91 V(DoubleToI) \ |
90 V(DoubleToSmi) \ | 92 V(DoubleToSmi) \ |
91 V(Drop) \ | 93 V(Drop) \ |
92 V(DummyUse) \ | 94 V(DummyUse) \ |
93 V(Dummy) \ | 95 V(Dummy) \ |
94 V(ForInCacheArray) \ | 96 V(ForInCacheArray) \ |
95 V(ForInPrepareMap) \ | 97 V(ForInPrepareMap) \ |
96 V(FunctionLiteral) \ | 98 V(FunctionLiteral) \ |
97 V(GetCachedArrayIndex) \ | 99 V(GetCachedArrayIndex) \ |
98 V(Goto) \ | 100 V(Goto) \ |
(...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2306 inputs_[0] = value; | 2308 inputs_[0] = value; |
2307 } | 2309 } |
2308 | 2310 |
2309 LOperand* value() { return inputs_[0]; } | 2311 LOperand* value() { return inputs_[0]; } |
2310 | 2312 |
2311 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2313 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
2312 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2314 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2313 }; | 2315 }; |
2314 | 2316 |
2315 | 2317 |
| 2318 class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2319 public: |
| 2320 explicit LDoubleBits(LOperand* value) { |
| 2321 inputs_[0] = value; |
| 2322 } |
| 2323 |
| 2324 LOperand* value() { return inputs_[0]; } |
| 2325 |
| 2326 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
| 2327 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
| 2328 }; |
| 2329 |
| 2330 |
| 2331 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 2332 public: |
| 2333 LConstructDouble(LOperand* hi, LOperand* lo) { |
| 2334 inputs_[0] = hi; |
| 2335 inputs_[1] = lo; |
| 2336 } |
| 2337 |
| 2338 LOperand* hi() { return inputs_[0]; } |
| 2339 LOperand* lo() { return inputs_[1]; } |
| 2340 |
| 2341 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") |
| 2342 }; |
| 2343 |
| 2344 |
2316 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2345 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
2317 public: | 2346 public: |
2318 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2347 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
2319 inputs_[0] = context; | 2348 inputs_[0] = context; |
2320 inputs_[1] = size; | 2349 inputs_[1] = size; |
2321 temps_[0] = temp; | 2350 temps_[0] = temp; |
2322 } | 2351 } |
2323 | 2352 |
2324 LOperand* context() { return inputs_[0]; } | 2353 LOperand* context() { return inputs_[0]; } |
2325 LOperand* size() { return inputs_[1]; } | 2354 LOperand* size() { return inputs_[1]; } |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 | 2696 |
2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2669 }; | 2698 }; |
2670 | 2699 |
2671 #undef DECLARE_HYDROGEN_ACCESSOR | 2700 #undef DECLARE_HYDROGEN_ACCESSOR |
2672 #undef DECLARE_CONCRETE_INSTRUCTION | 2701 #undef DECLARE_CONCRETE_INSTRUCTION |
2673 | 2702 |
2674 } } // namespace v8::int | 2703 } } // namespace v8::int |
2675 | 2704 |
2676 #endif // V8_X64_LITHIUM_X64_H_ | 2705 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |