Changeset 253250 in webkit for trunk/Source/JavaScriptCore/b3


Ignore:
Timestamp:
Dec 7, 2019, 5:46:48 AM (5 years ago)
Author:
[email protected]
Message:

Unreviewed. Remove the build warning below since r250009.
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

This patch typecasts the "maybe signed" one as unsigned, which is the
same what the compilers would do, but making the typecast explicit
so that the warning go away.

  • b3/air/testair.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/b3/air/testair.cpp

    r250009 r253250  
    22192219        code.resetReachability();
    22202220        auto runResult = compileAndRun<uint32_t>(proc);
    2221         CHECK(runResult == 42 + (42 * (reg == GPRInfo::returnValueGPR)));
     2221        CHECK(runResult == static_cast<unsigned>(42 + (42 * (reg == GPRInfo::returnValueGPR))));
    22222222    }
    22232223}
Note: See TracChangeset for help on using the changeset viewer.