Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index 736a961e40336c477e7b1d33aac3bee27023281b..9ce6f71a0f9949bb9b4ddc04ee2e76ed1e2f413f 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -880,6 +880,13 @@ const Operator* CommonOperatorBuilder::NumberConstant(volatile double value) { |
value); // parameter |
} |
+const Operator* CommonOperatorBuilder::PointerConstant(intptr_t value) { |
+ return new (zone()) Operator1<intptr_t>( // -- |
+ IrOpcode::kPointerConstant, Operator::kPure, // opcode |
+ "PointerConstant", // name |
+ 0, 0, 0, 1, 0, 0, // counts |
+ value); // parameter |
+} |
const Operator* CommonOperatorBuilder::HeapConstant( |
const Handle<HeapObject>& value) { |