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

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

Issue 1810293003: [turbofan] Moved split edge form validation lower (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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') | no next file » | 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 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 RegisterAllocatorVerifier* verifier = nullptr; 1438 RegisterAllocatorVerifier* verifier = nullptr;
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 #endif 1449 #endif
1449 1450
1450 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get()); 1451 data->InitializeRegisterAllocationData(config, descriptor, debug_name.get());
1451 if (info()->is_osr()) { 1452 if (info()->is_osr()) {
1452 OsrHelper osr_helper(info()); 1453 OsrHelper osr_helper(info());
1453 osr_helper.SetupFrame(data->frame()); 1454 osr_helper.SetupFrame(data->frame());
1454 } 1455 }
1455 1456
1456 Run<MeetRegisterConstraintsPhase>(); 1457 Run<MeetRegisterConstraintsPhase>();
1457 Run<ResolvePhisPhase>(); 1458 Run<ResolvePhisPhase>();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 } 1520 }
1520 1521
1521 data->DeleteRegisterAllocationZone(); 1522 data->DeleteRegisterAllocationZone();
1522 } 1523 }
1523 1524
1524 Isolate* Pipeline::isolate() const { return info()->isolate(); } 1525 Isolate* Pipeline::isolate() const { return info()->isolate(); }
1525 1526
1526 } // namespace compiler 1527 } // namespace compiler
1527 } // namespace internal 1528 } // namespace internal
1528 } // namespace v8 1529 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698