Changeset 223248 in webkit for trunk/Source/JavaScriptCore/dfg


Ignore:
Timestamp:
Oct 12, 2017, 12:24:02 PM (8 years ago)
Author:
[email protected]
Message:

[Win64] JSC compile error.
https://bugs.webkit.org/show_bug.cgi?id=178213

Reviewed by Alex Christensen.

Add static cast from int64 to uintptr_t.

  • dfg/DFGOSRExit.cpp:

(JSC::DFG::OSRExit::executeOSRExit):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGOSRExit.cpp

    r223005 r223248  
    669669
    670670#if USE(JSVALUE64)
    671     cpu.gpr(GPRInfo::tagTypeNumberRegister) = TagTypeNumber;
    672     cpu.gpr(GPRInfo::tagMaskRegister) = TagTypeNumber | TagBitTypeOther;
     671    cpu.gpr(GPRInfo::tagTypeNumberRegister) = static_cast<uintptr_t>(TagTypeNumber);
     672    cpu.gpr(GPRInfo::tagMaskRegister) = static_cast<uintptr_t>(TagTypeNumber | TagBitTypeOther);
    673673#endif
    674674
Note: See TracChangeset for help on using the changeset viewer.