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

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

Issue 1896813003: [turbofan] store block id with instruction (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-selector.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 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 } 1515 }
1516 1516
1517 return code; 1517 return code;
1518 } 1518 }
1519 1519
1520 1520
1521 void Pipeline::AllocateRegisters(const RegisterConfiguration* config, 1521 void Pipeline::AllocateRegisters(const RegisterConfiguration* config,
1522 CallDescriptor* descriptor, 1522 CallDescriptor* descriptor,
1523 bool run_verifier) { 1523 bool run_verifier) {
1524 PipelineData* data = this->data_; 1524 PipelineData* data = this->data_;
1525
1526 // Don't track usage for this zone in compiler stats. 1525 // Don't track usage for this zone in compiler stats.
1527 base::SmartPointer<Zone> verifier_zone; 1526 base::SmartPointer<Zone> verifier_zone;
1528 RegisterAllocatorVerifier* verifier = nullptr; 1527 RegisterAllocatorVerifier* verifier = nullptr;
1529 if (run_verifier) { 1528 if (run_verifier) {
1530 verifier_zone.Reset(new Zone(isolate()->allocator())); 1529 verifier_zone.Reset(new Zone(isolate()->allocator()));
1531 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier( 1530 verifier = new (verifier_zone.get()) RegisterAllocatorVerifier(
1532 verifier_zone.get(), config, data->sequence()); 1531 verifier_zone.get(), config, data->sequence());
1533 } 1532 }
1534 1533
1535 base::SmartArrayPointer<char> debug_name; 1534 base::SmartArrayPointer<char> debug_name;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 } 1606 }
1608 1607
1609 data->DeleteRegisterAllocationZone(); 1608 data->DeleteRegisterAllocationZone();
1610 } 1609 }
1611 1610
1612 Isolate* Pipeline::isolate() const { return info()->isolate(); } 1611 Isolate* Pipeline::isolate() const { return info()->isolate(); }
1613 1612
1614 } // namespace compiler 1613 } // namespace compiler
1615 } // namespace internal 1614 } // namespace internal
1616 } // namespace v8 1615 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698