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

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

Issue 727373002: [turbofan] add ForTesting to pipeline entry points that are for testing only. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 6 years, 1 month 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
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 3b68470a62fc16dac9e6bce119711a79d0446bcb..56afe7b6dd399df2049bbc43f3dbbb17c63cba65 100644
--- a/test/cctest/compiler/test-codegen-deopt.cc
+++ b/test/cctest/compiler/test-codegen-deopt.cc
@@ -63,12 +63,7 @@ class DeoptCodegenTester {
if (FLAG_trace_turbo) {
os << *schedule;
}
-
- Linkage* linkage = new (scope_->main_zone()) Linkage(info.zone(), &info);
- Pipeline pipeline(&info);
- result_code =
- pipeline.GenerateCodeForMachineGraph(linkage, graph, schedule);
-
+ result_code = Pipeline::GenerateCodeForTesting(&info, graph, schedule);
#ifdef OBJECT_PRINT
if (FLAG_print_opt_code || FLAG_trace_turbo) {
result_code->Print();
« no previous file with comments | « test/cctest/compiler/graph-builder-tester.cc ('k') | test/unittests/compiler/register-allocator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698