From 54612e4f28bc1c68606713b1a5483dcde02047b5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 14 Nov 2020 15:26:12 -0800 Subject: [TypedFunctionReferences] Allow creation of literals with typed function types (#3358) * [TypedFunctionReferences] Allow creation of literals with typed function types * feedback --- src/wasm-interpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-interpreter.h') diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 6f0d10565..406938a56 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -1289,7 +1289,7 @@ public: Flow visitRefFunc(RefFunc* curr) { NOTE_ENTER("RefFunc"); NOTE_NAME(curr->func); - return Literal::makeFunc(curr->func); + return Literal::makeFunc(curr->func, curr->type); } Flow visitRefEq(RefEq* curr) { NOTE_ENTER("RefEq"); -- cgit v1.2.3