mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-05-19 05:25:59 +00:00
Add a missing closing parenthesis, and tweak to fit in 80
columns. llvm-svn: 85732
This commit is contained in:
parent
73fa16be5d
commit
fd3669403c
@ -160,8 +160,8 @@ void CodeMetrics::analyzeBasicBlock(const BasicBlock *BB) {
|
|||||||
++NumRets;
|
++NumRets;
|
||||||
|
|
||||||
// We never want to inline functions that contain an indirectbr. This is
|
// We never want to inline functions that contain an indirectbr. This is
|
||||||
// incorrect because all the blockaddress's (e.g. in static global
|
// incorrect because all the blockaddress's (in static global initializers
|
||||||
// initializers would be referring to the original function, and this indirect
|
// for example) would be referring to the original function, and this indirect
|
||||||
// jump would jump from the inlined copy of the function into the original
|
// jump would jump from the inlined copy of the function into the original
|
||||||
// function which is extremely undefined behavior.
|
// function which is extremely undefined behavior.
|
||||||
if (isa<IndirectBrInst>(BB->getTerminator()))
|
if (isa<IndirectBrInst>(BB->getTerminator()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user