File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -591,24 +591,28 @@ OMR::Z::CodeGenerator::initialize()
591
591
{
592
592
cg->setSupportsVirtualGuardNOPing ();
593
593
}
594
- if (!comp->getOption (TR_DisableArraySetOpts))
595
- {
596
- cg->setSupportsArraySet ();
597
- }
594
+
598
595
if (!TR::Compiler->om .canGenerateArraylets ())
599
596
{
597
+ if (!comp->getOption (TR_DisableArraySetOpts))
598
+ {
599
+ cg->setSupportsArraySet ();
600
+ }
601
+
600
602
static const bool disableArrayCmp = feGetEnv (" TR_DisableArrayCmp" ) != NULL ;
601
603
if (!disableArrayCmp)
602
604
{
603
605
cg->setSupportsArrayCmp ();
604
606
cg->setSupportsArrayCmpSign ();
605
607
}
608
+
606
609
static const bool disableArrayCmpLen = feGetEnv (" TR_DisableArrayCmpLen" ) != NULL ;
607
610
if (!disableArrayCmpLen)
608
611
{
609
612
cg->setSupportsArrayCmpLen ();
610
613
}
611
614
}
615
+
612
616
if (!comp->compileRelocatableCode ())
613
617
{
614
618
cg->setSupportsArrayTranslateTRxx ();
You can’t perform that action at this time.
0 commit comments