Dan Gohman
06bbd3e393
Pass the target isa when printing a function as a string.
...
This allows encodings and register names to be printed correctly.
2018-10-04 13:14:29 -07:00
Dan Gohman
f4dbd38a4c
Rename Cretonne to Cranelift!
2018-07-13 09:15:16 -07:00
Dan Gohman
4e64fc11c9
Rename subtest's Result to SubtestResult.
...
This avoids naming confusion with the standard `Result`, which is
included in the prelude.
2018-06-05 09:21:23 -07:00
Dan Gohman
1087ff3a01
Use to_string() instead of write!(&mut text, "{}", ....
2018-06-05 09:21:23 -07:00
Dan Gohman
22a7c56108
Use Context::for_function to simplify the code.
2018-06-05 09:21:23 -07:00
Dan Gohman
ae8fc69406
Use &'static str rather than Cow<str> for pass names.
2018-06-05 09:20:59 -07:00
Dan Gohman
6b88cd44a8
Update to rustfmt-preview ( #348 )
...
* Update to rustfmt-preview.
* Run "cargo fmt --all" with rustfmt 0.4.1.
rustfmt 0.4.1 is the latest release of rustfmt-preview available on the
stable channel.
* Fix a long line that rustfmt 0.4.1 can't handle.
* Remove unneeded commas left behind by rustfmt.
2018-05-25 11:38:38 -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
Dan Gohman
7767186dd0
Rename 'cton_*' library names to match the 'cretonne_*' crate names.
...
This renames `cton_frontend` to `cretonne_frontend` and so on.
This fixes the first part of #287 .
2018-04-17 07:55:59 -07:00
Dan Gohman
c50675deb8
Format with nightly rustfmt-preview, then with rustfmt-0.9 again.
2018-03-30 13:23:47 -07:00
Dan Gohman
8d5fecd324
Format with stable rustfmt-preview, then with rustfmt-0.9 again.
2018-03-30 13:17:15 -07:00
Dan Gohman
965b93bd2a
Move the filetest harness into its own crate.
...
This allows us to run the tests via a library call rather than just
as a command execution. And, it's a step toward a broader goal, which
is to keep the code in the top-level src directory minimal, with
important functionality exposed as crates.
2018-03-15 15:35:48 -07:00