| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 HValue* hydrogen_value() const { return hydrogen_value_; } | 229 HValue* hydrogen_value() const { return hydrogen_value_; } |
| 230 | 230 |
| 231 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } | 231 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } |
| 232 | 232 |
| 233 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } | 233 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } |
| 234 bool IsCall() const { return IsCallBits::decode(bit_field_); } | 234 bool IsCall() const { return IsCallBits::decode(bit_field_); } |
| 235 | 235 |
| 236 // Interface to the register allocator and iterators. | 236 // Interface to the register allocator and iterators. |
| 237 bool ClobbersTemps() const { return IsCall(); } | 237 bool ClobbersTemps() const { return IsCall(); } |
| 238 bool ClobbersRegisters() const { return IsCall(); } | 238 bool ClobbersRegisters() const { return IsCall(); } |
| 239 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { | 239 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { |
| 240 return IsCall(); | 240 return IsCall(); |
| 241 } | 241 } |
| 242 | 242 |
| 243 // Interface to the register allocator and iterators. | 243 // Interface to the register allocator and iterators. |
| 244 bool IsMarkedAsCall() const { return IsCall(); } | 244 bool IsMarkedAsCall() const { return IsCall(); } |
| 245 | 245 |
| 246 virtual bool HasResult() const = 0; | 246 virtual bool HasResult() const = 0; |
| 247 virtual LOperand* result() const = 0; | 247 virtual LOperand* result() const = 0; |
| 248 | 248 |
| 249 LOperand* FirstInput() { return InputAt(0); } | 249 LOperand* FirstInput() { return InputAt(0); } |
| (...skipping 2547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2797 | 2797 |
| 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2799 }; | 2799 }; |
| 2800 | 2800 |
| 2801 #undef DECLARE_HYDROGEN_ACCESSOR | 2801 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2802 #undef DECLARE_CONCRETE_INSTRUCTION | 2802 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2803 | 2803 |
| 2804 } } // namespace v8::internal | 2804 } } // namespace v8::internal |
| 2805 | 2805 |
| 2806 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2806 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |