remove tmpFramePtr when optStackTrace is absent (#19649)
This commit is contained in:
parent
4dfe420c2f
commit
84ac003519
1 changed files with 0 additions and 4 deletions
|
|
@ -771,10 +771,6 @@ proc genTry(p: PProc, n: PNode, r: var TCompRes) =
|
|||
if catchBranchesExist:
|
||||
p.body.add("++excHandler;\L")
|
||||
var tmpFramePtr = rope"F"
|
||||
if optStackTrace notin p.options:
|
||||
tmpFramePtr = p.getTemp(true)
|
||||
if hasFrameInfo(p):
|
||||
line(p, tmpFramePtr & " = framePtr;\L")
|
||||
lineF(p, "try {$n", [])
|
||||
var a: TCompRes
|
||||
gen(p, n[0], a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue