aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/common/whwasmutil.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-03 08:30:22 +0000
committerstephan <stephan@noemail.net>2022-10-03 08:30:22 +0000
commitbdfd7ea03a4764dcfaa091303c2b8bbf3fd323a0 (patch)
treea230569237a928a2b659ca5bafb2708c6878ac74 /ext/wasm/common/whwasmutil.js
parentef9cd12ec4d14c836e198171eef3e04f674bb039 (diff)
downloadsqlite-bdfd7ea03a4764dcfaa091303c2b8bbf3fd323a0.tar.gz
sqlite-bdfd7ea03a4764dcfaa091303c2b8bbf3fd323a0.zip
Partial revert of [a82e6faaa642] to remove the 'I' alias for 'j' wasm function signature letter. In hindsight, that change seems premature.
FossilOrigin-Name: dcd46af9141f4edf816010923941a76d0edd3f18cfe429c52f599ad2a0d52651
Diffstat (limited to 'ext/wasm/common/whwasmutil.js')
-rw-r--r--ext/wasm/common/whwasmutil.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/common/whwasmutil.js b/ext/wasm/common/whwasmutil.js
index b12759566..a0da492b0 100644
--- a/ext/wasm/common/whwasmutil.js
+++ b/ext/wasm/common/whwasmutil.js
@@ -389,7 +389,7 @@ self.WhWasmUtilInstaller = function(target){
- `i` = int32
- `p` = int32 ("pointer")
- - `j` or `I` = int64
+ - `j` = int64
- `f` = float32
- `d` = float64
- `v` = void, only legal for use as the result type
@@ -417,7 +417,7 @@ self.WhWasmUtilInstaller = function(target){
// Map of signature letters to type IR values
sigTypes: Object.assign(Object.create(null),{
i: 'i32', p: 'i32', P: 'i32', s: 'i32',
- j: 'i64', I: 'i64', f: 'f32', d: 'f64'
+ j: 'i64', f: 'f32', d: 'f64'
}),
// Map of type IR values to WASM type code values
typeCodes: Object.assign(Object.create(null),{