OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 HValue* hydrogen_value() const { return hydrogen_value_; } | 240 HValue* hydrogen_value() const { return hydrogen_value_; } |
241 | 241 |
242 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } | 242 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } |
243 | 243 |
244 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } | 244 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } |
245 bool IsCall() const { return IsCallBits::decode(bit_field_); } | 245 bool IsCall() const { return IsCallBits::decode(bit_field_); } |
246 | 246 |
247 // Interface to the register allocator and iterators. | 247 // Interface to the register allocator and iterators. |
248 bool ClobbersTemps() const { return IsCall(); } | 248 bool ClobbersTemps() const { return IsCall(); } |
249 bool ClobbersRegisters() const { return IsCall(); } | 249 bool ClobbersRegisters() const { return IsCall(); } |
250 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { | 250 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { |
251 return IsCall(); | 251 return IsCall(); |
252 } | 252 } |
253 bool IsMarkedAsCall() const { return IsCall(); } | 253 bool IsMarkedAsCall() const { return IsCall(); } |
254 | 254 |
255 virtual bool HasResult() const = 0; | 255 virtual bool HasResult() const = 0; |
256 virtual LOperand* result() const = 0; | 256 virtual LOperand* result() const = 0; |
257 | 257 |
258 virtual int InputCount() = 0; | 258 virtual int InputCount() = 0; |
259 virtual LOperand* InputAt(int i) = 0; | 259 virtual LOperand* InputAt(int i) = 0; |
260 virtual int TempCount() = 0; | 260 virtual int TempCount() = 0; |
(...skipping 2809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3070 | 3070 |
3071 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3071 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3072 }; | 3072 }; |
3073 | 3073 |
3074 #undef DECLARE_HYDROGEN_ACCESSOR | 3074 #undef DECLARE_HYDROGEN_ACCESSOR |
3075 #undef DECLARE_CONCRETE_INSTRUCTION | 3075 #undef DECLARE_CONCRETE_INSTRUCTION |
3076 | 3076 |
3077 } } // namespace v8::internal | 3077 } } // namespace v8::internal |
3078 | 3078 |
3079 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3079 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |