rose_program: merge RECORD_ANCHORED instruction into ANCHORED_DELAY

This commit is contained in:
Alex Coyte
2017-04-26 09:31:04 +10:00
committed by Matthew Barr
parent e24c38a85c
commit f74f475189
6 changed files with 71 additions and 95 deletions

View File

@@ -890,6 +890,7 @@ void dumpProgram(ofstream &os, const RoseEngine *t, const char *pc) {
PROGRAM_CASE(ANCHORED_DELAY) {
os << " groups 0x" << std::hex << ri->groups << std::dec
<< endl;
os << " anch_id " << ri->anch_id << "\n";
os << " done_jump " << offset + ri->done_jump << endl;
}
PROGRAM_NEXT_INSTRUCTION
@@ -1097,9 +1098,7 @@ void dumpProgram(ofstream &os, const RoseEngine *t, const char *pc) {
}
PROGRAM_NEXT_INSTRUCTION
PROGRAM_CASE(RECORD_ANCHORED) {
os << " id " << ri->id << endl;
}
PROGRAM_CASE(DUMMY_NOP) {}
PROGRAM_NEXT_INSTRUCTION
PROGRAM_CASE(CATCH_UP) {}