mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
The object allocation does not consume a value from stack
This commit is contained in:
parent
783d22fa50
commit
ee4409311f
@ -219,12 +219,12 @@ class WasmStructInstruction extends WasmInstruction {
|
||||
@Override
|
||||
int getPopCount() {
|
||||
switch( op ) {
|
||||
case NEW:
|
||||
case NEW_DEFAULT:
|
||||
case GET:
|
||||
return 1;
|
||||
case SET:
|
||||
return 2;
|
||||
case NEW:
|
||||
case NEW_DEFAULT:
|
||||
case NULL:
|
||||
return 0;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user