mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add a missing closing parenthesis, and tweak to fit in 80
columns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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()))
|
||||||
|
Reference in New Issue
Block a user