| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(ConstantI) \ | 84 V(ConstantI) \ |
| 85 V(ConstantT) \ | 85 V(ConstantT) \ |
| 86 V(Context) \ | 86 V(Context) \ |
| 87 V(DeclareGlobals) \ | 87 V(DeclareGlobals) \ |
| 88 V(DeleteProperty) \ | 88 V(DeleteProperty) \ |
| 89 V(Deoptimize) \ | 89 V(Deoptimize) \ |
| 90 V(DivI) \ | 90 V(DivI) \ |
| 91 V(DoubleToI) \ | 91 V(DoubleToI) \ |
| 92 V(DummyUse) \ | 92 V(DummyUse) \ |
| 93 V(ElementsKind) \ | 93 V(ElementsKind) \ |
| 94 V(FastLiteral) \ | |
| 95 V(FixedArrayBaseLength) \ | 94 V(FixedArrayBaseLength) \ |
| 96 V(FunctionLiteral) \ | 95 V(FunctionLiteral) \ |
| 97 V(GetCachedArrayIndex) \ | 96 V(GetCachedArrayIndex) \ |
| 98 V(GlobalObject) \ | 97 V(GlobalObject) \ |
| 99 V(GlobalReceiver) \ | 98 V(GlobalReceiver) \ |
| 100 V(Goto) \ | 99 V(Goto) \ |
| 101 V(HasCachedArrayIndexAndBranch) \ | 100 V(HasCachedArrayIndexAndBranch) \ |
| 102 V(HasInstanceTypeAndBranch) \ | 101 V(HasInstanceTypeAndBranch) \ |
| 103 V(In) \ | 102 V(In) \ |
| 104 V(InstanceOf) \ | 103 V(InstanceOf) \ |
| (...skipping 2326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2431 | 2430 |
| 2432 LOperand* context() { return inputs_[0]; } | 2431 LOperand* context() { return inputs_[0]; } |
| 2433 LOperand* size() { return inputs_[1]; } | 2432 LOperand* size() { return inputs_[1]; } |
| 2434 LOperand* temp() { return temps_[0]; } | 2433 LOperand* temp() { return temps_[0]; } |
| 2435 | 2434 |
| 2436 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2435 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2437 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2436 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2438 }; | 2437 }; |
| 2439 | 2438 |
| 2440 | 2439 |
| 2441 class LFastLiteral: public LTemplateInstruction<1, 1, 0> { | |
| 2442 public: | |
| 2443 explicit LFastLiteral(LOperand* context) { | |
| 2444 inputs_[0] = context; | |
| 2445 } | |
| 2446 | |
| 2447 LOperand* context() { return inputs_[0]; } | |
| 2448 | |
| 2449 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") | |
| 2450 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) | |
| 2451 }; | |
| 2452 | |
| 2453 | |
| 2454 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { | 2440 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { |
| 2455 public: | 2441 public: |
| 2456 explicit LArrayLiteral(LOperand* context) { | 2442 explicit LArrayLiteral(LOperand* context) { |
| 2457 inputs_[0] = context; | 2443 inputs_[0] = context; |
| 2458 } | 2444 } |
| 2459 | 2445 |
| 2460 LOperand* context() { return inputs_[0]; } | 2446 LOperand* context() { return inputs_[0]; } |
| 2461 | 2447 |
| 2462 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | 2448 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") |
| 2463 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | 2449 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2857 | 2843 |
| 2858 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2859 }; | 2845 }; |
| 2860 | 2846 |
| 2861 #undef DECLARE_HYDROGEN_ACCESSOR | 2847 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2862 #undef DECLARE_CONCRETE_INSTRUCTION | 2848 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2863 | 2849 |
| 2864 } } // namespace v8::internal | 2850 } } // namespace v8::internal |
| 2865 | 2851 |
| 2866 #endif // V8_IA32_LITHIUM_IA32_H_ | 2852 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |