| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 V(FunctionLiteral) \ | 95 V(FunctionLiteral) \ |
| 96 V(GetCachedArrayIndex) \ | 96 V(GetCachedArrayIndex) \ |
| 97 V(GlobalObject) \ | 97 V(GlobalObject) \ |
| 98 V(GlobalReceiver) \ | 98 V(GlobalReceiver) \ |
| 99 V(Goto) \ | 99 V(Goto) \ |
| 100 V(HasCachedArrayIndexAndBranch) \ | 100 V(HasCachedArrayIndexAndBranch) \ |
| 101 V(HasInstanceTypeAndBranch) \ | 101 V(HasInstanceTypeAndBranch) \ |
| 102 V(In) \ | 102 V(In) \ |
| 103 V(InstanceOf) \ | 103 V(InstanceOf) \ |
| 104 V(InstanceOfKnownGlobal) \ | 104 V(InstanceOfKnownGlobal) \ |
| 105 V(InstanceSize) \ |
| 105 V(InstructionGap) \ | 106 V(InstructionGap) \ |
| 106 V(Integer32ToDouble) \ | 107 V(Integer32ToDouble) \ |
| 107 V(Uint32ToDouble) \ | 108 V(Uint32ToDouble) \ |
| 108 V(InvokeFunction) \ | 109 V(InvokeFunction) \ |
| 109 V(IsConstructCallAndBranch) \ | 110 V(IsConstructCallAndBranch) \ |
| 110 V(IsNilAndBranch) \ | 111 V(IsNilAndBranch) \ |
| 111 V(IsObjectAndBranch) \ | 112 V(IsObjectAndBranch) \ |
| 112 V(IsStringAndBranch) \ | 113 V(IsStringAndBranch) \ |
| 113 V(IsSmiAndBranch) \ | 114 V(IsSmiAndBranch) \ |
| 114 V(IsUndetectableAndBranch) \ | 115 V(IsUndetectableAndBranch) \ |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 } | 963 } |
| 963 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { | 964 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { |
| 964 lazy_deopt_env_ = env; | 965 lazy_deopt_env_ = env; |
| 965 } | 966 } |
| 966 | 967 |
| 967 private: | 968 private: |
| 968 LEnvironment* lazy_deopt_env_; | 969 LEnvironment* lazy_deopt_env_; |
| 969 }; | 970 }; |
| 970 | 971 |
| 971 | 972 |
| 973 class LInstanceSize: public LTemplateInstruction<1, 1, 0> { |
| 974 public: |
| 975 explicit LInstanceSize(LOperand* object) { |
| 976 inputs_[0] = object; |
| 977 } |
| 978 |
| 979 LOperand* object() { return inputs_[0]; } |
| 980 |
| 981 DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size") |
| 982 DECLARE_HYDROGEN_ACCESSOR(InstanceSize) |
| 983 }; |
| 984 |
| 985 |
| 972 class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { | 986 class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { |
| 973 public: | 987 public: |
| 974 LBoundsCheck(LOperand* index, LOperand* length) { | 988 LBoundsCheck(LOperand* index, LOperand* length) { |
| 975 inputs_[0] = index; | 989 inputs_[0] = index; |
| 976 inputs_[1] = length; | 990 inputs_[1] = length; |
| 977 } | 991 } |
| 978 | 992 |
| 979 LOperand* index() { return inputs_[0]; } | 993 LOperand* index() { return inputs_[0]; } |
| 980 LOperand* length() { return inputs_[1]; } | 994 LOperand* length() { return inputs_[1]; } |
| 981 | 995 |
| (...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2775 | 2789 |
| 2776 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2777 }; | 2791 }; |
| 2778 | 2792 |
| 2779 #undef DECLARE_HYDROGEN_ACCESSOR | 2793 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2780 #undef DECLARE_CONCRETE_INSTRUCTION | 2794 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2781 | 2795 |
| 2782 } } // namespace v8::internal | 2796 } } // namespace v8::internal |
| 2783 | 2797 |
| 2784 #endif // V8_IA32_LITHIUM_IA32_H_ | 2798 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |