Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 04e0fee704e9c7904c2aefc3f44732a67cd32e27..9cb394e8b387024b4f6e057bc4a7e95b0b204271 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -64,6 +64,12 @@ class RawMachineAssembler : public GraphBuilder, |
return call_descriptor_builder_->parameter_types(); |
} |
+ Node* UndefinedConstant() { |
+ PrintableUnique<Object> unique = PrintableUnique<Object>::CreateImmovable( |
+ zone(), isolate()->factory()->undefined_value()); |
+ return NewNode(common()->HeapConstant(unique)); |
+ } |
+ |
// Parameters. |
Node* Parameter(int index); |