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/pipeline.h" | 5 #include "src/compiler/pipeline.h" |
6 | 6 |
7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "src/base/adapters.h" | 10 #include "src/base/adapters.h" |
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 if (run_verifier) { | 1439 if (run_verifier) { |
1440 verifier_zone.Reset(new Zone()); | 1440 verifier_zone.Reset(new Zone()); |
1441 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier( | 1441 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier( |
1442 verifier_zone.get(), config, data->sequence()); | 1442 verifier_zone.get(), config, data->sequence()); |
1443 } | 1443 } |
1444 | 1444 |
1445 base::SmartArrayPointer<char> debug_name; | 1445 base::SmartArrayPointer<char> debug_name; |
1446 #ifdef DEBUG | 1446 #ifdef DEBUG |
1447 debug_name = info()->GetDebugName(); | 1447 debug_name = info()->GetDebugName(); |
1448 data_->sequence()->ValidateEdgeSplitForm(); | 1448 data_->sequence()->ValidateEdgeSplitForm(); |
| 1449 data_->sequence()->ValidateDeferredBlockExitPaths(); |
1449 #endif | 1450 #endif |
1450 | 1451 |
1451 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get()); | 1452 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get()); |
1452 if (info()->is_osr()) { | 1453 if (info()->is_osr()) { |
1453 OsrHelper osr_helper(info()); | 1454 OsrHelper osr_helper(info()); |
1454 osr_helper.SetupFrame(data->frame()); | 1455 osr_helper.SetupFrame(data->frame()); |
1455 } | 1456 } |
1456 | 1457 |
1457 Run<MeetRegisterConstraintsPhase>(); | 1458 Run<MeetRegisterConstraintsPhase>(); |
1458 Run<ResolvePhisPhase>(); | 1459 Run<ResolvePhisPhase>(); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 } | 1521 } |
1521 | 1522 |
1522 data->DeleteRegisterAllocationZone(); | 1523 data->DeleteRegisterAllocationZone(); |
1523 } | 1524 } |
1524 | 1525 |
1525 Isolate* Pipeline::isolate() const { return info()->isolate(); } | 1526 Isolate* Pipeline::isolate() const { return info()->isolate(); } |
1526 | 1527 |
1527 } // namespace compiler | 1528 } // namespace compiler |
1528 } // namespace internal | 1529 } // namespace internal |
1529 } // namespace v8 | 1530 } // namespace v8 |
OLD | NEW |