mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "IRGen: Redesign enum codegen to break payloads into word-sized chunks."
This is asserting on the bots: Assertion failed: ((~mask & value) == 0 && "value has masked out bits set?!"), function emitCompare Swift SVN r28983
This commit is contained in:
@@ -391,6 +391,8 @@ private:
|
||||
|
||||
llvm::DenseMap<llvm::Type *, SpareBitVector> SpareBitsForTypes;
|
||||
|
||||
std::unique_ptr<const EnumImplStrategy> TheUnimplementedEnumImplStrategy;
|
||||
|
||||
//--- Types -----------------------------------------------------------------
|
||||
public:
|
||||
const ProtocolInfo &getProtocolInfo(ProtocolDecl *D);
|
||||
@@ -427,6 +429,8 @@ public:
|
||||
clang::CanQual<clang::Type> getClangType(CanType type);
|
||||
clang::CanQual<clang::Type> getClangType(SILType type);
|
||||
|
||||
const EnumImplStrategy &getUnimplementedEnumImplStrategy();
|
||||
|
||||
const clang::ASTContext &getClangASTContext() {
|
||||
assert(ClangASTContext &&
|
||||
"requesting clang AST context without clang importer!");
|
||||
|
||||
Reference in New Issue
Block a user