Commit 4273bc8
committed
Bytecode DSL tracing fix: pop tracing data even if trace function raises
- Ensures that instrumentation data is always popped from the thread state,
even if the trace or profile function raises an exception.
- Improves assertion in popInstrumentationData for more informative errors.1 parent c1989a7 commit 4273bc8
File tree
2 files changed
+18
-10
lines changed- graalpython/com.oracle.graal.python/src/com/oracle/graal/python
- nodes/bytecode_dsl
- runtime
2 files changed
+18
-10
lines changedLines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
| |||
1055 | 1058 | | |
1056 | 1059 | | |
1057 | 1060 | | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1061 | 1067 | | |
1062 | | - | |
1063 | 1068 | | |
1064 | 1069 | | |
1065 | 1070 | | |
| |||
1115 | 1120 | | |
1116 | 1121 | | |
1117 | 1122 | | |
1118 | | - | |
1119 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1120 | 1128 | | |
1121 | 1129 | | |
1122 | 1130 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
617 | | - | |
| 616 | + | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| |||
0 commit comments