From 2d3e190b01b9a9d1357a113f6ea86ad56ec5dbf8 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 21 Feb 2023 16:45:55 +0700 Subject: [PATCH] Remove usage of QUANTUM_SIZE, use POINTER_SIZE. --- src/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.js b/src/runtime.js index 012bd300698e4..9c13600cc2ea2 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -41,7 +41,7 @@ global.Runtime = { // sure there are not external users. // See: https://github.com/emscripten-core/emscripten/issues/15242 getNativeFieldSize: function(type) { - return Math.max(getNativeTypeSize(type), Runtime.QUANTUM_SIZE); + return Math.max(getNativeTypeSize(type), Runtime.POINTER_SIZE); }, POINTER_SIZE: POINTER_SIZE,