Andrew Brown
96f5a6b561
Fix documentation link issues
2019-10-31 09:35:08 -07:00
Peter Huene
9f506692c2
Fix clippy warnings.
...
This commit fixes the current set of (stable) clippy warnings in the repo.
2019-10-24 17:20:12 -07:00
Andrew Brown
67733bd2fc
Use ConstantData exclusively for inserting data into the constant pool
...
Previously we allowed anything that could be converted into ConstantData (e.g. a Vec).
2019-10-15 15:19:00 -07:00
Andrew Brown
a03f905d08
Replace V128Imm functionality with ConstantData
...
This moves most original uses of V128Imm (e.g. in parsing) to ConstantData and shifts the unit tests from V128Imm to ConstantData.
2019-10-15 15:19:00 -07:00
Andrew Brown
1600dba634
Make ConstantData a container for any-size constant values
...
Previously, ConstantData was a type alias for `Vec<u8>` which prevented it from having an implementation; this meant that `V128Imm` and `&[u8; 16]` were used in places that otherwise could have accepted types of different byte lengths.
2019-10-15 15:19:00 -07:00
bjorn3
bb8fa40ef0
Rustfmt
2019-10-02 11:50:44 -07:00
bjorn3
10e226f9ff
Always use extern crate std in cranelift-codegen
2019-10-02 11:50:44 -07:00
Joshua Nelson
a1f6457e8a
Allow building without std ( #1069 )
...
Closes https://github.com/CraneStation/cranelift/issues/1067
2019-09-26 18:00:03 +02:00
Benjamin Bouvier
8a9384f869
Tweak comments;
2019-09-05 17:55:03 +02:00
Andrew Brown
4e7226ddca
Fix documentation warnings in ConstantPool
2019-08-29 11:08:29 +02:00
Andrew Brown
c20b13d5a9
Add ConstantPool
2019-08-26 16:12:06 -07:00