| 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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
| 6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 227 |
| 228 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; } | 228 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; } |
| 229 HValue* hydrogen_value() const { return hydrogen_value_; } | 229 HValue* hydrogen_value() const { return hydrogen_value_; } |
| 230 | 230 |
| 231 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } | 231 void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } |
| 232 bool IsCall() const { return IsCallBits::decode(bit_field_); } | 232 bool IsCall() const { return IsCallBits::decode(bit_field_); } |
| 233 | 233 |
| 234 // Interface to the register allocator and iterators. | 234 // Interface to the register allocator and iterators. |
| 235 bool ClobbersTemps() const { return IsCall(); } | 235 bool ClobbersTemps() const { return IsCall(); } |
| 236 bool ClobbersRegisters() const { return IsCall(); } | 236 bool ClobbersRegisters() const { return IsCall(); } |
| 237 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { | 237 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { |
| 238 return IsCall(); | 238 return IsCall(); |
| 239 } | 239 } |
| 240 | 240 |
| 241 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } | 241 virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } |
| 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; |
| (...skipping 2563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2811 | 2811 |
| 2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2813 }; | 2813 }; |
| 2814 | 2814 |
| 2815 #undef DECLARE_HYDROGEN_ACCESSOR | 2815 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2816 #undef DECLARE_CONCRETE_INSTRUCTION | 2816 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2817 | 2817 |
| 2818 } } // namespace v8::int | 2818 } } // namespace v8::int |
| 2819 | 2819 |
| 2820 #endif // V8_X64_LITHIUM_X64_H_ | 2820 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |