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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 inputs_[0] = value; | 2403 inputs_[0] = value; |
2402 } | 2404 } |
2403 | 2405 |
2404 LOperand* value() { return inputs_[0]; } | 2406 LOperand* value() { return inputs_[0]; } |
2405 | 2407 |
2406 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2408 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
2407 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2409 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2408 }; | 2410 }; |
2409 | 2411 |
2410 | 2412 |
| 2413 class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2414 public: |
| 2415 explicit LDoubleBits(LOperand* value) { |
| 2416 inputs_[0] = value; |
| 2417 } |
| 2418 |
| 2419 LOperand* value() { return inputs_[0]; } |
| 2420 |
| 2421 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
| 2422 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
| 2423 }; |
| 2424 |
| 2425 |
| 2426 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 2427 public: |
| 2428 LConstructDouble(LOperand* hi, LOperand* lo) { |
| 2429 inputs_[0] = hi; |
| 2430 inputs_[1] = lo; |
| 2431 } |
| 2432 |
| 2433 LOperand* hi() { return inputs_[0]; } |
| 2434 LOperand* lo() { return inputs_[1]; } |
| 2435 |
| 2436 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") |
| 2437 }; |
| 2438 |
| 2439 |
2411 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2440 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
2412 public: | 2441 public: |
2413 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2442 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
2414 inputs_[0] = context; | 2443 inputs_[0] = context; |
2415 inputs_[1] = size; | 2444 inputs_[1] = size; |
2416 temps_[0] = temp; | 2445 temps_[0] = temp; |
2417 } | 2446 } |
2418 | 2447 |
2419 LOperand* context() { return inputs_[0]; } | 2448 LOperand* context() { return inputs_[0]; } |
2420 LOperand* size() { return inputs_[1]; } | 2449 LOperand* size() { return inputs_[1]; } |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2759 | 2788 |
2760 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2789 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2761 }; | 2790 }; |
2762 | 2791 |
2763 #undef DECLARE_HYDROGEN_ACCESSOR | 2792 #undef DECLARE_HYDROGEN_ACCESSOR |
2764 #undef DECLARE_CONCRETE_INSTRUCTION | 2793 #undef DECLARE_CONCRETE_INSTRUCTION |
2765 | 2794 |
2766 } } // namespace v8::internal | 2795 } } // namespace v8::internal |
2767 | 2796 |
2768 #endif // V8_IA32_LITHIUM_IA32_H_ | 2797 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |