| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_LITHIUM_ALLOCATOR_INL_H_ | 5 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_ |
| 6 #define V8_LITHIUM_ALLOCATOR_INL_H_ | 6 #define V8_LITHIUM_ALLOCATOR_INL_H_ |
| 7 | 7 |
| 8 #include "src/lithium-allocator.h" | 8 #include "src/lithium-allocator.h" |
| 9 | 9 |
| 10 #if V8_TARGET_ARCH_IA32 | 10 #if V8_TARGET_ARCH_IA32 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 if (range->Kind() == DOUBLE_REGISTERS) { | 47 if (range->Kind() == DOUBLE_REGISTERS) { |
| 48 assigned_double_registers_->Add(reg); | 48 assigned_double_registers_->Add(reg); |
| 49 } else { | 49 } else { |
| 50 DCHECK(range->Kind() == GENERAL_REGISTERS); | 50 DCHECK(range->Kind() == GENERAL_REGISTERS); |
| 51 assigned_registers_->Add(reg); | 51 assigned_registers_->Add(reg); |
| 52 } | 52 } |
| 53 range->set_assigned_register(reg, chunk()->zone()); | 53 range->set_assigned_register(reg, chunk()->zone()); |
| 54 } | 54 } |
| 55 | 55 |
| 56 | 56 |
| 57 } } // namespace v8::internal | 57 } // namespace internal |
| 58 } // namespace v8 |
| 58 | 59 |
| 59 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ | 60 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ |
| OLD | NEW |