Skip to content

Commit

Permalink
Update normInputs to use normRefs (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
s123unny authored Jul 26, 2023
1 parent 7514c6f commit d34a09b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions aeneas/src/mach/MachLowering.v3
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,8 @@ class SsaGraphNormalizer(context: SsaContext) {
return buffer.extract();
}
def normInputs(oi: SsaInstr) -> SsaInstr {
var inputs = oi.inputs;
for (j < inputs.length) {
var i = inputs[j];
i.update(normRef1(i));
}
var inputs = normRefs(oi.inputs);
oi.setInputs(inputs);
return oi;
}
def normType(t: Type) -> TypeNorm;
Expand Down
2 changes: 1 addition & 1 deletion aeneas/src/main/Version.v3
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

// Updated by VCS scripts. DO NOT EDIT.
component Version {
def version: string = "III-7.1642";
def version: string = "III-7.1643";
var buildData: string;
}

0 comments on commit d34a09b

Please sign in to comment.