We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9f1c3 commit fa099c1Copy full SHA for fa099c1
src/parseTools.js
@@ -295,7 +295,7 @@ function getHeapOffset(offset, type) {
295
const sz = getNativeTypeSize(type);
296
const shifts = Math.log(sz) / Math.LN2;
297
if (MEMORY64 == 1) {
298
- return `((${offset})/2**${shifts})`;
+ return `((${offset})/${2 ** shifts})`;
299
} else {
300
return `((${offset})>>${shifts})`;
301
}
0 commit comments