commit c147c6119701d0534777b62521f36b4367967b66
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Apr 21 17:16:42 2016 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Apr 21 17:16:42 2016 +0200
[cc2-qbe] Fix typo in variable name v2
Same error than the one fixed in 6ea8920
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 49e169a..dbdcf80 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -267,6 +267,6 @@ sethi(Node *np)
np->complex = rp->complex;
}
if (np->complex == 0)
- ++rp->complex;
+ ++np->complex;
return np;
}