Files
wasmtime/lib/frontend
Dan Gohman 4c150907bf Issue better error messages in use_var and def_var.
Include the name of the variable when diagnosing uses and defs of
undeclared variables. And, add an assert to def_var to check that the
declared type of a variable matches the value type of the def.

With this change, `Variable` implementations must now implement `Debug`.
2018-05-14 20:11:51 -10:00
..
2018-05-01 19:54:21 -07:00
2018-03-28 22:07:26 -07:00

This crate provides a straightforward way to create a Cretonne IR function and fill it with instructions translated from another language. It contains an SSA construction module that provides convenient methods for translating non-SSA variables into SSA Cretonne IR values via use_var and def_var calls.