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
Muhammad Mominul Huque
d266b1a42d
Rename EntityMap to SecondaryMap ( #528 )
...
* Rename `EntityMap` to `SecondaryMap`
2018-09-26 12:03:44 -07:00
Dan Gohman
53a0c6c67f
Update to the rustfmt in rust 1.29, which is now stable.
2018-09-13 12:59:25 -07:00
Grégoire Geis
dbc547091f
Verifier now accepts multiple errors ( fixes #387 ). ( #452 )
...
* Verifier now accepts multiple errors (fixes #387 ).
2018-08-14 10:55:10 -07:00
Dan Gohman
cd75176f10
Update to the rustfmt in rust 1.28, which is now stable.
...
Also, rustfmt's --write-mode=check is now named --check.
2018-08-02 09:55:40 -07:00
Benjamin Bouvier
f72ff791b4
Promote the BasicBlock tuple to a real struct;
...
It makes reading code that uses it easier to understand.
2018-07-23 15:26:11 -07:00
Dan Gohman
13f22065a2
Rename verifier's Result and Error.
...
This provides consistency with similar types in other parts of
Cretonne, and avoids shadowing `Result` from the standard prelude.
2018-06-12 05:02:25 -07:00
Dan Gohman
bf597b7abf
Enable and fix several more clippy lints.
2018-04-17 17:05:03 -07:00
Dan Gohman
24fa169e1f
Rename the 'cretonne' crate to 'cretonne-codegen'.
...
This fixes the next part of #287 .
2018-04-17 09:46:56 -07:00