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

Unified Diff: test/cctest/compiler/test-codegen-deopt.cc

Issue 663333003: [turbofan] use ZonePool in most places in the compiler pipeline a temp zone is used. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 2 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 | « src/compiler/register-allocator.cc ('k') | test/cctest/compiler/test-control-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-codegen-deopt.cc
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc
index 0d2d5d142274b084d17a24a1e9ed3d4fe320a441..0feeda18598dcbb323fae40154ea76bad80869b8 100644
--- a/test/cctest/compiler/test-codegen-deopt.cc
+++ b/test/cctest/compiler/test-codegen-deopt.cc
@@ -70,7 +70,8 @@ class DeoptCodegenTester {
code = new v8::internal::compiler::InstructionSequence(scope_->main_zone(),
graph, schedule);
SourcePositionTable source_positions(graph);
- InstructionSelector selector(linkage, code, schedule, &source_positions);
+ InstructionSelector selector(scope_->main_zone(), linkage, code, schedule,
+ &source_positions);
selector.SelectInstructions();
if (FLAG_trace_turbo) {
@@ -79,7 +80,7 @@ class DeoptCodegenTester {
}
Frame frame;
- RegisterAllocator allocator(&frame, &info, code);
+ RegisterAllocator allocator(scope_->main_zone(), &frame, &info, code);
CHECK(allocator.Allocate());
if (FLAG_trace_turbo) {
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | test/cctest/compiler/test-control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698