diff options
Diffstat (limited to 'src/passes/I64ToI32Lowering.cpp')
-rw-r--r-- | src/passes/I64ToI32Lowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/I64ToI32Lowering.cpp b/src/passes/I64ToI32Lowering.cpp index 9b516342d..7a07d946b 100644 --- a/src/passes/I64ToI32Lowering.cpp +++ b/src/passes/I64ToI32Lowering.cpp @@ -267,14 +267,14 @@ struct I64ToI32Lowering : public WalkerPass<PostWalker<I64ToI32Lowering>> { } void visitCallIndirect(CallIndirect* curr) { - if (curr->isReturn && curr->sig.results == Type::i64) { + if (curr->isReturn && curr->heapType.getSignature().results == Type::i64) { Fatal() << "i64 to i32 lowering of return_call values not yet implemented"; } visitGenericCall<CallIndirect>( curr, [&](std::vector<Expression*>& args, Type results) { std::vector<Type> params; - for (const auto& param : curr->sig.params) { + for (const auto& param : curr->heapType.getSignature().params) { if (param == Type::i64) { params.push_back(Type::i32); params.push_back(Type::i32); |