diff options
Diffstat (limited to 'src/passes/DeadArgumentElimination.cpp')
-rw-r--r-- | src/passes/DeadArgumentElimination.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/DeadArgumentElimination.cpp b/src/passes/DeadArgumentElimination.cpp index 9fed4f1dc..a1b99d2cf 100644 --- a/src/passes/DeadArgumentElimination.cpp +++ b/src/passes/DeadArgumentElimination.cpp @@ -299,12 +299,12 @@ struct DAE : public Pass { value = c->value; } else if (value != c->value) { // Not identical, give up - value.type = Type::none; + value = Literal(Type::none); break; } } else { // Not a constant, give up - value.type = Type::none; + value = Literal(Type::none); break; } } |