Dan Gohman
0a65089a36
Add a CONTRIBUTING.md file ( #479 )
...
* Add a CONTRIBUTING.md file.
* Document the basic PR process.
This also introduces the Core Team.
2018-08-23 11:03:52 -07:00
Caroline Cullen
0f93ef5cee
Changing from docopt to clap for the clif-util #434 ( #463 )
...
* Changing from docopt to clap for the clif-util
* Updates to cargo file.
* Remove filecheck subcommand.
2018-08-22 11:25:55 -07:00
Dan Gohman
3d89a8645b
Fix rustfmt errors.
2018-08-16 15:26:53 -07:00
Grégoire Geis
e2badb0ad6
Improvements to error reporting ( #470 )
...
* Fixed error reporting.
* Fixed compile time error when wasm feature is disabled.
* Fixed valid instructions not being printed in print_function_error.
* Fixed errors print_function_error not writing valid instructions after end.
* Made multiple checks non-fatal.
* verify_global_values is no longer fatal.
* Slightly better formatting of errors in pretty_verifier_error.
2018-08-16 11:34:52 -07:00
Dan Gohman
304134d351
Update a testcase for API changes.
2018-08-14 16:47:45 -07:00
Dan Gohman
6a07c72867
Bump version to 0.19.0
2018-08-14 12:55:34 -07:00
Dan Gohman
6cf7a975a1
Factor out a repeated string, and reduce the length of a long line.
2018-08-14 12:28:33 -07:00
bjorn3
3f0103f936
Prevent finalize being called more than once per func/data ( fixes #407 )
2018-08-14 10:57:59 -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
bjorn3
3f582f7cbd
Legalize br_icmp ( #449 )
...
* Legalize br_icmp
2018-08-13 18:31:39 -07:00
Dan Gohman
bee5210b40
Merge pull request #461 from bjorn3/legalize-bint-i8
...
Legalize bint.i8
2018-08-13 16:02:11 -07:00
Dan Gohman
51698f93f2
Merge branch 'master' into bforest
2018-08-13 15:55:31 -07:00
Caroline Cullen
6f9982fdf5
Updating Sphinx link and install instructions
2018-08-13 15:46:51 -07:00
Dan Gohman
3b56b2f4fb
Fix rustfmt errors.
2018-08-13 12:52:09 -07:00
Dan Gohman
cc4bf1c7fb
Deny unstable_features in "std" builds.
2018-08-13 12:51:49 -07:00
Benjamin Bouvier
a044f58cea
Fixes #404 : Use log.rs and a file-per-thread logger instead of the dbg! macro;
2018-08-13 12:51:14 -07:00
bjorn3
fa65ee7a68
Legalize bint.i8
2018-08-13 21:23:25 +02:00
bjorn3
eb01ae530b
Fix gitter link ( fixes #458 )
2018-08-13 11:59:44 -07:00
Amanieu d'Antras
ae3a3c368b
Move bforest into a separate crate
2018-08-12 15:46:35 +02:00
Maddy
f5d46cabe7
Use types to distinguish between wasm function body indices and wasm function indices.
2018-08-09 19:52:21 -07:00
Benjamin Bouvier
f7e481d9ac
Implement wasm saturating conversions;
2018-08-09 19:50:41 -07:00
Sergey Pepyakin
9dbfbbde10
Stack Limit as an Argument Purpose ( #372 )
...
* Initial approach.
* Move stack_limit check before opening the frame
* Account for GPRs and frame pointer in stack check
* Check stack_limit example.
* Remove stack_limit attribute code.
Amends #359
* fmt
2018-08-04 06:16:21 -07:00
Dan Gohman
217786e969
Add a note about the "rustc" tag in the issue tracker.
...
And other minor documentation fixes.
2018-08-03 12:17:25 -07:00
Dan Gohman
cf2bac139d
Add codegen/meta to publish-all.sh.
2018-08-02 20:28:29 -07:00
Dan Gohman
cd02010a78
Bump version to 0.18.1
2018-08-02 20:10:23 -07:00
Dan Gohman
c4a056a7a0
Bump version to 0.18.0
2018-08-02 18:34:22 -07:00
Dan Gohman
c5a554db83
Move the comment about Sphinx 1.4 out of the top-level README.
2018-08-02 15:25:09 -07:00
Dan Gohman
7f530cd751
Add a langref.rst page that redirects to the new ir.rst page.
2018-08-02 15:25:09 -07:00
Dan Gohman
1b30265c5c
Define a "table" concept.
...
"Table" is to WebAssembly tables as "Heap" is to WebAssembly linear
memories.
2018-08-02 15:21:34 -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
Dan Gohman
c61f8a5baf
Rename langref.rst to ir.rst.
...
This aligns with our use of the term "IR" rather than "IL" or
other terms involving "language".
2018-08-02 09:18:59 -07:00
Dan Gohman
987bbfa922
Fix rustfmt errors.
2018-08-01 15:14:49 -07:00
bjorn3
5389b7784e
Check signature compatibility in declare_function ( fixes #427 )
2018-08-01 14:23:59 -07:00
Dan Gohman
63e87895eb
Remove an unneeded command-line option.
2018-08-01 13:24:53 -07:00
Dan Gohman
f89cb1df64
Fix the test script to return an error if formatting diffs are found.
2018-08-01 13:24:53 -07:00
bjorn3
01729be8d7
Add comment support ( #379 )
...
* Add comment support
* Don't print empty comments
* Add nop instruction
* Add test and note
* Add FuncWriter trait
* Remove comment support
* Add write_preamble to FuncWriter
* Fix test
* Some changes
2018-08-01 11:21:05 -07:00
Dan Gohman
c42bed7452
Update paths for the meta => meta-python rename.
2018-08-01 05:05:33 -07:00
Benjamin Bouvier
3a550d185f
Enhance Verifier error reporting;
2018-07-31 08:02:14 -07:00
Dan Gohman
1b42105faa
Remove reserved_reg functionality. ( #424 )
...
* Remove reserved_reg functionality.
This wasn't implemented, and if we need it in the future, it seems like
it would be better to extend the concept of global values to cover this.
* Use GlobalValue::reserved_value() for sentinal values.
2018-07-31 07:57:37 -07:00
Caroline Cullen
65a1a6bb28
Add serde functionality into lib. ( #422 )
...
* Adds decoration to the verifier errors.
example:
function %bad(i32) fast {
ebb0(v0: i32):
brnz.i32 v0, ebb1
return
^~~~~~
verifier inst1: Internal return not allowed with return_at_end=1
ebb1:
trapz.i32 v0, user6
return
}
Fixes #68
* Making it so that pretty_function_error and write_function_plain are both private.
* Changes write_ebb to decorate_ebb.
Adds documentation line to decorate_function.
* Removing Cargo.toml lib/serde addition
* Add serde functionality into lib.
* Fix so code is compatible with Rust version 1.25.0.
* Move ser/de functions to utility file, update description, remove borrow from arms.
* Remove commented out code.
2018-07-31 07:48:12 -07:00
Corey Farwell
299898d494
Add fuzz target for cranelift_reader::parse_test.
2018-07-24 12:42:11 -07:00
Dan Gohman
d6d1e7253d
Bump version to 0.17.0
2018-07-23 16:57:51 -07:00
Dan Gohman
6cb03a873d
Bump version to 0.17.0-alpha
2018-07-23 16:15:53 -07:00
Dan Gohman
7f98f436f0
Add a link to the faerie github page.
2018-07-19 11:08:53 -07:00
Dan Gohman
20899d04a1
Fix "Title overline too short." warnings in more *.rst files.
2018-07-19 11:08:53 -07:00
Benjamin Bouvier
03159a9200
Misc refactorings when looking at the wasm code;
2018-07-19 06:39:56 -07:00
Dan Gohman
c068721964
Bump version to 0.16.1
2018-07-18 13:33:15 -07:00
Dan Gohman
ce27b2a74f
Bump version to 0.16.0
2018-07-17 15:49:04 -07:00
Dan Gohman
c0d5ffc380
The latest Ubuntu LTS now has Rust 1.25.
2018-07-17 15:01:08 -07:00
Dan Gohman
82ea38e4af
Convert expected uses to an unnumbered list, as they aren't ordered.
2018-07-17 15:01:08 -07:00