aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/common/whwasmutil.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/common/whwasmutil.js')
-rw-r--r--ext/wasm/common/whwasmutil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/common/whwasmutil.js b/ext/wasm/common/whwasmutil.js
index bfe66dfb1..9f634d774 100644
--- a/ext/wasm/common/whwasmutil.js
+++ b/ext/wasm/common/whwasmutil.js
@@ -253,7 +253,7 @@ self.WhWasmUtilInstaller = function(target){
(target.ptrSizeof in the latter case). For any other value, it
returns the undefined value.
*/
- target.irSizeof = (n)=>{
+ target.sizeofIR = (n)=>{
switch(n){
case 'i8': return 1;
case 'i16': return 2;