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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
| 9 #include "src/ia32/lithium-codegen-ia32.h" |
9 #include "src/ia32/lithium-gap-resolver-ia32.h" | 10 #include "src/ia32/lithium-gap-resolver-ia32.h" |
10 #include "src/ia32/lithium-codegen-ia32.h" | |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 LGapResolver::LGapResolver(LCodeGen* owner) | 15 LGapResolver::LGapResolver(LCodeGen* owner) |
16 : cgen_(owner), | 16 : cgen_(owner), |
17 moves_(32, owner->zone()), | 17 moves_(32, owner->zone()), |
18 source_uses_(), | 18 source_uses_(), |
19 destination_uses_(), | 19 destination_uses_(), |
20 spilled_register_(-1) {} | 20 spilled_register_(-1) {} |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 } else if (destination->IsRegister()) { | 473 } else if (destination->IsRegister()) { |
474 source_uses_[destination->index()] = CountSourceUses(destination); | 474 source_uses_[destination->index()] = CountSourceUses(destination); |
475 } | 475 } |
476 } | 476 } |
477 | 477 |
478 #undef __ | 478 #undef __ |
479 | 479 |
480 } } // namespace v8::internal | 480 } } // namespace v8::internal |
481 | 481 |
482 #endif // V8_TARGET_ARCH_IA32 | 482 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |