mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
Fix bogus assert condition noticed by Csaba Raduly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e2da0ce9d
commit
e087afa128
@ -185,8 +185,8 @@ public:
|
||||
if (is64Bit())
|
||||
Write32(0); // reserved
|
||||
|
||||
assert(OS.tell() - Start == is64Bit() ?
|
||||
macho::Header64Size : macho::Header32Size);
|
||||
assert(OS.tell() - Start ==
|
||||
(is64Bit() ? macho::Header64Size : macho::Header32Size));
|
||||
}
|
||||
|
||||
/// WriteSegmentLoadCommand - Write a segment load command.
|
||||
|
Loading…
Reference in New Issue
Block a user