Skip to content

Commit

Permalink
Merge pull request #7395 from keithc-ca/minux
Browse files Browse the repository at this point in the history
Fix spelling: minux -> minus
  • Loading branch information
babsingh committed Jul 4, 2024
2 parents 5aca65b + fd253a0 commit 38148ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/p/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class OMR_EXTENSIBLE CodeGenerator : public OMR::CodeGenerator
bool isRotateAndMask(TR::Node * node);

// PPC specific thresholds for constant re-materialization
int64_t getLargestNegConstThatMustBeMaterialized() {return -32769;} // minimum 16-bit signed int minux 1
int64_t getLargestNegConstThatMustBeMaterialized() {return -32769;} // minimum 16-bit signed int minus 1
int64_t getSmallestPosConstThatMustBeMaterialized() {return 32768;} // maximum 16-bit signed int plus 1
bool shouldValueBeInACommonedNode(int64_t);

Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRTreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10936,7 +10936,7 @@ OMR::Z::TreeEvaluator::arraycmpHelper(TR::Node *node,
if (lengthCanBeZero)
{
if (lenMinusOne)
generateRRInstruction(cg, TR::InstOpCode::LTR, node, lengthReg, lengthReg); //The LengthminuxOne uses "TR::iadd length, -1"
generateRRInstruction(cg, TR::InstOpCode::LTR, node, lengthReg, lengthReg); //The LengthminusOne uses "TR::iadd length, -1"

//Strings of 0 length are considered equal
if (isFoldedIf)
Expand Down

0 comments on commit 38148ea

Please sign in to comment.