We llow forward references to values and EBBs, so it is not possible to rewrite these from the source domain to the in-memory domain during parsing. Instead go through all the instructions after parsing everything and rewrite the value and EBB references when everything has been created and mapped.
Parser tests ============ This directory contains test cases for the Cretonne IL parser. Each test case consists of a `foo.cton` input file and a `foo.ref` reference output file. Each input file is run through the `cton-util cat` command, and the output is compared against the reference file. If the two are identical, the test passes.