Skip to content

Releases: garritfra/qbe-rs

v2.1.0

15 Dec 11:06
025e447
Compare
Choose a tag to compare

[2.1.0] - 2022-12-15

This release prepares the lib for the upcoming QBE 1.1.

Added

  • Type::size() can now correctly calculate the size of aggregate types
    (#12).
  • Function::add_block() returns a reference to the created block (#18)
  • Add blit instruction, in preparation for QBE release 1.1 (#20).

Changed

  • Type::Aggregate now takes a TypeDef instead of the name of a type
    (#12).
  • Deprecated Function::last_block() (#18)

v2.0.0

10 Mar 13:58
v2.0.0
5f679a0
Compare
Choose a tag to compare

Changelog

Added

  • Function and DataDef now have a new constructor
  • Module now implements common traits (Debug, Clone, Eq, PartialEq,
    Ord, PartialOrd, Hash, Default and Copy)

Changed

  • Module::add_function, Module::add_type and Module::add_data now consume
    their corresponding structs, instead of constructing them

v1.0.0

11 Feb 14:25
v1.0.0
704a6fa
Compare
Choose a tag to compare

Changelog

Added

  • Data types now implement common traits (Debug, Clone, Eq, PartialEq,
    Ord, PartialOrd, Hash, Default and Copy) where applicable
  • Added Linkage data type (see Linkage)
  • Added a Module data type that houses functions and data definitions

Changed

  • Remove Qbe prefix from data structures. QbeValue becomes qbe::Value
  • The exported flag of a Function has been replaced with Linkage

v0.1.0

09 Feb 20:57
v0.1.0
9bc83f9
Compare
Choose a tag to compare

This is the first release of the QBE IR for Rust.

Full Changelog: v0.0.1...v0.1.0