projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe32dd
)
[NFC] Remove variable that was set but not used.
author
Stefan Pintilie
<stefanp@ca.ibm.com>
Wed, 2 Jun 2021 18:16:15 +0000
(13:16 -0500)
committer
Stefan Pintilie
<stefanp@ca.ibm.com>
Wed, 2 Jun 2021 18:20:32 +0000
(13:20 -0500)
The buildbot ppc64le-lld-multistage-test has been failing because the variable
Tag in Waymaking.h is set but not used. This patch removes that varaible.
llvm/include/llvm/ADT/Waymarking.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/Waymarking.h
b/llvm/include/llvm/ADT/Waymarking.h
index
f00bc10
..
2efbc6f
100644
(file)
--- a/
llvm/include/llvm/ADT/Waymarking.h
+++ b/
llvm/include/llvm/ADT/Waymarking.h
@@
-249,11
+249,8
@@
void fillWaymarks(TIter Begin, TIter End, size_t Offset = 0) {
do {
++Off;
- unsigned Tag = Count & Marker::Traits::MARK_MASK;
-
// If the count can fit into the tag, then the counting must stop.
if (Count <= Marker::Traits::MARK_MASK) {
- Tag |= Marker::Traits::STOP_MASK;
Count = Off;
} else
Count >>= Marker::Traits::MARK_SIZE;