Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index 616b6a53810cf02bbbd68f16b585e24c884edd5a..63804b88e642f65fabd2c461cd9bbc17b3a25f8b 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -143,6 +143,10 @@ class OperandGenerator { |
return sequence()->AddImmediate(ToConstant(node)); |
} |
+ InstructionOperand UseImmediate(int immediate) { |
+ return sequence()->AddImmediate(Constant(immediate)); |
+ } |
+ |
InstructionOperand UseLocation(Node* node, LinkageLocation location) { |
return Use(node, ToUnallocatedOperand(location, GetVReg(node))); |
} |