Skip to content

Commit 9dd3f74

Browse files
committed
Add TODO about asconst and machdep mixup
1 parent ab578f7 commit 9dd3f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontc/cabs2cil.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5253,7 +5253,7 @@ and doCondExp (asconst: bool) (* Try to evaluate the conditional expression
52535253
| _ ->
52545254
let (se, e, t) = doExp ~asconst e (AExp None) in
52555255
ignore (checkBool t e);
5256-
CEExp (se, if !lowerConstants then constFold asconst e else e)
5256+
CEExp (se, if !lowerConstants then constFold asconst e else e) (* TODO: Why is asconst used as machdep? *)
52575257

52585258
and compileCondExp (asconst:bool) (ce: condExpRes) (st: chunk) (sf: chunk) : chunk =
52595259
match ce with

0 commit comments

Comments
 (0)