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_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
| 9 #include "src/x87/lithium-codegen-x87.h" |
9 #include "src/x87/lithium-gap-resolver-x87.h" | 10 #include "src/x87/lithium-gap-resolver-x87.h" |
10 #include "src/x87/lithium-codegen-x87.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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } else if (destination->IsRegister()) { | 436 } else if (destination->IsRegister()) { |
437 source_uses_[destination->index()] = CountSourceUses(destination); | 437 source_uses_[destination->index()] = CountSourceUses(destination); |
438 } | 438 } |
439 } | 439 } |
440 | 440 |
441 #undef __ | 441 #undef __ |
442 | 442 |
443 } } // namespace v8::internal | 443 } } // namespace v8::internal |
444 | 444 |
445 #endif // V8_TARGET_ARCH_X87 | 445 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |