File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 56
56
* Runtime: fix caml_string_concat when not using JS strings (#1874 )
57
57
* Runtime: consistent bigarray hashing across all architectures (#1977 )
58
58
* Runtime: fix caml_utf8_of_utf16 bug in high surrogate case (#2008 )
59
+ * Runtime/wasm: fix method lookup (#2034 )
59
60
* Tools: fix jsoo_mktop and jsoo_mkcmis (#1877 )
60
61
* Toplevel: fix for when use-js-strings is disabled (#1997 )
61
62
Original file line number Diff line number Diff line change 387
387
(global.set $method_cache (local.get $a ))))
388
388
(local.set $ofs
389
389
(array.get $int_array (global.get $method_cache ) (local.get $cacheid )))
390
- (if (i32.eq (local.get $tag )
391
- (i31.get_s
392
- (ref.cast (ref i31)
393
- (array.get $block (local.get $meths ) (local.get $ofs )))))
390
+ (if (i32.lt_u (local.get $ofs ) (array.len (local.get $meths )))
394
391
(then
395
- (return
396
- (array.get $block
397
- (local.get $meths ) (i32.sub (local.get $ofs ) (i32.const 1 ))))))
392
+ (if (i32.eq (local.get $tag )
393
+ (i31.get_s
394
+ (ref.cast (ref i31)
395
+ (array.get $block (local.get $meths )
396
+ (local.get $ofs )))))
397
+ (then
398
+ (return
399
+ (array.get $block
400
+ (local.get $meths )
401
+ (i32.sub (local.get $ofs ) (i32.const 1 ))))))))
398
402
(local.set $li (i32.const 3 ))
399
403
(local.set $hi
400
404
(i32.add
You can’t perform that action at this time.
0 commit comments