fix NPE with "IgnoreNative"

This commit is contained in:
Volker Berlin 2022-07-27 19:48:49 +02:00
parent c6fc938a3d
commit f5e8e48356
No known key found for this signature in database
GPG Key ID: 988423EF815BE4CB

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2019 Volker Berlin (i-net software) Copyright 2019 - 2022 Volker Berlin (i-net software)
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -87,7 +87,7 @@ class WatCodeSyntheticFunctionName extends ArraySyntheticFunctionName {
*/ */
@Override @Override
protected WasmCodeBuilder getCodeBuilder( WatParser watParser ) { protected WasmCodeBuilder getCodeBuilder( WatParser watParser ) {
watParser.parse( getCode(), null, getSignature( null ), -1 ); watParser.parse( getCode(), null, getSignature( watParser.getTypeManager() ), -1 );
return watParser; return watParser;
} }
} }