mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 12:19:30 +02:00
* map the currency type to the i64 WebAssembly type
git-svn-id: branches/wasm@48278 -
This commit is contained in:
parent
4fa09a6f8b
commit
0315ab00d8
@ -103,6 +103,8 @@ unit tgcpu;
|
||||
|
||||
if is_pointer(def) then
|
||||
wbt := wbt_i32 // wasm32
|
||||
else if is_currency(def) then
|
||||
wbt := wbt_i64
|
||||
else if is_ordinal(def) then begin
|
||||
if is_64bit(def) then wbt := wbt_i64
|
||||
else wbt := wbt_i32;
|
||||
|
Loading…
Reference in New Issue
Block a user