Commit 03fba5c
Jianchun Xu
fix incorrect debugger mode reparse after function redefer
Debug mode reparse should still set "reuseNestedFunc", otherwise we'll
discard existing nested func info and create new FunctionInfo/FunctionBody
for nested functions, conflicting with existing ones.
Existing debug mode reparse also not expecting function redefer introduced
ParseableFunctionInfo in nested FunctionBody chain. It did not reuse
existing child FunctionBody and not clean up them for reparse properly
when a parent function was redeferred. Patch the code to fix this.
Credits to Paul/Akrosh.1 parent b5c277f commit 03fba5c
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | | - | |
| 1636 | + | |
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| |||
3318 | 3318 | | |
3319 | 3319 | | |
3320 | 3320 | | |
3321 | | - | |
| 3321 | + | |
3322 | 3322 | | |
3323 | 3323 | | |
3324 | 3324 | | |
3325 | 3325 | | |
3326 | 3326 | | |
3327 | 3327 | | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
3328 | 3338 | | |
3329 | 3339 | | |
3330 | 3340 | | |
| |||
0 commit comments