Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index ebe140a0068e02cef432edfddb886940aa256b15..a2f67201c1a0883d0123a7e9e3aa7a538d251a43 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -462,9 +462,15 @@ class CodeAssemblerLabel { |
: CodeAssemblerLabel(assembler, merged_variables.length(), |
&(merged_variables[0]), type) {} |
CodeAssemblerLabel( |
- CodeAssembler* assembler, size_t count, CodeAssemblerVariable** vars, |
+ CodeAssembler* assembler, size_t count, |
+ CodeAssemblerVariable* const* vars, |
CodeAssemblerLabel::Type type = CodeAssemblerLabel::kNonDeferred); |
CodeAssemblerLabel( |
+ CodeAssembler* assembler, |
+ std::initializer_list<CodeAssemblerVariable*> vars, |
+ CodeAssemblerLabel::Type type = CodeAssemblerLabel::kNonDeferred) |
+ : CodeAssemblerLabel(assembler, vars.size(), vars.begin(), type) {} |
+ CodeAssemblerLabel( |
CodeAssembler* assembler, CodeAssemblerVariable* merged_variable, |
CodeAssemblerLabel::Type type = CodeAssemblerLabel::kNonDeferred) |
: CodeAssemblerLabel(assembler, 1, &merged_variable, type) {} |