We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3f56d commit 734e9b8Copy full SHA for 734e9b8
lib/IRGen/GenMeta.cpp
@@ -5675,7 +5675,7 @@ namespace {
5675
5676
llvm::Constant *emitNominalTypeDescriptor() {
5677
auto descriptor = EnumContextDescriptorBuilder(
5678
- IGM, Target, RequireMetadata, !!getLayoutString())
+ IGM, Target, RequireMetadata, hasLayoutString())
5679
.emit();
5680
return descriptor;
5681
}
@@ -5724,7 +5724,7 @@ namespace {
5724
5725
5726
bool canBeConstant() {
5727
- return !HasUnfilledPayloadSize;// && !hasInstantiatedLayoutString();
+ return !HasUnfilledPayloadSize && !hasInstantiatedLayoutString();
5728
5729
};
5730
0 commit comments