| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/compiler/linkage.h" | 5 #include "src/compiler/linkage.h" |
| 6 #include "src/compiler/register-allocator.h" | 6 #include "src/compiler/register-allocator.h" |
| 7 #include "src/string-stream.h" | 7 #include "src/string-stream.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2476 int reg) { | 2476 int reg) { |
| 2477 if (range->Kind() == DOUBLE_REGISTERS) { | 2477 if (range->Kind() == DOUBLE_REGISTERS) { |
| 2478 assigned_double_registers_->Add(reg); | 2478 assigned_double_registers_->Add(reg); |
| 2479 } else { | 2479 } else { |
| 2480 DCHECK(range->Kind() == GENERAL_REGISTERS); | 2480 DCHECK(range->Kind() == GENERAL_REGISTERS); |
| 2481 assigned_registers_->Add(reg); | 2481 assigned_registers_->Add(reg); |
| 2482 } | 2482 } |
| 2483 range->set_assigned_register(reg, code_zone()); | 2483 range->set_assigned_register(reg, code_zone()); |
| 2484 } | 2484 } |
| 2485 | 2485 |
| 2486 } | 2486 } // namespace compiler |
| 2487 } | 2487 } // namespace internal |
| 2488 } // namespace v8::internal::compiler | 2488 } // namespace v8 |
| OLD | NEW |