Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index dad49dd6388beab106a6aa1302e4a99a15c79ff5..85cc870e9d4bcc65b0c285998095c98d766c0a9a 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -30,8 +30,8 @@ class InstructionTester : public HandleAndZoneScope { |
: isolate(main_isolate()), |
graph(zone()), |
schedule(zone()), |
- info(static_cast<HydrogenCodeStub*>(NULL), main_isolate()), |
- linkage(Linkage::ComputeIncoming(zone(), &info)), |
+ fake_stub(main_isolate()), |
+ info(&fake_stub, main_isolate()), |
common(zone()), |
machine(zone()), |
code(NULL) {} |
@@ -39,8 +39,8 @@ class InstructionTester : public HandleAndZoneScope { |
Isolate* isolate; |
Graph graph; |
Schedule schedule; |
+ FakeStubForTesting fake_stub; |
CompilationInfoWithZone info; |
- Linkage linkage; |
CommonOperatorBuilder common; |
MachineOperatorBuilder machine; |
TestInstrSeq* code; |