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 #include "src/v8.h" | |
6 | |
7 #include "src/arm/lithium-codegen-arm.h" | 5 #include "src/arm/lithium-codegen-arm.h" |
8 #include "src/arm/lithium-gap-resolver-arm.h" | 6 #include "src/arm/lithium-gap-resolver-arm.h" |
9 | 7 |
10 namespace v8 { | 8 namespace v8 { |
11 namespace internal { | 9 namespace internal { |
12 | 10 |
13 // We use the root register to spill a value while breaking a cycle in parallel | 11 // We use the root register to spill a value while breaking a cycle in parallel |
14 // moves. We don't need access to roots while resolving the move list and using | 12 // moves. We don't need access to roots while resolving the move list and using |
15 // the root register has two advantages: | 13 // the root register has two advantages: |
16 // - It is not in crankshaft allocatable registers list, so it can't interfere | 14 // - It is not in crankshaft allocatable registers list, so it can't interfere |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 } | 292 } |
295 | 293 |
296 moves_[index].Eliminate(); | 294 moves_[index].Eliminate(); |
297 } | 295 } |
298 | 296 |
299 | 297 |
300 #undef __ | 298 #undef __ |
301 | 299 |
302 } // namespace internal | 300 } // namespace internal |
303 } // namespace v8 | 301 } // namespace v8 |
OLD | NEW |