Files
wasmtime/lib/cretonne/src
Jakob Stoklund Olesen 2aca35a9aa Return a function pointer from TargetIsa::encode().
Replace the isa::Legalize enumeration with a function pointer. This
allows an ISA to define its own specific legalization actions instead of
relying on the default two.

Generate a LEGALIZE_ACTIONS table for each ISA which contains
legalization function pointers indexed by the legalization codes that
are already in the encoding tables. Include this table in
isa/*/enc_tables.rs.

Give the `Encodings` iterator a reference to the action table and change
its `legalize()` method to return a function pointer instead of an
ISA-specific code.

The Result<> returned from TargetIsa::encode() no longer implements
Debug, so eliminate uses of unwrap and expect on that type.
2017-07-27 17:08:00 -07:00
..
2017-04-05 09:00:11 -07:00
2017-06-07 13:46:03 -07:00
2017-05-15 15:10:47 -07:00
2017-07-11 15:08:57 -07:00
2017-06-19 16:24:10 -07:00
2017-04-05 09:00:11 -07:00
2016-11-04 12:32:09 -07:00
2017-06-19 16:24:10 -07:00
2017-06-19 16:24:10 -07:00
2017-06-19 16:24:10 -07:00
2017-07-13 10:12:25 -07:00