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

Unified Diff: src/compiler/pipeline.cc

Issue 1087983007: [turbofan] Cleanup register allocator a little after split. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/register-allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index ef1c83fcb81d3fcd5f7a587990ce315d009a3ce4..e8eaa216034d31c9f1fe770a3c545613053c152d 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -747,7 +747,7 @@ struct AllocateGeneralRegistersPhase {
void Run(PipelineData* data, Zone* temp_zone) {
LinearScanAllocator allocator(data->register_allocation_data(),
- GENERAL_REGISTERS);
+ GENERAL_REGISTERS, temp_zone);
allocator.AllocateRegisters();
}
};
@@ -758,7 +758,7 @@ struct AllocateDoubleRegistersPhase {
void Run(PipelineData* data, Zone* temp_zone) {
LinearScanAllocator allocator(data->register_allocation_data(),
- DOUBLE_REGISTERS);
+ DOUBLE_REGISTERS, temp_zone);
allocator.AllocateRegisters();
}
};
@@ -809,7 +809,7 @@ struct ResolveControlFlowPhase {
void Run(PipelineData* data, Zone* temp_zone) {
LiveRangeConnector connector(data->register_allocation_data());
- connector.ResolveControlFlow();
+ connector.ResolveControlFlow(temp_zone);
}
};
« no previous file with comments | « no previous file | src/compiler/register-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698