Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harryyu1994 committed May 15, 2020
1 parent eb0fb60 commit c12f923
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions compiler/p/env/OMRCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,7 @@ OMR::Power::CPU::isAtMost(OMRProcessorArchitecture p)
void
OMR::Power::CPU::supports_feature_test(uint32_t feature)
{
if (TR::Compiler->omrPortLib == NULL)
{
return false;
}

OMRPORT_ACCESS_FROM_OMRPORT(TR::Compiler->omrPortLib);
BOOLEAN supported = omrsysinfo_processor_has_feature(&_processorDescription, feature);
return (TRUE == supported);
return;
}

void
Expand Down

0 comments on commit c12f923

Please sign in to comment.