mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix MSVC bool to uint64_t promotion warning
llvm-svn: 288796
This commit is contained in:
parent
c7fabc9312
commit
5644376e94
@ -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…
x
Reference in New Issue
Block a user