]> git.saurik.com Git - apple/dyld.git/commitdiff
dyld-655.1.1.tar.gz macos-10144 macos-10145 macos-10146 v655.1.1
authorApple <opensource@apple.com>
Tue, 18 Jun 2019 00:55:45 +0000 (00:55 +0000)
committerApple <opensource@apple.com>
Tue, 18 Jun 2019 00:55:45 +0000 (00:55 +0000)
dyld3/shared-cache/ObjC2Abstraction.hpp

index ec2965f71d8181553a10095935bc8fd14092b017..6ad0ad75ce3c08295d578eec2ea8400c2ba4be89 100644 (file)
@@ -640,7 +640,7 @@ public:
     const pint_t* getSuperClassAddress() const { return &superclass; }
 
     // Low bit marks Swift classes.
     const pint_t* getSuperClassAddress() const { return &superclass; }
 
     // Low bit marks Swift classes.
-    objc_class_data_t<P> *getData(ContentAccessor* cache) const { return (objc_class_data_t<P> *)cache->contentForVMAddr(P::getP(data & ~0x1LL)); }
+    objc_class_data_t<P> *getData(ContentAccessor* cache) const { return (objc_class_data_t<P> *)cache->contentForVMAddr(P::getP(data & ~0x3LL)); }
 
     objc_method_list_t<P> *getMethodList(ContentAccessor* cache) const {
         objc_class_data_t<P>* d = getData(cache);
 
     objc_method_list_t<P> *getMethodList(ContentAccessor* cache) const {
         objc_class_data_t<P>* d = getData(cache);