| 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) \ | |
| 86 V(Context) \ | 85 V(Context) \ |
| 87 V(DateField) \ | 86 V(DateField) \ |
| 88 V(DebugBreak) \ | 87 V(DebugBreak) \ |
| 89 V(DeclareGlobals) \ | 88 V(DeclareGlobals) \ |
| 90 V(Deoptimize) \ | 89 V(Deoptimize) \ |
| 91 V(DivI) \ | 90 V(DivI) \ |
| 92 V(DoubleBits) \ | |
| 93 V(DoubleToI) \ | 91 V(DoubleToI) \ |
| 94 V(DoubleToSmi) \ | 92 V(DoubleToSmi) \ |
| 95 V(Drop) \ | 93 V(Drop) \ |
| 96 V(Dummy) \ | 94 V(Dummy) \ |
| 97 V(DummyUse) \ | 95 V(DummyUse) \ |
| 98 V(ForInCacheArray) \ | 96 V(ForInCacheArray) \ |
| 99 V(ForInPrepareMap) \ | 97 V(ForInPrepareMap) \ |
| 100 V(FunctionLiteral) \ | 98 V(FunctionLiteral) \ |
| 101 V(GetCachedArrayIndex) \ | 99 V(GetCachedArrayIndex) \ |
| 102 V(Goto) \ | 100 V(Goto) \ |
| (...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2403 inputs_[0] = value; | 2401 inputs_[0] = value; |
| 2404 } | 2402 } |
| 2405 | 2403 |
| 2406 LOperand* value() { return inputs_[0]; } | 2404 LOperand* value() { return inputs_[0]; } |
| 2407 | 2405 |
| 2408 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2406 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2409 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) | 2407 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
| 2410 }; | 2408 }; |
| 2411 | 2409 |
| 2412 | 2410 |
| 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 | |
| 2440 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 2411 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
| 2441 public: | 2412 public: |
| 2442 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { | 2413 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |
| 2443 inputs_[0] = context; | 2414 inputs_[0] = context; |
| 2444 inputs_[1] = size; | 2415 inputs_[1] = size; |
| 2445 temps_[0] = temp; | 2416 temps_[0] = temp; |
| 2446 } | 2417 } |
| 2447 | 2418 |
| 2448 LOperand* context() { return inputs_[0]; } | 2419 LOperand* context() { return inputs_[0]; } |
| 2449 LOperand* size() { return inputs_[1]; } | 2420 LOperand* size() { return inputs_[1]; } |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2788 | 2759 |
| 2789 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2760 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2790 }; | 2761 }; |
| 2791 | 2762 |
| 2792 #undef DECLARE_HYDROGEN_ACCESSOR | 2763 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2793 #undef DECLARE_CONCRETE_INSTRUCTION | 2764 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2794 | 2765 |
| 2795 } } // namespace v8::internal | 2766 } } // namespace v8::internal |
| 2796 | 2767 |
| 2797 #endif // V8_IA32_LITHIUM_IA32_H_ | 2768 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |