Skip to content

Commit

Permalink
Remove dummy SimpleRegex
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Guan <james_mango@yahoo.com>
  • Loading branch information
jamesgua committed Oct 6, 2021
1 parent f6ab3c6 commit bae713b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,21 +799,6 @@ TR_Debug::printPrefix(TR::FILE *pOutFile, TR::Instruction *instr, uint8_t *curso
trfprintf(pOutFile, "\n [%s]\t", getName(instr));
}

TR::SimpleRegex * regex = NULL;

if (regex)
{
char buf[20];
sprintf(buf, "%s", getName(instr));

char * p = buf;
while (*p!='I')
p++;

if (TR::SimpleRegex::match(regex, p))
breakOn();
}

return cursor;
}

Expand Down
15 changes: 0 additions & 15 deletions compiler/ras/Tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,21 +1011,6 @@ TR_Debug::print(TR::FILE *pOutFile, TR::Node * node, uint32_t indentation, bool
if (pOutFile == NULL) return 0;
TR_ASSERT(node != NULL, "node is NULL\n");

TR::SimpleRegex * regex = NULL;

if (regex)
{
char buf[20];
sprintf(buf, "%s", getName(node));

char * p = buf;
while (*p!='N')
p++;

if (TR::SimpleRegex::match(regex, p))
breakOn();
}

// If this node has already been printed, just print a reference to it.
//
if (_nodeChecklist.isSet(node->getGlobalIndex()))
Expand Down

0 comments on commit bae713b

Please sign in to comment.