Commit a2395e4
committed
op_dump(): handle SVOPs and METHOPs separately
Currently SVOPs and METHOPs are dumped using the same case branch within
op_dump(). This works at the moment because the op_sv field and the
op_meth_sv field happen to occupy the same offset within their
respective structs.
This commit separates out the handling of those two OP classes, which will
also allow another commit shortly to handle METHOD ops more specifically.
OP_COREARGS is also added as another dumpable SVOP type (i.e. an op
which may have an SV hanging off op_sv).
This commit also makes it so that it now always displays the value of the
op_sv field of SVOPs, which on threaded builds starts off holding an SV,
but later gets set to 0 to indicate that the SV has been moved to the
pad.1 parent fd80e1a commit a2395e4
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
1383 | 1402 | | |
1384 | 1403 | | |
1385 | 1404 | | |
| |||
1391 | 1410 | | |
1392 | 1411 | | |
1393 | 1412 | | |
| 1413 | + | |
1394 | 1414 | | |
1395 | 1415 | | |
1396 | 1416 | | |
| |||
0 commit comments