| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 V(CheckInstanceType) \ | 68 V(CheckInstanceType) \ |
| 69 V(CheckMaps) \ | 69 V(CheckMaps) \ |
| 70 V(CheckNonSmi) \ | 70 V(CheckNonSmi) \ |
| 71 V(CheckPrototypeMaps) \ | 71 V(CheckPrototypeMaps) \ |
| 72 V(CheckSmi) \ | 72 V(CheckSmi) \ |
| 73 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
| 74 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
| 75 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
| 76 V(ClampTToUint8NoSSE2) \ | 76 V(ClampTToUint8NoSSE2) \ |
| 77 V(ClassOfTestAndBranch) \ | 77 V(ClassOfTestAndBranch) \ |
| 78 V(CmpConstantEqAndBranch) \ |
| 78 V(CmpIDAndBranch) \ | 79 V(CmpIDAndBranch) \ |
| 80 V(CmpMapAndBranch) \ |
| 79 V(CmpObjectEqAndBranch) \ | 81 V(CmpObjectEqAndBranch) \ |
| 80 V(CmpMapAndBranch) \ | |
| 81 V(CmpT) \ | 82 V(CmpT) \ |
| 82 V(CmpConstantEqAndBranch) \ | |
| 83 V(ConstantD) \ | 83 V(ConstantD) \ |
| 84 V(ConstantI) \ | 84 V(ConstantI) \ |
| 85 V(ConstantS) \ | 85 V(ConstantS) \ |
| 86 V(ConstantT) \ | 86 V(ConstantT) \ |
| 87 V(Context) \ | 87 V(Context) \ |
| 88 V(DebugBreak) \ | 88 V(DebugBreak) \ |
| 89 V(DeclareGlobals) \ | 89 V(DeclareGlobals) \ |
| 90 V(DeleteProperty) \ | 90 V(DeleteProperty) \ |
| 91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
| 92 V(DivI) \ | 92 V(DivI) \ |
| 93 V(DoubleToI) \ | 93 V(DoubleToI) \ |
| 94 V(DoubleToSmi) \ | 94 V(DoubleToSmi) \ |
| 95 V(DummyUse) \ | 95 V(DummyUse) \ |
| 96 V(ElementsKind) \ | 96 V(ElementsKind) \ |
| 97 V(EnterTry) \ |
| 97 V(FixedArrayBaseLength) \ | 98 V(FixedArrayBaseLength) \ |
| 98 V(FunctionLiteral) \ | 99 V(FunctionLiteral) \ |
| 99 V(GetCachedArrayIndex) \ | 100 V(GetCachedArrayIndex) \ |
| 100 V(GlobalObject) \ | 101 V(GlobalObject) \ |
| 101 V(GlobalReceiver) \ | 102 V(GlobalReceiver) \ |
| 102 V(Goto) \ | 103 V(Goto) \ |
| 103 V(HasCachedArrayIndexAndBranch) \ | 104 V(HasCachedArrayIndexAndBranch) \ |
| 104 V(HasInstanceTypeAndBranch) \ | 105 V(HasInstanceTypeAndBranch) \ |
| 105 V(In) \ | 106 V(In) \ |
| 106 V(InstanceOf) \ | 107 V(InstanceOf) \ |
| 107 V(InstanceOfKnownGlobal) \ | 108 V(InstanceOfKnownGlobal) \ |
| 108 V(InstanceSize) \ | 109 V(InstanceSize) \ |
| 109 V(InstructionGap) \ | 110 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 111 V(Integer32ToDouble) \ |
| 111 V(Integer32ToSmi) \ | 112 V(Integer32ToSmi) \ |
| 112 V(Uint32ToDouble) \ | 113 V(Uint32ToDouble) \ |
| 113 V(InvokeFunction) \ | 114 V(InvokeFunction) \ |
| 114 V(IsConstructCallAndBranch) \ | 115 V(IsConstructCallAndBranch) \ |
| 115 V(IsObjectAndBranch) \ | 116 V(IsObjectAndBranch) \ |
| 117 V(IsSmiAndBranch) \ |
| 116 V(IsStringAndBranch) \ | 118 V(IsStringAndBranch) \ |
| 117 V(IsSmiAndBranch) \ | |
| 118 V(IsUndetectableAndBranch) \ | 119 V(IsUndetectableAndBranch) \ |
| 119 V(Label) \ | 120 V(Label) \ |
| 120 V(LazyBailout) \ | 121 V(LazyBailout) \ |
| 122 V(LeaveTry) \ |
| 121 V(LoadContextSlot) \ | 123 V(LoadContextSlot) \ |
| 122 V(LoadExternalArrayPointer) \ | 124 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
| 124 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
| 125 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
| 126 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
| 127 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
| 128 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
| 129 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
| 130 V(LoadNamedGeneric) \ | 132 V(LoadNamedGeneric) \ |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 LLabel* replacement() const { return replacement_; } | 444 LLabel* replacement() const { return replacement_; } |
| 443 void set_replacement(LLabel* label) { replacement_ = label; } | 445 void set_replacement(LLabel* label) { replacement_ = label; } |
| 444 bool HasReplacement() const { return replacement_ != NULL; } | 446 bool HasReplacement() const { return replacement_ != NULL; } |
| 445 | 447 |
| 446 private: | 448 private: |
| 447 Label label_; | 449 Label label_; |
| 448 LLabel* replacement_; | 450 LLabel* replacement_; |
| 449 }; | 451 }; |
| 450 | 452 |
| 451 | 453 |
| 454 class LEnterTry: public LTemplateInstruction<0, 0, 0> { |
| 455 public: |
| 456 DECLARE_CONCRETE_INSTRUCTION(EnterTry, "enter-try") |
| 457 DECLARE_HYDROGEN_ACCESSOR(EnterTry); |
| 458 |
| 459 int index() { return hydrogen()->index(); } |
| 460 }; |
| 461 |
| 462 |
| 463 class LLeaveTry: public LTemplateInstruction<0, 0, 0> { |
| 464 public: |
| 465 DECLARE_CONCRETE_INSTRUCTION(LeaveTry, "leave-try") |
| 466 }; |
| 467 |
| 468 |
| 452 class LParameter: public LTemplateInstruction<1, 0, 0> { | 469 class LParameter: public LTemplateInstruction<1, 0, 0> { |
| 453 public: | 470 public: |
| 454 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 471 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } |
| 455 DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter") | 472 DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter") |
| 456 }; | 473 }; |
| 457 | 474 |
| 458 | 475 |
| 459 class LCallStub: public LTemplateInstruction<1, 1, 0> { | 476 class LCallStub: public LTemplateInstruction<1, 1, 0> { |
| 460 public: | 477 public: |
| 461 explicit LCallStub(LOperand* context) { | 478 explicit LCallStub(LOperand* context) { |
| (...skipping 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2998 | 3015 |
| 2999 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3016 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3000 }; | 3017 }; |
| 3001 | 3018 |
| 3002 #undef DECLARE_HYDROGEN_ACCESSOR | 3019 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3003 #undef DECLARE_CONCRETE_INSTRUCTION | 3020 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3004 | 3021 |
| 3005 } } // namespace v8::internal | 3022 } } // namespace v8::internal |
| 3006 | 3023 |
| 3007 #endif // V8_IA32_LITHIUM_IA32_H_ | 3024 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |