Changeset 172734 in webkit


Ignore:
Timestamp:
Aug 18, 2014 4:20:00 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Akos Kiss <akiss@inf.u-szeged.hu> 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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r172727 r172734  
     12014-08-18  Akos Kiss  <akiss@inf.u-szeged.hu>
     2
     3        Fix ASSERT in ARM64's JSC::GPRInfo::debugName
     4        https://bugs.webkit.org/show_bug.cgi?id=136050
     5
     6        Reviewed by Darin Adler.
     7
     8        Remove cast of GPRReg to unsigned to prevent signed/unsigned comparison
     9        error.
     10
     11        * jit/GPRInfo.h:
     12        (JSC::GPRInfo::debugName):
     13
    1142014-08-18  Andreas Kling  <akling@apple.com>
    215
  • 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.