#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(
// 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);
CompilationInfo info;
BailoutId bailout_id;
Handle<Code> result_code;
- v8::internal::compiler::InstructionSequence* code;
+ TestInstrSeq* code;
Graph* graph;
};
DCHECK(schedule.rpo_order()->size() > 0);
}
InstructionBlocks* instruction_blocks =
- InstructionSequence::InstructionBlocksFor(main_zone(), &schedule);
+ TestInstrSeq::InstructionBlocksFor(main_zone(), &schedule);
code = new TestInstrSeq(main_zone(), instruction_blocks);
}