emit_x64: EmitX64::Emit: block.Location() returns by value

This commit is contained in:
MerryMage 2016-08-26 19:43:29 +01:00
parent 79545661b3
commit 814348371e

View file

@ -46,7 +46,7 @@ static void EraseInstruction(IR::Block& block, IR::Inst* inst) {
}
EmitX64::BlockDescriptor EmitX64::Emit(IR::Block& block) {
const Arm::LocationDescriptor& descriptor = block.Location();
const Arm::LocationDescriptor descriptor = block.Location();
reg_alloc.Reset();