Ignore:
Timestamp:
Aug 18, 2014, 4:20:00 PM (11 years ago)
Author:
[email protected]
Message:

Fix ASSERT in ARM64's JSC::GPRInfo::debugName
https://bugs.webkit.org/show_bug.cgi?id=136050

Patch by Akos Kiss <[email protected]> on 2014-08-18
Reviewed by Darin Adler.

Remove cast of GPRReg to unsigned to prevent signed/unsigned comparison
error.

  • jit/GPRInfo.h:

(JSC::GPRInfo::debugName):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/GPRInfo.h

    r165431 r172734  
    613613    static const char* debugName(GPRReg reg)
    614614    {
    615         ASSERT(static_cast<unsigned>(reg) != InvalidGPRReg);
     615        ASSERT(reg != InvalidGPRReg);
    616616        ASSERT(static_cast<unsigned>(reg) < 32);
    617617        static const char* nameForRegister[32] = {
Note: See TracChangeset for help on using the changeset viewer.