Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1291)

Side by Side Diff: src/compiler/pipeline.cc

Issue 1912093005: [turbofan] Single entry into deferred regions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 if (run_verifier) { 1516 if (run_verifier) {
1517 verifier_zone.Reset(new Zone(isolate()->allocator())); 1517 verifier_zone.Reset(new Zone(isolate()->allocator()));
1518 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier( 1518 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier(
1519 verifier_zone.get(), config, data->sequence()); 1519 verifier_zone.get(), config, data->sequence());
1520 } 1520 }
1521 1521
1522 base::SmartArrayPointer<char> debug_name; 1522 base::SmartArrayPointer<char> debug_name;
1523 #ifdef DEBUG 1523 #ifdef DEBUG
1524 debug_name = info()->GetDebugName(); 1524 debug_name = info()->GetDebugName();
1525 data_->sequence()->ValidateEdgeSplitForm(); 1525 data_->sequence()->ValidateEdgeSplitForm();
1526 data_->sequence()->ValidateDeferredBlockEntryPaths();
1526 data_->sequence()->ValidateDeferredBlockExitPaths(); 1527 data_->sequence()->ValidateDeferredBlockExitPaths();
1527 #endif 1528 #endif
1528 1529
1529 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get()); 1530 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get());
1530 if (info()->is_osr()) { 1531 if (info()->is_osr()) {
1531 OsrHelper osr_helper(info()); 1532 OsrHelper osr_helper(info());
1532 osr_helper.SetupFrame(data->frame()); 1533 osr_helper.SetupFrame(data->frame());
1533 } 1534 }
1534 1535
1535 Run<MeetRegisterConstraintsPhase>(); 1536 Run<MeetRegisterConstraintsPhase>();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 } 1595 }
1595 1596
1596 data->DeleteRegisterAllocationZone(); 1597 data->DeleteRegisterAllocationZone();
1597 } 1598 }
1598 1599
1599 Isolate* Pipeline::isolate() const { return info()->isolate(); } 1600 Isolate* Pipeline::isolate() const { return info()->isolate(); }
1600 1601
1601 } // namespace compiler 1602 } // namespace compiler
1602 } // namespace internal 1603 } // namespace internal
1603 } // namespace v8 1604 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698