Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 99de1cef424003793501b1512ea1c7856a4c17e3..5a3cf95e9e23a33488e289e190318797ccc8faae 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -700,6 +700,13 @@ CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, |
state_->variables_.insert(impl_); |
} |
+CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, |
+ MachineRepresentation rep, |
+ Node* initial_value) |
+ : CodeAssemblerVariable(assembler, rep) { |
+ Bind(initial_value); |
+} |
+ |
CodeAssemblerVariable::~CodeAssemblerVariable() { |
state_->variables_.erase(impl_); |
} |