mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
fix NPE with "IgnoreNative"
This commit is contained in:
parent
c6fc938a3d
commit
f5e8e48356
@ -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");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -87,7 +87,7 @@ class WatCodeSyntheticFunctionName extends ArraySyntheticFunctionName {
|
||||
*/
|
||||
@Override
|
||||
protected WasmCodeBuilder getCodeBuilder( WatParser watParser ) {
|
||||
watParser.parse( getCode(), null, getSignature( null ), -1 );
|
||||
watParser.parse( getCode(), null, getSignature( watParser.getTypeManager() ), -1 );
|
||||
return watParser;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user