mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
fix an assert-nonassert mismatch in SILModule
Data structures must be layout compatible when built with and without asserts. Fixes a compiler crash when C++ sources are built without asserts because SwiftCompilerSources are built with asserts. rdar://110363377
This commit is contained in:
@@ -395,9 +395,7 @@ private:
|
||||
/// Action to be executed for serializing the SILModule.
|
||||
ActionCallback SerializeSILAction;
|
||||
|
||||
#ifndef NDEBUG
|
||||
BasicBlockNameMapType basicBlockNames;
|
||||
#endif
|
||||
|
||||
SILModule(llvm::PointerUnion<FileUnit *, ModuleDecl *> context,
|
||||
Lowering::TypeConverter &TC, const SILOptions &Options,
|
||||
|
||||
Reference in New Issue
Block a user