Add tracing of get- and set-local instructions