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 ac1d0efb6173347e631355104feabc96fea5721b..548441b0cad925b14cc10e3c92cbf930a8bd3e59 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -31,6 +31,7 @@ using namespace v8::internal::compiler; |
#if V8_TURBOFAN_TARGET |
typedef RawMachineAssembler::Label MLabel; |
+typedef v8::internal::compiler::InstructionSequence TestInstrSeq; |
static Handle<JSFunction> NewFunction(const char* source) { |
return v8::Utils::OpenHandle( |
@@ -66,10 +67,9 @@ class DeoptCodegenTester { |
// Initialize the codegen and generate code. |
Linkage* linkage = new (scope_->main_zone()) Linkage(info.zone(), &info); |
InstructionBlocks* instruction_blocks = |
- InstructionSequence::InstructionBlocksFor(scope_->main_zone(), |
- schedule); |
- code = new v8::internal::compiler::InstructionSequence(scope_->main_zone(), |
- instruction_blocks); |
+ TestInstrSeq::InstructionBlocksFor(scope_->main_zone(), schedule); |
+ code = new TestInstrSeq::InstructionSequence(scope_->main_zone(), |
+ instruction_blocks); |
SourcePositionTable source_positions(graph); |
InstructionSelector selector(scope_->main_zone(), graph, linkage, code, |
schedule, &source_positions); |
@@ -107,7 +107,7 @@ class DeoptCodegenTester { |
CompilationInfo info; |
BailoutId bailout_id; |
Handle<Code> result_code; |
- v8::internal::compiler::InstructionSequence* code; |
+ TestInstrSeq* code; |
Graph* graph; |
}; |