Skip to content

Commit

Permalink
Merge pull request #3367 from gita-omr/master
Browse files Browse the repository at this point in the history
Disable fastStringIndexOf feature added by #3165
  • Loading branch information
pshipton committed Oct 19, 2018
2 parents 72f731f + 7a31fd9 commit 71263cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/compiler/p/codegen/J9CodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ J9::Power::CodeGenerator::CodeGenerator() :
cg->setSupportsPartialInlineOfMethodHooks();
cg->setSupportsInliningOfTypeCoersionMethods();

#if 0
if (TR::Compiler->target.cpu.id() >= TR_PPCp8 && TR::Compiler->target.cpu.getPPCSupportsVSX() &&
!comp->getOption(TR_DisableFastStringIndexOf) && !TR::Compiler->om.canGenerateArraylets())
cg->setSupportsInlineStringIndexOf();

#endif

if (!comp->getOption(TR_DisableReadMonitors))
cg->setSupportsReadOnlyLocks();

Expand Down

0 comments on commit 71263cf

Please sign in to comment.