Commit Graph

3 Commits

Author SHA1 Message Date
Tyler McMullen
79cea5e18b Implement jump tables (#453)
* Add 'jump_table_entry' and 'indirect_jump' instructions.

* Update CodeSink to keep track of code size. Pretty up clif-util's disassembly output.

* Only disassemble the machine portion of output. Pretty print the read-only data after it.

* Update switch frontend code to use new br_table instruction w/ default.
2018-10-03 10:04:21 -07:00
Dan Gohman
52aa1d292a Update no_std support in cranelift-frontend. 2018-09-28 14:46:26 -07:00
bjorn3
2c53e2102c Add a sparse Switch usable instead of JumpTable to cranelift-frontend (#517)
* Add a sparse Switch usable instead of JumpTable to cranelift-frontend (fixes #438)
2018-09-25 07:34:32 -07:00