Skip to content

Commit 1bd536e

Browse files
committed
Reflection: Fix compile error, oops
1 parent 0273167 commit 1bd536e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

include/swift/Reflection/ReflectionContext.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class ReflectionContext
4444

4545
public:
4646
using super::getBuilder;
47+
using super::readIsaMask;
4748
using super::readTypeFromMetadata;
4849
using typename super::StoredPointer;
4950

@@ -65,11 +66,7 @@ class ReflectionContext
6566
getBuilder().addReflectionInfo(I);
6667
}
6768

68-
std::pair<bool, StoredPointer> readIsaMask() {
69-
return getReader().readIsaMask();
70-
}
71-
72-
/// Return a description of the layout of a heap object having the given
69+
/// Return a description of the layout of a class instance with the given
7370
/// metadata as its isa pointer.
7471
const TypeInfo *getInstanceTypeInfo(StoredPointer MetadataAddress) {
7572
// See if we cached the layout already

0 commit comments

Comments
 (0)