nickysn
|
a478e15836
- removed some commented out code
|
4 years ago |
nickysn
|
7f31c03718
* update the flowcontrol set in the IF node pass_generate_code
|
4 years ago |
nickysn
|
c0e7035e50
+ set node location to LOC_VOID in the WebAssembly if node pass_generate_code
|
4 years ago |
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
|
4 years ago |
nickysn
|
5677e7ed81
* fixed crash with ifs with an empty then clause
|
4 years ago |
nickysn
|
bcb5c140d1
* free a stack slot after br_if
|
4 years ago |
nickysn
|
bfe4d44aef
* call decstack after if in twasmifnode.pass_generate_code to keep track of the stack balance correctly
|
4 years ago |
nickysn
|
aa102564c5
* fixed the break and continue br depth calculation
|
4 years ago |
nickysn
|
0a923963a9
* use the eqz instruction instead of "xor 1" in twasmwhilerepeatnode.pass_generate_code_condition for reversing the condition
|
4 years ago |
nickysn
|
0fae32d2b7
* simplified if-then-else code generation, since we now support void 'if' instructions
|
4 years ago |
nickysn
|
b6735179ed
* use a functype operand for a_if, instead of hardcoding
|
4 years ago |
nickysn
|
e1b6f0bd85
+ introduced end_block, end_if, end_loop
|
5 years ago |
nickysn
|
c9ee72b05a
* the compiler/wasm directory renamed compiler/wasm32
|
5 years ago |