OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_H_ |
7 | 7 |
8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 HValue* hydrogen_value() const { return hydrogen_value_; } | 232 HValue* hydrogen_value() const { return hydrogen_value_; } |
233 | 233 |
234 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } | 234 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } |
235 | 235 |
236 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } | 236 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } |
237 bool IsCall() const { return IsCallBits::decode(bit_field_); } | 237 bool IsCall() const { return IsCallBits::decode(bit_field_); } |
238 | 238 |
239 // Interface to the register allocator and iterators. | 239 // Interface to the register allocator and iterators. |
240 bool ClobbersTemps() const { return IsCall(); } | 240 bool ClobbersTemps() const { return IsCall(); } |
241 bool ClobbersRegisters() const { return IsCall(); } | 241 bool ClobbersRegisters() const { return IsCall(); } |
242 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { | 242 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { |
243 return IsCall(); | 243 return IsCall(); |
244 } | 244 } |
245 | 245 |
246 // Interface to the register allocator and iterators. | 246 // Interface to the register allocator and iterators. |
247 bool IsMarkedAsCall() const { return IsCall(); } | 247 bool IsMarkedAsCall() const { return IsCall(); } |
248 | 248 |
249 virtual bool HasResult() const = 0; | 249 virtual bool HasResult() const = 0; |
250 virtual LOperand* result() const = 0; | 250 virtual LOperand* result() const = 0; |
251 | 251 |
252 LOperand* FirstInput() { return InputAt(0); } | 252 LOperand* FirstInput() { return InputAt(0); } |
(...skipping 2588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 | 2841 |
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2843 }; | 2843 }; |
2844 | 2844 |
2845 #undef DECLARE_HYDROGEN_ACCESSOR | 2845 #undef DECLARE_HYDROGEN_ACCESSOR |
2846 #undef DECLARE_CONCRETE_INSTRUCTION | 2846 #undef DECLARE_CONCRETE_INSTRUCTION |
2847 | 2847 |
2848 } } // namespace v8::internal | 2848 } } // namespace v8::internal |
2849 | 2849 |
2850 #endif // V8_ARM_LITHIUM_ARM_H_ | 2850 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |