From b6668d8ca5b08bdf69f057ecdc6ad8a588429761 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 3 Jun 2016 16:31:49 -0700 Subject: make call_indirect type a name, so that it is not a dependency on the module, which would break consistency and make some parallel passes tricky (#568) --- src/ast_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast_utils.h') diff --git a/src/ast_utils.h b/src/ast_utils.h index 600abd1b6..0c2c318e2 100644 --- a/src/ast_utils.h +++ b/src/ast_utils.h @@ -539,7 +539,7 @@ struct ExpressionAnalyzer { } case Expression::Id::CallIndirectId: { PUSH(CallIndirect, target); - HASH_PTR(CallIndirect, fullType); + HASH_NAME(CallIndirect, fullType); HASH(CallIndirect, operands.size()); for (Index i = 0; i < curr->cast()->operands.size(); i++) { PUSH(CallIndirect, operands[i]); -- cgit v1.2.3