Commit Graph

20 Commits

Author SHA1 Message Date
J. Gareth "Curious Kit" Moreton
b804fc5164 * Flags specific to TAddNode have been moved to their own field 2024-03-02 21:31:21 +01:00
Nikolay Nikolov
12a2c56461 - removed thlcgwasm.incblock, .decblock and br_blocks, as branching is now done
entirely with labels
2021-10-22 17:42:29 +03:00
Nikolay Nikolov
41db71c21c + implemented the <= operator for smallsets for WebAssembly 2021-10-03 04:37:13 +03:00
Nikolay Nikolov
4d571a1928 * fixed code generation for 'boolean64 and/or boolean64' for WebAssembly 2021-10-01 02:43:55 +03:00
nickysn
08f9a68798 - removed unused local variables from twasmaddnode.second_generic_compare
git-svn-id: trunk@49435 -
2021-06-01 19:11:21 +00:00
nickysn
8dd591e838 + implemented twasmaddnode.second_cmpsmallset for equaln and unequaln
git-svn-id: trunk@49434 -
2021-06-01 19:10:20 +00:00
nickysn
4b6cbde849 * fixed 64-bit float comparison
git-svn-id: branches/wasm@48284 -
2021-01-21 21:50:19 +00:00
nickysn
e1b98a515a * fixed class name in comment
git-svn-id: branches/wasm@48191 -
2021-01-19 12:58:16 +00:00
nickysn
dbc7cb9001 * set expectloc correctly in the WASM add node (it is never LOC_FLAGS or LOC_JUMP, but LOC_REGISTER instead)
git-svn-id: branches/wasm@48190 -
2021-01-19 12:55:29 +00:00
nickysn
374882455b - disallow (i.e. generate internal errors) the use of a_cmp_*_label functions
for the WebAssembly target, because it doesn't support jumps to labels
* the previous implementation of a_cmp_*_label was a hack, that ignored the
  label parameter. These functions are now moved to the newly introduced
  a_cmp_*_stack functions.

git-svn-id: branches/wasm@48175 -
2021-01-18 21:32:35 +00:00
nickysn
cf35b0d2a9 * fixed twasmaddnode.second_cmpfloat
git-svn-id: branches/wasm@48080 -
2021-01-05 08:13:49 +00:00
nickysn
28a7f25f4c * various fixes for tracking the stack and correctly loading the child node values to the stack, as well as setting the result location
git-svn-id: branches/wasm@48069 -
2021-01-04 18:11:32 +00:00
nickysn
1efcb800f5 + activate twasmaddnode.second_cmpboolean
git-svn-id: branches/wasm@48068 -
2021-01-04 17:31:40 +00:00
nickysn
97430823cf * fix for the stack tracking in twasmaddnode.second_addboolean
git-svn-id: branches/wasm@48056 -
2021-01-04 15:32:27 +00:00
nickysn
5ea9bd6924 + uncommented the 64-bit handling code in the wasm add node
git-svn-id: branches/wasm@48047 -
2021-01-04 14:45:11 +00:00
nickysn
2212bd5f3c * fixed the stack tracking in twasmaddnode.second_addboolean
git-svn-id: branches/wasm@48044 -
2021-01-04 13:58:47 +00:00
nickysn
f40bfcc662 + also call incblock and decblock in the second_addboolean for the shortcut boolean evaluation. This avoids breaking
break and continue inside inlined functions, used in an expression.

git-svn-id: branches/wasm@48033 -
2021-01-04 11:58:47 +00:00
nickysn
b6735179ed * use a functype operand for a_if, instead of hardcoding
git-svn-id: branches/wasm@48028 -
2021-01-04 11:01:18 +00:00
nickysn
e1b6f0bd85 + introduced end_block, end_if, end_loop
git-svn-id: branches/wasm@46842 -
2020-09-11 15:20:00 +00:00
nickysn
c9ee72b05a * the compiler/wasm directory renamed compiler/wasm32
git-svn-id: branches/wasm@46251 -
2020-08-05 14:19:18 +00:00