Skip to content

Commit

Permalink
Remove J9_PROJECT_SPECIFIC in OMR::X86::queryX86TargetCPUID()
Browse files Browse the repository at this point in the history
- Now a J9 specific queryX86TargetCPUID API is added to x/J9CPU class

Signed-off-by: Harry Yu <harryyu1994@gmail.com>
  • Loading branch information
harryyu1994 committed May 2, 2018
1 parent 92a0445 commit cdac6bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/x/env/OMRCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
TR_X86CPUIDBuffer *
OMR::X86::CPU::queryX86TargetCPUID()
{
#ifdef J9_PROJECT_SPECIFIC
return NULL;
#else
static TR_X86CPUIDBuffer *buf = NULL;
auto jitConfig = TR::JitConfig::instance();

Expand Down Expand Up @@ -68,6 +71,7 @@ OMR::X86::CPU::queryX86TargetCPUID()
}

return buf;
#endif
}

const char *
Expand Down

0 comments on commit cdac6bf

Please sign in to comment.