Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 5e08d40dbb9b3e9e307d925c65cb53d52d1576ef..ce9e71ebd4157363de44f44206362e5ea9a95b8e 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -57,6 +57,12 @@ class RawMachineAssembler : public GraphBuilder, |
size_t parameter_count() const { return machine_sig_->parameter_count(); } |
MachineSignature* machine_sig() const { return machine_sig_; } |
+ Node* UndefinedConstant() { |
+ PrintableUnique<Object> unique = PrintableUnique<Object>::CreateImmovable( |
+ zone(), isolate()->factory()->undefined_value()); |
+ return NewNode(common()->HeapConstant(unique)); |
+ } |
+ |
// Parameters. |
Node* Parameter(size_t index); |