diff options
| author | Alasdair Armstrong | 2017-06-24 19:06:22 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-06-24 19:06:22 +0100 |
| commit | 7691516974eaaa7c41179818e1d76d073c72cc18 (patch) | |
| tree | d64c7305733b3729d4d6fe3eac37f09297c22efc /src/reporting_basic.mli | |
| parent | 98a20e197ef086bd294e157f4eaf75f9f025ff69 (diff) | |
Added implicit casting
Added support for implicit casting to the bi-directional type
checker. The casts can be any user-specified function, and in princple
don't have to be hardcoded. This allows us to typecheck definitions such as
function bit[64] rGPR idx = {
if idx == 0 then 0 else GPR[idx]
}
in the MIPS spec, which involves lots of casting from integers to
bitvectors, as well as casting from a named register to it's value
(implicit dereferencing).
Diffstat (limited to 'src/reporting_basic.mli')
0 files changed, 0 insertions, 0 deletions
