| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 V(FunctionLiteral) \ | 98 V(FunctionLiteral) \ |
| 99 V(GetCachedArrayIndex) \ | 99 V(GetCachedArrayIndex) \ |
| 100 V(GlobalObject) \ | 100 V(GlobalObject) \ |
| 101 V(GlobalReceiver) \ | 101 V(GlobalReceiver) \ |
| 102 V(Goto) \ | 102 V(Goto) \ |
| 103 V(HasCachedArrayIndexAndBranch) \ | 103 V(HasCachedArrayIndexAndBranch) \ |
| 104 V(HasInstanceTypeAndBranch) \ | 104 V(HasInstanceTypeAndBranch) \ |
| 105 V(InnerAllocatedObject) \ | 105 V(InnerAllocatedObject) \ |
| 106 V(InstanceOf) \ | 106 V(InstanceOf) \ |
| 107 V(InstanceOfKnownGlobal) \ | 107 V(InstanceOfKnownGlobal) \ |
| 108 V(InstanceSize) \ | |
| 109 V(InstructionGap) \ | 108 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 109 V(Integer32ToDouble) \ |
| 111 V(Integer32ToSmi) \ | 110 V(Integer32ToSmi) \ |
| 112 V(InvokeFunction) \ | 111 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 112 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 113 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 114 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 115 V(IsSmiAndBranch) \ |
| 117 V(IsUndetectableAndBranch) \ | 116 V(IsUndetectableAndBranch) \ |
| 118 V(Label) \ | 117 V(Label) \ |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1141 virtual void SetDeferredLazyDeoptimizationEnvironment( | 1140 virtual void SetDeferredLazyDeoptimizationEnvironment( |
| 1142 LEnvironment* env) V8_OVERRIDE { | 1141 LEnvironment* env) V8_OVERRIDE { |
| 1143 lazy_deopt_env_ = env; | 1142 lazy_deopt_env_ = env; |
| 1144 } | 1143 } |
| 1145 | 1144 |
| 1146 private: | 1145 private: |
| 1147 LEnvironment* lazy_deopt_env_; | 1146 LEnvironment* lazy_deopt_env_; |
| 1148 }; | 1147 }; |
| 1149 | 1148 |
| 1150 | 1149 |
| 1151 class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1152 public: | |
| 1153 explicit LInstanceSize(LOperand* object) { | |
| 1154 inputs_[0] = object; | |
| 1155 } | |
| 1156 | |
| 1157 LOperand* object() { return inputs_[0]; } | |
| 1158 | |
| 1159 DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size") | |
| 1160 DECLARE_HYDROGEN_ACCESSOR(InstanceSize) | |
| 1161 }; | |
| 1162 | |
| 1163 | |
| 1164 class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> { | 1150 class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> { |
| 1165 public: | 1151 public: |
| 1166 LBoundsCheck(LOperand* index, LOperand* length) { | 1152 LBoundsCheck(LOperand* index, LOperand* length) { |
| 1167 inputs_[0] = index; | 1153 inputs_[0] = index; |
| 1168 inputs_[1] = length; | 1154 inputs_[1] = length; |
| 1169 } | 1155 } |
| 1170 | 1156 |
| 1171 LOperand* index() { return inputs_[0]; } | 1157 LOperand* index() { return inputs_[0]; } |
| 1172 LOperand* length() { return inputs_[1]; } | 1158 LOperand* length() { return inputs_[1]; } |
| 1173 | 1159 |
| (...skipping 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2911 | 2897 |
| 2912 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2898 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2913 }; | 2899 }; |
| 2914 | 2900 |
| 2915 #undef DECLARE_HYDROGEN_ACCESSOR | 2901 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2916 #undef DECLARE_CONCRETE_INSTRUCTION | 2902 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2917 | 2903 |
| 2918 } } // namespace v8::internal | 2904 } } // namespace v8::internal |
| 2919 | 2905 |
| 2920 #endif // V8_ARM_LITHIUM_ARM_H_ | 2906 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |