Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This patch also lays the groundwork for the single-use instruction trick to
reduce the number of temporary variables.
|
|
|
|
|
|
struct argument
|
|
|
|
|
|
|
|
|
|
Fix atomic decrement (operand order of emitted code was flipped).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instead of lowering pointers, teach the JSBackend how to handle them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getPrimitiveSizeInBits works on integer types but not on pointer types.
This change makes the code more robust, and will help support the removal
of the pointer lowering pass.
This also requires removing const from some Type pointers. Types are
immutable, so the convention is that const is redundant.
|
|
|
|
|
|
|
|
|
|
Emscripten doesn't need to legalize pointers.
|
|
|
|
|
|
|
|
Don't leave behind unreachable blocks with illegal instructions.
|
|
|
|
Several patches
|
|
By using a reverse-postorder traversal of the basic blocks, we can perform
this transform in a single pass. This eliminates the need for tricky
coordination between the passes.
|
|
|
|
|
|
|
|
|
|
|