Changeset 223248 in webkit for trunk/Source/JavaScriptCore


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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r223239 r223248  
     12017-10-12  Per Arne Vollan  <[email protected]>
     2
     3        [Win64] JSC compile error.
     4        https://bugs.webkit.org/show_bug.cgi?id=178213
     5
     6        Reviewed by Alex Christensen.
     7
     8        Add static cast from int64 to uintptr_t.
     9
     10        * dfg/DFGOSRExit.cpp:
     11        (JSC::DFG::OSRExit::executeOSRExit):
     12
    1132017-09-29  Filip Pizlo  <[email protected]>
    214
  • 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.