Skip to content

Commit

Permalink
Refactor SuperclassTest generators on Z
Browse files Browse the repository at this point in the history
Commons out code in genTestIsSuper and
genInstanceOfOrCheckCastSuperClassTest into 2 helpers
(genTestModifierFlags, genSuperclassTest)
Replaces calls to the old generators with calls to the 2 new methods.

Adds ICF labels to checkcast and instanceof evaluators.
Adds StartICF sequence to InstanceOfOrCheckCastSequences.

Signed-off-by: Matthew Hall <[email protected]>
  • Loading branch information
matthewhall2 committed Feb 12, 2025
1 parent cb8c742 commit f89af39
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 280 deletions.
2 changes: 1 addition & 1 deletion runtime/compiler/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ uint32_t J9::TreeEvaluator::calculateInstanceOfOrCheckCastSequences(TR::Node *in
//
bool objectClassLoaded = false;
bool castClassEvaluated = false;

bool startedICF = false;
for (uint32_t j = 0; j < i; ++j)
{
InstanceOfOrCheckCastSequences s = sequences[j];
Expand Down
Loading

0 comments on commit f89af39

Please sign in to comment.