op_dump(): display op_next to self as [SELF]
authorDavid Mitchell <davem@iabyn.com>
Tue, 6 Mar 2018 15:24:38 +0000 (15:24 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 6 Mar 2018 15:30:28 +0000 (15:30 +0000)
commit49ea76a70e8a4984b7d555bfbac872c0624b858c
tree1f0d77017f3bca3bff931ca121c2470b3a3c7ec4
parent3f515a2edaad4fe95e69a30dcc8823e4d7353d43
op_dump(): display op_next to self as [SELF]

Normally op_next (and similar) fields of an op are displayed with the
address and basic details of the op they point to, e.g.

    5    gvsv PADOP(0x1b7ac48) ===> 5 [sassign 0x1b7ab80]

This commit enhances that so that if the field points back to the op
containing the field (as is often the case during the early phases of
building an op tree), instead display it as just:

    5    gvsv PADOP(0x1b7ac48) ===> [SELF]
dump.c