mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-17 20:29:31 +00:00
Moved method call within a conditional branch because its effects will
be ignored on the false branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c4125a3c44
commit
8893b0d3ac
@ -219,9 +219,9 @@ private:
|
|||||||
// of the last item hash and the the next item.
|
// of the last item hash and the the next item.
|
||||||
|
|
||||||
unsigned X = ID.ComputeHash();
|
unsigned X = ID.ComputeHash();
|
||||||
ID.clear();
|
|
||||||
|
|
||||||
if (R) {
|
if (R) {
|
||||||
|
ID.clear();
|
||||||
ID.AddInteger(X);
|
ID.AddInteger(X);
|
||||||
ID.AddInteger(R->ComputeHash());
|
ID.AddInteger(R->ComputeHash());
|
||||||
X = ID.ComputeHash();
|
X = ID.ComputeHash();
|
||||||
|
Loading…
Reference in New Issue
Block a user