aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Win32/Path.inc
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 21:16:42 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 21:16:42 +0000
commit2749b3e745240832c3c9ddf5b6cf8a589497238b (patch)
tree55c3b788acd0c1d45443bd5b84cd6d6f37b0e078 /lib/System/Win32/Path.inc
parent0fcf4dc6d367216ff51501af282e33e93da8586f (diff)
downloadexternal_llvm-2749b3e745240832c3c9ddf5b6cf8a589497238b.zip
external_llvm-2749b3e745240832c3c9ddf5b6cf8a589497238b.tar.gz
external_llvm-2749b3e745240832c3c9ddf5b6cf8a589497238b.tar.bz2
Don't use llvm_report_error in libSystem, this is a layering violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/Path.inc')
-rw-r--r--lib/System/Win32/Path.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc
index 7d7137c..80c7bd9 100644
--- a/lib/System/Win32/Path.inc
+++ b/lib/System/Win32/Path.inc
@@ -135,10 +135,10 @@ void Path::makeAbsolute() {
if (0 == RetLength) {
// FIXME: Report the error GetLastError()
- llvm_report_error("Unable to make absolute path!");
+ assert(0 && "Unable to make absolute path!");
} else if (RetLength > MAX_PATH) {
// FIXME: Report too small buffer (needed RetLength bytes).
- llvm_report_error("Unable to make absolute path!");
+ assert(0 && "Unable to make absolute path!");
} else {
path = FullPath;
}