softdevteam / ykrustc

Yorick Meta-tracer
Other
6 stars 4 forks source link

Type code tidying. #112

Closed vext01 closed 4 years ago

vext01 commented 4 years ago

I had intended to move this code into the SirFuncCx in rustc_middle, but due to the way the compiler crates depend on each other, this isn't going to be possible (backend types can't appear in librustc_middle).

As a compromise, move the code to its own file, so at least we minimise the chance of merge conflicts with upstream.

Also found a dead argument (second commit).

ptersilie commented 4 years ago

bors r+

bors[bot] commented 4 years ago

Build succeeded: