Commit f72756b3 authored by Kevin Modzelewski's avatar Kevin Modzelewski

fixes

parent f6d0777d
......@@ -187,7 +187,11 @@ error_code PystonMemoryManager::applyMemoryGroupPermissions(MemoryGroup& MemGrou
}
}
#if LLVMREV < 209952
return error_code::success();
#else
return error_code();
#endif
}
void PystonMemoryManager::invalidateInstructionCache() {
......
......@@ -2828,7 +2828,11 @@ extern "C" Box* import(const std::string* name) {
bool exists;
llvm::error_code code = llvm::sys::fs::exists(joined_path.str(), exists);
#if LLVMREV < 210072
assert(code == 0);
#else
assert(!code);
#endif
if (!exists)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment