[llvm-commits] [poolalloc] r43229 - /poolalloc/branches/SVA/lib/DSA/Local.cpp
John Criswell
criswell at uiuc.edu
Mon Oct 22 12:57:26 PDT 2007
Author: criswell
Date: Mon Oct 22 14:57:26 2007
New Revision: 43229
URL: http://llvm.org/viewvc/llvm-project?rev=43229&view=rev
Log:
Make DSA compile correctly in kernel and non-kernel mode.
Modified:
poolalloc/branches/SVA/lib/DSA/Local.cpp
Modified: poolalloc/branches/SVA/lib/DSA/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/SVA/lib/DSA/Local.cpp?rev=43229&r1=43228&r2=43229&view=diff
==============================================================================
--- poolalloc/branches/SVA/lib/DSA/Local.cpp (original)
+++ poolalloc/branches/SVA/lib/DSA/Local.cpp Mon Oct 22 14:57:26 2007
@@ -1490,8 +1490,8 @@
N->setModifiedMarker()->setReadMarker();
return true;
#endif
- }
#endif
+ }
return false;
}
@@ -1553,12 +1553,14 @@
}
}
+#ifdef LLVA_KERNEL
if (isSyscall6) {
assert (isa<ConstantInt>(CS.getArgument(0)) && "llva_syscall6 called with non-const argument");
ConstantInt * C = dyn_cast<ConstantInt>(CS.getArgument(0));
Callee = syscalls[C->getSExtValue()];
assert (Callee && "llva_syscall: No target for system call vector");
}
+#endif
// Set up the return value...
DSNodeHandle RetVal;
More information about the llvm-commits
mailing list