Sink the return instruction collection until after we're done deleting
[oota-llvm.git] / lib / Object / MachOObjectFile.cpp
index 655c40aeda563374330c97937c29eddfc0056056..819409e3a1458e593a6d35f47cb66bccddb83ab7 100644 (file)
@@ -30,7 +30,7 @@ namespace object {
 
 MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO,
                                  error_code &ec)
-    : ObjectFile(Binary::isMachO, Object, ec),
+    : ObjectFile(Binary::ID_MachO, Object, ec),
       MachOObj(MOO),
       RegisteredStringTable(std::numeric_limits<uint32_t>::max()) {
   DataRefImpl DRI;