Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index b5459590f7640b1a35686d391d202a8867cc585e..53d508a52b7d5b19a7735eac9fb1e54f3ea1b717 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -128,6 +128,12 @@ class OperandGenerator { |
return ImmediateOperand::Create(index, zone()); |
} |
+ InstructionOperand* TempLocation(LinkageLocation location, MachineType type) { |
+ UnallocatedOperand* op = ToUnallocatedOperand(location, type); |
+ op->set_virtual_register(sequence()->NextVirtualRegister()); |
+ return op; |
+ } |
+ |
InstructionOperand* Label(BasicBlock* block) { |
// TODO(bmeurer): We misuse ImmediateOperand here. |
return TempImmediate(block->rpo_number()); |