| 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) \ | |
| 84 V(Context) \ | 83 V(Context) \ |
| 85 V(DateField) \ | 84 V(DateField) \ |
| 86 V(DebugBreak) \ | 85 V(DebugBreak) \ |
| 87 V(DeclareGlobals) \ | 86 V(DeclareGlobals) \ |
| 88 V(Deoptimize) \ | 87 V(Deoptimize) \ |
| 89 V(DivI) \ | 88 V(DivI) \ |
| 90 V(DoubleBits) \ | |
| 91 V(DoubleToI) \ | 89 V(DoubleToI) \ |
| 92 V(DoubleToSmi) \ | 90 V(DoubleToSmi) \ |
| 93 V(Drop) \ | 91 V(Drop) \ |
| 94 V(DummyUse) \ | 92 V(DummyUse) \ |
| 95 V(Dummy) \ | 93 V(Dummy) \ |
| 96 V(ForInCacheArray) \ | 94 V(ForInCacheArray) \ |
| 97 V(ForInPrepareMap) \ | 95 V(ForInPrepareMap) \ |
| 98 V(FunctionLiteral) \ | 96 V(FunctionLiteral) \ |
| 99 V(GetCachedArrayIndex) \ | 97 V(GetCachedArrayIndex) \ |
| 100 V(Goto) \ | 98 V(Goto) \ |
| (...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2308 inputs_[0] = value; | 2306 inputs_[0] = value; |
| 2309 } | 2307 } |
| 2310 | 2308 |
| 2311 LOperand* value() { return inputs_[0]; } | 2309 LOperand* value() { return inputs_[0]; } |
| 2312 | 2310 |
| 2313 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2311 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2314 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2312 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
| 2315 }; | 2313 }; |
| 2316 | 2314 |
| 2317 | 2315 |
| 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 | |
| 2345 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2316 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
| 2346 public: | 2317 public: |
| 2347 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2318 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
| 2348 inputs_[0] = context; | 2319 inputs_[0] = context; |
| 2349 inputs_[1] = size; | 2320 inputs_[1] = size; |
| 2350 temps_[0] = temp; | 2321 temps_[0] = temp; |
| 2351 } | 2322 } |
| 2352 | 2323 |
| 2353 LOperand* context() { return inputs_[0]; } | 2324 LOperand* context() { return inputs_[0]; } |
| 2354 LOperand* size() { return inputs_[1]; } | 2325 LOperand* size() { return inputs_[1]; } |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2696 | 2667 |
| 2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2698 }; | 2669 }; |
| 2699 | 2670 |
| 2700 #undef DECLARE_HYDROGEN_ACCESSOR | 2671 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2701 #undef DECLARE_CONCRETE_INSTRUCTION | 2672 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2702 | 2673 |
| 2703 } } // namespace v8::int | 2674 } } // namespace v8::int |
| 2704 | 2675 |
| 2705 #endif // V8_X64_LITHIUM_X64_H_ | 2676 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |