| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
| 102 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
| 103 V(GlobalObject) \ | 103 V(GlobalObject) \ |
| 104 V(GlobalReceiver) \ | 104 V(GlobalReceiver) \ |
| 105 V(Goto) \ | 105 V(Goto) \ |
| 106 V(HasCachedArrayIndexAndBranch) \ | 106 V(HasCachedArrayIndexAndBranch) \ |
| 107 V(HasInstanceTypeAndBranch) \ | 107 V(HasInstanceTypeAndBranch) \ |
| 108 V(In) \ | 108 V(In) \ |
| 109 V(InstanceOf) \ | 109 V(InstanceOf) \ |
| 110 V(InstanceOfKnownGlobal) \ | 110 V(InstanceOfKnownGlobal) \ |
| 111 V(InstanceSize) \ |
| 111 V(InstructionGap) \ | 112 V(InstructionGap) \ |
| 112 V(Integer32ToDouble) \ | 113 V(Integer32ToDouble) \ |
| 113 V(Uint32ToDouble) \ | 114 V(Uint32ToDouble) \ |
| 114 V(InvokeFunction) \ | 115 V(InvokeFunction) \ |
| 115 V(IsConstructCallAndBranch) \ | 116 V(IsConstructCallAndBranch) \ |
| 116 V(IsNilAndBranch) \ | 117 V(IsNilAndBranch) \ |
| 117 V(IsObjectAndBranch) \ | 118 V(IsObjectAndBranch) \ |
| 118 V(IsStringAndBranch) \ | 119 V(IsStringAndBranch) \ |
| 119 V(IsSmiAndBranch) \ | 120 V(IsSmiAndBranch) \ |
| 120 V(IsUndetectableAndBranch) \ | 121 V(IsUndetectableAndBranch) \ |
| (...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 } | 974 } |
| 974 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { | 975 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { |
| 975 lazy_deopt_env_ = env; | 976 lazy_deopt_env_ = env; |
| 976 } | 977 } |
| 977 | 978 |
| 978 private: | 979 private: |
| 979 LEnvironment* lazy_deopt_env_; | 980 LEnvironment* lazy_deopt_env_; |
| 980 }; | 981 }; |
| 981 | 982 |
| 982 | 983 |
| 984 class LInstanceSize: public LTemplateInstruction<1, 1, 0> { |
| 985 public: |
| 986 explicit LInstanceSize(LOperand* object) { |
| 987 inputs_[0] = object; |
| 988 } |
| 989 |
| 990 LOperand* object() { return inputs_[0]; } |
| 991 |
| 992 DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size") |
| 993 DECLARE_HYDROGEN_ACCESSOR(InstanceSize) |
| 994 }; |
| 995 |
| 996 |
| 983 class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { | 997 class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { |
| 984 public: | 998 public: |
| 985 LBoundsCheck(LOperand* index, LOperand* length) { | 999 LBoundsCheck(LOperand* index, LOperand* length) { |
| 986 inputs_[0] = index; | 1000 inputs_[0] = index; |
| 987 inputs_[1] = length; | 1001 inputs_[1] = length; |
| 988 } | 1002 } |
| 989 | 1003 |
| 990 LOperand* index() { return inputs_[0]; } | 1004 LOperand* index() { return inputs_[0]; } |
| 991 LOperand* length() { return inputs_[1]; } | 1005 LOperand* length() { return inputs_[1]; } |
| 992 | 1006 |
| (...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2670 | 2684 |
| 2671 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2685 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2672 }; | 2686 }; |
| 2673 | 2687 |
| 2674 #undef DECLARE_HYDROGEN_ACCESSOR | 2688 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2675 #undef DECLARE_CONCRETE_INSTRUCTION | 2689 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2676 | 2690 |
| 2677 } } // namespace v8::internal | 2691 } } // namespace v8::internal |
| 2678 | 2692 |
| 2679 #endif // V8_ARM_LITHIUM_ARM_H_ | 2693 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |