Skip to content

Commit 7916d60

Browse files
Remove usage of QUANTUM_SIZE, use POINTER_SIZE. (#18803)
1 parent 159b05b commit 7916d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ global.Runtime = {
4141
// sure there are not external users.
4242
// See: https://github.com/emscripten-core/emscripten/issues/15242
4343
getNativeFieldSize: function(type) {
44-
return Math.max(getNativeTypeSize(type), Runtime.QUANTUM_SIZE);
44+
return Math.max(getNativeTypeSize(type), Runtime.POINTER_SIZE);
4545
},
4646

4747
POINTER_SIZE: POINTER_SIZE,

0 commit comments

Comments
 (0)