| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 V(Goto) \ | 94 V(Goto) \ |
| 95 V(HasCachedArrayIndexAndBranch) \ | 95 V(HasCachedArrayIndexAndBranch) \ |
| 96 V(HasInstanceTypeAndBranch) \ | 96 V(HasInstanceTypeAndBranch) \ |
| 97 V(In) \ | 97 V(In) \ |
| 98 V(InstanceOf) \ | 98 V(InstanceOf) \ |
| 99 V(InstanceOfKnownGlobal) \ | 99 V(InstanceOfKnownGlobal) \ |
| 100 V(InstructionGap) \ | 100 V(InstructionGap) \ |
| 101 V(Integer32ToDouble) \ | 101 V(Integer32ToDouble) \ |
| 102 V(InvokeFunction) \ | 102 V(InvokeFunction) \ |
| 103 V(IsConstructCallAndBranch) \ | 103 V(IsConstructCallAndBranch) \ |
| 104 V(IsNullAndBranch) \ | 104 V(IsNilAndBranch) \ |
| 105 V(IsObjectAndBranch) \ | 105 V(IsObjectAndBranch) \ |
| 106 V(IsSmiAndBranch) \ | 106 V(IsSmiAndBranch) \ |
| 107 V(IsUndetectableAndBranch) \ | 107 V(IsUndetectableAndBranch) \ |
| 108 V(JSArrayLength) \ | 108 V(JSArrayLength) \ |
| 109 V(Label) \ | 109 V(Label) \ |
| 110 V(LazyBailout) \ | 110 V(LazyBailout) \ |
| 111 V(LoadContextSlot) \ | 111 V(LoadContextSlot) \ |
| 112 V(LoadElements) \ | 112 V(LoadElements) \ |
| 113 V(LoadExternalArrayPointer) \ | 113 V(LoadExternalArrayPointer) \ |
| 114 V(LoadFunctionPrototype) \ | 114 V(LoadFunctionPrototype) \ |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 explicit LCmpConstantEqAndBranch(LOperand* left) { | 608 explicit LCmpConstantEqAndBranch(LOperand* left) { |
| 609 inputs_[0] = left; | 609 inputs_[0] = left; |
| 610 } | 610 } |
| 611 | 611 |
| 612 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, | 612 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, |
| 613 "cmp-constant-eq-and-branch") | 613 "cmp-constant-eq-and-branch") |
| 614 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch) | 614 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch) |
| 615 }; | 615 }; |
| 616 | 616 |
| 617 | 617 |
| 618 class LIsNullAndBranch: public LControlInstruction<1, 1> { | 618 class LIsNilAndBranch: public LControlInstruction<1, 1> { |
| 619 public: | 619 public: |
| 620 LIsNullAndBranch(LOperand* value, LOperand* temp) { | 620 LIsNilAndBranch(LOperand* value, LOperand* temp) { |
| 621 inputs_[0] = value; | 621 inputs_[0] = value; |
| 622 temps_[0] = temp; | 622 temps_[0] = temp; |
| 623 } | 623 } |
| 624 | 624 |
| 625 DECLARE_CONCRETE_INSTRUCTION(IsNullAndBranch, "is-null-and-branch") | 625 DECLARE_CONCRETE_INSTRUCTION(IsNilAndBranch, "is-nil-and-branch") |
| 626 DECLARE_HYDROGEN_ACCESSOR(IsNullAndBranch) | 626 DECLARE_HYDROGEN_ACCESSOR(IsNilAndBranch) |
| 627 | 627 |
| 628 bool is_strict() const { return hydrogen()->is_strict(); } | 628 EqualityKind kind() const { return hydrogen()->kind(); } |
| 629 NilValue nil() const { return hydrogen()->nil(); } |
| 629 | 630 |
| 630 virtual void PrintDataTo(StringStream* stream); | 631 virtual void PrintDataTo(StringStream* stream); |
| 631 }; | 632 }; |
| 632 | 633 |
| 633 | 634 |
| 634 class LIsObjectAndBranch: public LControlInstruction<1, 1> { | 635 class LIsObjectAndBranch: public LControlInstruction<1, 1> { |
| 635 public: | 636 public: |
| 636 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | 637 LIsObjectAndBranch(LOperand* value, LOperand* temp) { |
| 637 inputs_[0] = value; | 638 inputs_[0] = value; |
| 638 temps_[0] = temp; | 639 temps_[0] = temp; |
| (...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 | 2287 |
| 2287 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2288 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2288 }; | 2289 }; |
| 2289 | 2290 |
| 2290 #undef DECLARE_HYDROGEN_ACCESSOR | 2291 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2291 #undef DECLARE_CONCRETE_INSTRUCTION | 2292 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2292 | 2293 |
| 2293 } } // namespace v8::internal | 2294 } } // namespace v8::internal |
| 2294 | 2295 |
| 2295 #endif // V8_IA32_LITHIUM_IA32_H_ | 2296 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |