mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Preserve line number information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3f486762f
commit
65a2f77b0e
@ -180,6 +180,7 @@ bool PruneEH::SimplifyFunction(Function *F) {
|
||||
Call->takeName(II);
|
||||
Call->setCallingConv(II->getCallingConv());
|
||||
Call->setAttributes(II->getAttributes());
|
||||
Call->setDebugLoc(II->getDebugLoc());
|
||||
|
||||
// Anything that used the value produced by the invoke instruction
|
||||
// now uses the value produced by the call instruction. Note that we
|
||||
|
Loading…
x
Reference in New Issue
Block a user