[WebAssembly] Initial varargs support.
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyInstrCall.td
index 018d26cfacda1a73582e0b647b88304e67e7510a..6b7d03da48970867aef1f9632db622c4055ca0c4 100644 (file)
@@ -19,8 +19,8 @@ let Defs = [ARGUMENTS] in {
 let isCodeGenOnly = 1 in {
 def ADJCALLSTACKDOWN : I<(outs), (ins i64imm:$amt),
                          [(WebAssemblycallseq_start timm:$amt)]>;
 let isCodeGenOnly = 1 in {
 def ADJCALLSTACKDOWN : I<(outs), (ins i64imm:$amt),
                          [(WebAssemblycallseq_start timm:$amt)]>;
-def ADJCALLSTACKUP : I<(outs), (ins i64imm:$amt1, i64imm:$amt2),
-                       [(WebAssemblycallseq_end timm:$amt1, timm:$amt2)]>;
+def ADJCALLSTACKUP : I<(outs), (ins i64imm:$amt),
+                       [(WebAssemblycallseq_end timm:$amt, undef)]>;
 } // isCodeGenOnly = 1
 
 multiclass CALL<WebAssemblyRegClass vt> {
 } // isCodeGenOnly = 1
 
 multiclass CALL<WebAssemblyRegClass vt> {