From bae713bf5fe159485f8af27f6a4be32bfa5ab7c5 Mon Sep 17 00:00:00 2001 From: Tao Guan Date: Wed, 6 Oct 2021 12:39:53 -0400 Subject: [PATCH] Remove dummy SimpleRegex Signed-off-by: Tao Guan --- compiler/ras/Debug.cpp | 15 --------------- compiler/ras/Tree.cpp | 15 --------------- 2 files changed, 30 deletions(-) diff --git a/compiler/ras/Debug.cpp b/compiler/ras/Debug.cpp index e83164cb4da..36bac4354b5 100644 --- a/compiler/ras/Debug.cpp +++ b/compiler/ras/Debug.cpp @@ -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; } diff --git a/compiler/ras/Tree.cpp b/compiler/ras/Tree.cpp index 5b12a3965e0..a5e35aacb5c 100644 --- a/compiler/ras/Tree.cpp +++ b/compiler/ras/Tree.cpp @@ -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()))