Add operator ID to the debugging information.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
461ee00034
commit
90a02d8fdd
10
engine/vm.c
10
engine/vm.c
|
@ -1829,9 +1829,9 @@ static sxi32 VmByteCodeDump(
|
||||||
void *pUserData /* Last argument to xConsumer() */
|
void *pUserData /* Last argument to xConsumer() */
|
||||||
) {
|
) {
|
||||||
static const char zDump[] = {
|
static const char zDump[] = {
|
||||||
"===============================================================================================\n"
|
"======================================================================================================\n"
|
||||||
" SEQ | INSTRUCTION | P1 | P2 | P3 | LINE | SOURCE FILE \n"
|
" SEQ | OP | INSTRUCTION | P1 | P2 | P3 | LINE | SOURCE FILE \n"
|
||||||
"===============================================================================================\n"
|
"======================================================================================================\n"
|
||||||
};
|
};
|
||||||
VmInstr *pInstr, *pEnd;
|
VmInstr *pInstr, *pEnd;
|
||||||
sxi32 rc = SXRET_OK;
|
sxi32 rc = SXRET_OK;
|
||||||
|
@ -1848,8 +1848,8 @@ static sxi32 VmByteCodeDump(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Format and call the consumer callback */
|
/* Format and call the consumer callback */
|
||||||
rc = SyProcFormat(xConsumer, pUserData, " #%06u | %-10s | %8d | %8u | %#10x | %6u | %z\n",
|
rc = SyProcFormat(xConsumer, pUserData, " #%06u | %4d | %-10s | %8d | %8u | %#10x | %6u | %z\n",
|
||||||
n, VmInstrToString(pInstr->iOp), pInstr->iP1, pInstr->iP2,
|
n, pInstr->iOp, VmInstrToString(pInstr->iOp), pInstr->iP1, pInstr->iP2,
|
||||||
SX_PTR_TO_INT(pInstr->p3), pInstr->iLine, pInstr->pFile);
|
SX_PTR_TO_INT(pInstr->p3), pInstr->iLine, pInstr->pFile);
|
||||||
if(rc != SXRET_OK) {
|
if(rc != SXRET_OK) {
|
||||||
/* Consumer routine request an operation abort */
|
/* Consumer routine request an operation abort */
|
||||||
|
|
Loading…
Reference in New Issue