Skip to content

Commit a81128f

Browse files
committed
Fix other.test_split_module_wasm64 test. NFC
This should have been part of #25432 but I guess I landed it too eagerly.
1 parent 7fb8817 commit a81128f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/other/test_split_module.post.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
#preprocess
2+
13
function saveProfileData() {
24
var __write_profile = wasmExports['__write_profile'];
35
if (__write_profile) {
4-
var len = __write_profile(0, 0);
6+
var len = __write_profile({{{ to64('0') }}}, 0);
57
var offset = _malloc(len);
6-
var actualLen = __write_profile(offset, len);
8+
var actualLen = __write_profile({{{ to64('offset') }}}, len);
79
var profile_data = HEAPU8.subarray(offset, offset + len);
810
if (typeof writeFile !== 'undefined') {
911
console.log('using writeFile')

0 commit comments

Comments
 (0)