| 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 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2417 | 2416 |
| 2418 LOperand* context() { return inputs_[0]; } | 2417 LOperand* context() { return inputs_[0]; } |
| 2419 LOperand* size() { return inputs_[1]; } | 2418 LOperand* size() { return inputs_[1]; } |
| 2420 LOperand* temp() { return temps_[0]; } | 2419 LOperand* temp() { return temps_[0]; } |
| 2421 | 2420 |
| 2422 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2421 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2423 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2422 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2424 }; | 2423 }; |
| 2425 | 2424 |
| 2426 | 2425 |
| 2427 class LFastLiteral: public LTemplateInstruction<1, 1, 0> { | |
| 2428 public: | |
| 2429 explicit LFastLiteral(LOperand* context) { | |
| 2430 inputs_[0] = context; | |
| 2431 } | |
| 2432 | |
| 2433 LOperand* context() { return inputs_[0]; } | |
| 2434 | |
| 2435 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") | |
| 2436 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) | |
| 2437 }; | |
| 2438 | |
| 2439 | |
| 2440 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { | 2426 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { |
| 2441 public: | 2427 public: |
| 2442 explicit LArrayLiteral(LOperand* context) { | 2428 explicit LArrayLiteral(LOperand* context) { |
| 2443 inputs_[0] = context; | 2429 inputs_[0] = context; |
| 2444 } | 2430 } |
| 2445 | 2431 |
| 2446 LOperand* context() { return inputs_[0]; } | 2432 LOperand* context() { return inputs_[0]; } |
| 2447 | 2433 |
| 2448 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | 2434 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") |
| 2449 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | 2435 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2843 | 2829 |
| 2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2830 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2845 }; | 2831 }; |
| 2846 | 2832 |
| 2847 #undef DECLARE_HYDROGEN_ACCESSOR | 2833 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2848 #undef DECLARE_CONCRETE_INSTRUCTION | 2834 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2849 | 2835 |
| 2850 } } // namespace v8::internal | 2836 } } // namespace v8::internal |
| 2851 | 2837 |
| 2852 #endif // V8_IA32_LITHIUM_IA32_H_ | 2838 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |