diff options
author | Dean Michael Berris <dberris@google.com> | 2016-08-26 12:33:33 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-08-26 12:33:33 +0000 |
commit | fdb0f39ae27e41116b0cb1dc81af608b3b39df29 (patch) | |
tree | e14ff591f03bc50f82eb21d4a8220e9c859e6a0d | |
parent | d7bd8fbc0e9f0bf09aa527332ed8ec5bddcc262f (diff) | |
download | bcm5719-llvm-fdb0f39ae27e41116b0cb1dc81af608b3b39df29.tar.gz bcm5719-llvm-fdb0f39ae27e41116b0cb1dc81af608b3b39df29.zip |
[compiler-rt][XRay] Remove unnecessary assertion.
This assert only causes issues with signed/unsigned comparisons.
llvm-svn: 279819
-rw-r--r-- | compiler-rt/lib/xray/xray_inmemory_log.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/xray/xray_inmemory_log.cc b/compiler-rt/lib/xray/xray_inmemory_log.cc index 073ebe7311d..a308de78db2 100644 --- a/compiler-rt/lib/xray/xray_inmemory_log.cc +++ b/compiler-rt/lib/xray/xray_inmemory_log.cc @@ -53,9 +53,6 @@ static void retryingWriteAll(int Fd, char *Begin, char *End) { Report("Failed to write; errno = %d", errno); return; } - - // FIXME: Figure out whether/how to assert properly. - assert(static_cast<uint64_t>(Written) <= TotalBytes); TotalBytes -= Written; if (TotalBytes == 0) break; |