mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 22:20:43 +00:00
Fix MSVC bool to uint64_t promotion warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04d64487f9
commit
7b48d47c58
@ -1728,7 +1728,7 @@ void ModuleBitcodeWriter::writeDIExpression(const DIExpression *N,
|
||||
Record.reserve(N->getElements().size() + 1);
|
||||
|
||||
const uint64_t HasOpFragmentFlag = 1 << 1;
|
||||
Record.push_back(N->isDistinct() | HasOpFragmentFlag);
|
||||
Record.push_back((uint64_t)N->isDistinct() | HasOpFragmentFlag);
|
||||
Record.append(N->elements_begin(), N->elements_end());
|
||||
|
||||
Stream.EmitRecord(bitc::METADATA_EXPRESSION, Record, Abbrev);
|
||||
|
Loading…
Reference in New Issue
Block a user