Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index 5e8680e1d8bf658d9b86552969dd0e449d4afb6f..63a4e9e2df799a6838f5862a4e28d0d60cd55844 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -139,6 +139,10 @@ class OperandGenerator { |
} |
} |
+ InstructionOperand UseImmediate(int immediate) { |
+ return sequence()->AddImmediate(Constant(immediate)); |
+ } |
+ |
InstructionOperand UseImmediate(Node* node) { |
return sequence()->AddImmediate(ToConstant(node)); |
} |