Skip to content

Commit

Permalink
Remove code guarded by TR_OrderedCompiles
Browse files Browse the repository at this point in the history
Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed Jun 1, 2021
1 parent 188a872 commit 29100d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion compiler/control/OMROptions.cpp
Expand Up @@ -992,7 +992,6 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"optLevel=scorching", "O\tcompile all methods at scorching level", TR::Options::set32BitValue, offsetof(OMR::Options, _optLevel), scorching, "P"},
{"optLevel=veryHot", "O\tcompile all methods at veryHot level", TR::Options::set32BitValue, offsetof(OMR::Options, _optLevel), veryHot, "P"},
{"optLevel=warm", "O\tcompile all methods at warm level", TR::Options::set32BitValue, offsetof(OMR::Options, _optLevel), warm, "P"},
{"orderCompiles", "C\tcompile methods in limitfile order", SET_OPTION_BIT(TR_OrderCompiles), "P" , NOT_IN_SUBSET},
{"packedTest=", "D{regex}\tforce particular code paths to test Java Packed Object",
TR::Options::setRegex, offsetof(OMR::Options, _packedTest), 0, "P"},
{"paintAllocatedFrameSlotsDead", "C\tpaint all slots allocated in method prologue with deadf00d", SET_OPTION_BIT(TR_PaintAllocatedFrameSlotsDead), "F"},
Expand Down
2 changes: 1 addition & 1 deletion compiler/control/OMROptions.hpp
Expand Up @@ -428,7 +428,7 @@ enum TR_CompilationOptions
// Available = 0x00000200 + 11,
// Available = 0x00000400 + 11,
// Available = 0x00000800 + 11,
TR_OrderCompiles = 0x00001000 + 11,
// Available = 0x00001000 + 11,
TR_VerboseOptTransformations = 0x00002000 + 11,
TR_DisableEnhancedClobberEval = 0x00004000 + 11,
TR_Enable39064Epilogue = 0x00008000 + 11,
Expand Down
10 changes: 1 addition & 9 deletions compiler/ras/LimitFile.cpp
Expand Up @@ -533,8 +533,7 @@ TR_Debug::limitfileOption(char *option, void *base, TR::OptionTable *entry, TR::
if (limitFile)
{
TR::CompilationFilters * filters = findOrCreateFilters(loadLimit);
if (!cmdLineOptions->getOption(TR_OrderCompiles))
filters->setDefaultExclude(true);
filters->setDefaultExclude(true);

char limitReadBuffer[1024];
bool limitFileError = false;
Expand Down Expand Up @@ -680,13 +679,6 @@ TR_Debug::limitfileOption(char *option, void *base, TR::OptionTable *entry, TR::
}
}
}
else if (limitReadBuffer[0] == '(' && cmdLineOptions->getOption(TR_OrderCompiles))
{
// Recognize new sampling point
//
static TR_FilterBST *lastSamplingPoint = NULL;
addSamplingPoint(limitReadBuffer, lastSamplingPoint, loadLimit);
}
}
if (limitFileError)
{
Expand Down

0 comments on commit 29100d1

Please sign in to comment.