porffor 0.17.0-30b9c5fa5 → 0.17.0-3c2d70d66

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.
@@ -1,4 +1,5 @@
1
1
  // general widely used ecma262/spec functions
2
+ import type {} from './porffor.d.ts';
2
3
 
3
4
  // 7.1.5 ToIntegerOrInfinity (argument)
4
5
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
@@ -161,7 +161,6 @@ export const BuiltinVars = function() {
161
161
  [ Opcodes.call, importedFuncs.timeOrigin ]
162
162
  ];
163
163
 
164
-
165
164
  this.__Uint8Array_BYTES_PER_ELEMENT = number(1);
166
165
  this.__Int8Array_BYTES_PER_ELEMENT = number(1);
167
166
  this.__Uint8ClampedArray_BYTES_PER_ELEMENT = number(1);
@@ -205,7 +204,8 @@ export const BuiltinFuncs = function() {
205
204
  ...number(TYPES.number, Valtype.i32),
206
205
  [ Opcodes.local_get, 1 ],
207
206
  ...number(TYPES.number, Valtype.i32),
208
- [ Opcodes.call, builtin('__Math_pow') ]
207
+ [ Opcodes.call, builtin('__Math_pow') ],
208
+ [ Opcodes.drop ],
209
209
  ]
210
210
  };
211
211