Page MenuHomePhabricator

[WebAssembly] Fix windows compiler warning by using explicit 64bit shift. NFC.
ClosedPublic

Authored by sbc100 on Jan 17 2019, 12:15 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Jan 17 2019, 12:15 PM

Would you kindly apply the same fix to:

lld/trunk/wasm/Writer.cpp:694 :
MemoryPtr = alignTo(MemoryPtr, 1 << Seg->Alignment);

1 -> 1ULL

sbc100 updated this revision to Diff 182379.Jan 17 2019, 12:54 PM
  • feedback
This revision is now accepted and ready to land.Jan 17 2019, 1:08 PM
This revision was automatically updated to reflect the committed changes.