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

Unified Diff: test/cctest/compiler/test-instruction.cc

Issue 1026513004: Remove dangerous constructor from CompilationInfoWithZone. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler.h ('k') | test/cctest/compiler/test-linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-instruction.cc
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc
index 03d8660deb593541f9ae8693a219333e0ce2e607..92db31e2eb0874e14a75c0b885c0b5277ae9d0f3 100644
--- a/test/cctest/compiler/test-instruction.cc
+++ b/test/cctest/compiler/test-instruction.cc
@@ -31,7 +31,7 @@ class InstructionTester : public HandleAndZoneScope {
graph(zone()),
schedule(zone()),
fake_stub(main_isolate()),
- info(&fake_stub, main_isolate()),
+ info(&fake_stub, main_isolate(), zone()),
common(zone()),
machine(zone()),
code(NULL) {}
@@ -40,7 +40,7 @@ class InstructionTester : public HandleAndZoneScope {
Graph graph;
Schedule schedule;
FakeStubForTesting fake_stub;
- CompilationInfoWithZone info;
+ CompilationInfo info;
titzer 2015/03/23 17:04:34 Do we even need this field anymore?
Michael Starzinger 2015/03/23 17:10:54 Done. Same for some other fields.
CommonOperatorBuilder common;
MachineOperatorBuilder machine;
TestInstrSeq* code;
« no previous file with comments | « src/compiler.h ('k') | test/cctest/compiler/test-linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698