Skip to content

Commit f75ba27

Browse files
authored
Merge pull request eclipse-omr#8052 from 0xdaryl/nobuildstructure2
Remove deprecated BuildStructure codegen functionality
2 parents 0c39b9e + f210912 commit f75ba27

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

compiler/codegen/OMRCodeGenPhase.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,6 @@ void OMR::CodeGenPhase::performInstructionSelectionPhase(TR::CodeGenerator *cg,
397397
void OMR::CodeGenPhase::performSetupForInstructionSelectionPhase(TR::CodeGenerator *cg, TR::CodeGenPhase *phase)
398398
{
399399
TR::Compilation *comp = cg->comp();
400-
if (cg->shouldBuildStructure() && (comp->getFlowGraph()->getStructure() != NULL)) {
401-
TR_Structure *rootStructure = TR_RegionAnalysis::getRegions(comp);
402-
comp->getFlowGraph()->setStructure(rootStructure);
403-
}
404400

405401
phase->reportPhase(SetupForInstructionSelectionPhase);
406402

compiler/codegen/OMRCodeGenerator.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,10 +1783,6 @@ class OMR_EXTENSIBLE CodeGenerator {
17831783

17841784
TR::RealRegister **_unlatchedRegisterList; // dynamically allocated
17851785

1786-
bool shouldBuildStructure() { return _enabledFlags.testAny(ShouldBuildStructure); }
1787-
1788-
void setShouldBuildStructure() { _enabledFlags.set(ShouldBuildStructure); }
1789-
17901786
bool enableRefinedAliasSets();
17911787

17921788
void setEnableRefinedAliasSets() { _enabledFlags.set(EnableRefinedAliasSets); }
@@ -2411,7 +2407,7 @@ class OMR_EXTENSIBLE CodeGenerator {
24112407
// AVAILABLE = 0x0004,
24122408
EnableRefinedAliasSets = 0x0008,
24132409
// AVAILABLE = 0x0010,
2414-
ShouldBuildStructure = 0x0020,
2410+
// AVAILABLE = 0x0020,
24152411
LockFreeSpillList = 0x0040, // TAROK only (until it matures)
24162412
UseNonLinearRegisterAssigner = 0x0080, // TAROK only (until it matures)
24172413
TrackRegisterUsage = 0x0100, // TAROK only (until it matures)

0 commit comments

Comments
 (0)