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:
acb7827
)
Fix an apparent typo. `assert()` must not contain side-effects. NFC.
author
Michael Liao
<michael.hliao@gmail.com>
Wed, 14 Oct 2020 15:26:52 +0000
(11:26 -0400)
committer
Michael Liao
<michael.hliao@gmail.com>
Wed, 14 Oct 2020 15:33:34 +0000
(11:33 -0400)
llvm/lib/CodeGen/StackMaps.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/StackMaps.cpp
b/llvm/lib/CodeGen/StackMaps.cpp
index
a5bad76
..
f7fb2e8
100644
(file)
--- a/
llvm/lib/CodeGen/StackMaps.cpp
+++ b/
llvm/lib/CodeGen/StackMaps.cpp
@@
-384,7
+384,7
@@
void StackMaps::parseStatepointOpers(const MachineInstr &MI,
// Record Deopt Args.
unsigned NumDeoptArgs = Locations.back().Offset;
- assert(Locations.back().Type = Location::Constant);
+ assert(Locations.back().Type =
=
Location::Constant);
assert(NumDeoptArgs == SO.getNumDeoptArgs());
while (NumDeoptArgs--)