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(DivI) \ | 91 V(DivI) \ |
| 92 V(DoubleBits) \ |
91 V(DoubleToI) \ | 93 V(DoubleToI) \ |
92 V(DoubleToSmi) \ | 94 V(DoubleToSmi) \ |
93 V(Drop) \ | 95 V(Drop) \ |
94 V(Dummy) \ | 96 V(Dummy) \ |
95 V(DummyUse) \ | 97 V(DummyUse) \ |
96 V(ForInCacheArray) \ | 98 V(ForInCacheArray) \ |
97 V(ForInPrepareMap) \ | 99 V(ForInPrepareMap) \ |
98 V(FunctionLiteral) \ | 100 V(FunctionLiteral) \ |
99 V(GetCachedArrayIndex) \ | 101 V(GetCachedArrayIndex) \ |
100 V(Goto) \ | 102 V(Goto) \ |
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2397 inputs_[0] = value; | 2399 inputs_[0] = value; |
2398 } | 2400 } |
2399 | 2401 |
2400 LOperand* value() { return inputs_[0]; } | 2402 LOperand* value() { return inputs_[0]; } |
2401 | 2403 |
2402 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2404 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
2403 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2405 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2404 }; | 2406 }; |
2405 | 2407 |
2406 | 2408 |
| 2409 class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2410 public: |
| 2411 explicit LDoubleBits(LOperand* value) { |
| 2412 inputs_[0] = value; |
| 2413 } |
| 2414 |
| 2415 LOperand* value() { return inputs_[0]; } |
| 2416 |
| 2417 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
| 2418 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
| 2419 }; |
| 2420 |
| 2421 |
| 2422 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 2423 public: |
| 2424 LConstructDouble(LOperand* hi, LOperand* lo) { |
| 2425 inputs_[0] = hi; |
| 2426 inputs_[1] = lo; |
| 2427 } |
| 2428 |
| 2429 LOperand* hi() { return inputs_[0]; } |
| 2430 LOperand* lo() { return inputs_[1]; } |
| 2431 |
| 2432 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") |
| 2433 }; |
| 2434 |
| 2435 |
2407 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2436 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
2408 public: | 2437 public: |
2409 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2438 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
2410 inputs_[0] = context; | 2439 inputs_[0] = context; |
2411 inputs_[1] = size; | 2440 inputs_[1] = size; |
2412 temps_[0] = temp; | 2441 temps_[0] = temp; |
2413 } | 2442 } |
2414 | 2443 |
2415 LOperand* context() { return inputs_[0]; } | 2444 LOperand* context() { return inputs_[0]; } |
2416 LOperand* size() { return inputs_[1]; } | 2445 LOperand* size() { return inputs_[1]; } |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2755 | 2784 |
2756 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2785 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2757 }; | 2786 }; |
2758 | 2787 |
2759 #undef DECLARE_HYDROGEN_ACCESSOR | 2788 #undef DECLARE_HYDROGEN_ACCESSOR |
2760 #undef DECLARE_CONCRETE_INSTRUCTION | 2789 #undef DECLARE_CONCRETE_INSTRUCTION |
2761 | 2790 |
2762 } } // namespace v8::internal | 2791 } } // namespace v8::internal |
2763 | 2792 |
2764 #endif // V8_IA32_LITHIUM_IA32_H_ | 2793 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |