Ignore:
Timestamp:
Dec 5, 2017, 1:40:57 PM (8 years ago)
Author:
[email protected]
Message:

[Win64] Compile error in testmasm.cpp.
https://bugs.webkit.org/show_bug.cgi?id=180436

Reviewed by Mark Lam.

Fix MSVC warning (32-bit shift implicitly converted to 64 bits).

  • assembler/testmasm.cpp:

(JSC::testGetEffectiveAddress):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/testmasm.cpp

    r225301 r225536  
    184184        jit.emitFunctionEpilogue();
    185185        jit.ret();
    186     }), pointer + offset + (1 << static_cast<int>(scale)) * length);
     186    }), pointer + offset + (static_cast<size_t>(1) << static_cast<int>(scale)) * length);
    187187}
    188188
Note: See TracChangeset for help on using the changeset viewer.