porffor 0.55.16 → 0.55.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,8 +131,7 @@ export const BuiltinFuncs = function() {
131
131
  number(TYPES.number, Valtype.i32),
132
132
  [ Opcodes.local_get, 1 ],
133
133
  number(TYPES.number, Valtype.i32),
134
- [ Opcodes.call, builtin('__Math_pow') ],
135
- [ Opcodes.drop ],
134
+ [ Opcodes.call, builtin('__Math_pow') ]
136
135
  ]
137
136
  };
138
137
 
@@ -756,6 +755,7 @@ export const BuiltinFuncs = function() {
756
755
  params: [ Valtype.i32, Valtype.i32 ],
757
756
  locals: [],
758
757
  returns: [],
758
+ returnType: TYPES.undefined,
759
759
  wasm: [
760
760
  // dst
761
761
  [ Opcodes.local_get, 1 ],
@@ -74,9 +74,7 @@ export default function({ builtinFuncs }, Prefs) {
74
74
  number(flags, Valtype.i32),
75
75
  number(TYPES.number, Valtype.i32),
76
76
 
77
- [ Opcodes.call, builtin('__Porffor_object_expr_initWithFlags') ],
78
- [ Opcodes.drop ],
79
- [ Opcodes.drop ]
77
+ [ Opcodes.call, builtin('__Porffor_object_expr_initWithFlags') ]
80
78
  );
81
79
  }
82
80