mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Moved method call within a conditional branch because its effects will
be ignored on the false branch. llvm-svn: 46228
This commit is contained in:
parent
1c8968610e
commit
bee8cd7cd8
@ -219,9 +219,9 @@ private:
|
||||
// of the last item hash and the the next item.
|
||||
|
||||
unsigned X = ID.ComputeHash();
|
||||
ID.clear();
|
||||
|
||||
if (R) {
|
||||
ID.clear();
|
||||
ID.AddInteger(X);
|
||||
ID.AddInteger(R->ComputeHash());
|
||||
X = ID.ComputeHash();
|
||||
|
Loading…
Reference in New Issue
Block a user