porffor 0.37.3 → 0.37.5

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.
package/README.md CHANGED
@@ -208,7 +208,7 @@ Mostly for reducing size. I do not really care about compiler perf/time as long
208
208
  - `i64.extend_i32_s`, `i32.wrap_i64` -> ``
209
209
  - `f64.convert_i32_u`, `i32.trunc_sat_f64_s` -> ``
210
210
  - `return`, `end` -> `end`
211
- - Change const, convert to const of converted valtype (eg `f64.const`, `i32.trunc_sat_f64_s -> `i32.const`)
211
+ - Change const, convert to const of converted valtype (eg `f64.const`, `i32.trunc_sat_f64_s` -> `i32.const`)
212
212
  - Remove some redundant sets/gets
213
213
  - Remove unneeded single just used vars
214
214
  - Remove unneeded blocks (no `br`s inside)
@@ -856,7 +856,7 @@ export const BuiltinFuncs = function() {
856
856
  typedParams: true,
857
857
  locals: [ Valtype.i32, Valtype.i32 ],
858
858
  returns: [ valtypeBinary ],
859
- returnType: Prefs.bytestring ? TYPES.bytestring : TYPES.string,
859
+ returnType: TYPES.bytestring,
860
860
  wasm: (scope, { typeSwitch, makeString }) => {
861
861
  const bc = {};
862
862
  for (const x in TYPE_NAMES) {