mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
simplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -69,7 +69,7 @@ bool llvm::PointerMayBeCaptured(const Value *V,
|
|||||||
switch (I->getOpcode()) {
|
switch (I->getOpcode()) {
|
||||||
case Instruction::Call:
|
case Instruction::Call:
|
||||||
case Instruction::Invoke: {
|
case Instruction::Invoke: {
|
||||||
CallSite CS = CallSite::get(I);
|
CallSite CS(I);
|
||||||
// Not captured if the callee is readonly, doesn't return a copy through
|
// Not captured if the callee is readonly, doesn't return a copy through
|
||||||
// its return value and doesn't unwind (a readonly function can leak bits
|
// its return value and doesn't unwind (a readonly function can leak bits
|
||||||
// by throwing an exception or not depending on the input value).
|
// by throwing an exception or not depending on the input value).
|
||||||
|
Reference in New Issue
Block a user