aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/common/whwasmutil.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-12-25 22:55:45 +0000
committerstephan <stephan@noemail.net>2022-12-25 22:55:45 +0000
commitec35e92d1d52cbe92a3a283b510a45c8fb03c9d1 (patch)
treefc2d8c6e43d8416cf12cb01f40a13edee18e32f1 /ext/wasm/common/whwasmutil.js
parent6431f860aee2805999730e7fa7a9758d9789a90a (diff)
downloadsqlite-ec35e92d1d52cbe92a3a283b510a45c8fb03c9d1.tar.gz
sqlite-ec35e92d1d52cbe92a3a283b510a45c8fb03c9d1.zip
Rename the new wasm.irSizeof() to sizeofIR() because that seems clearer.
FossilOrigin-Name: 49a83ca3ba46d3ae8021fbdd72b48ce9181eea6845fa7bb7aa83b16fad1728be
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;