diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-07 17:57:00 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-07 17:57:00 +0000 |
commit | f463abc0e71ce0ba4a12f63aa8d2fc85dd3682f7 (patch) | |
tree | 06158ffe5c547e60f1081a2d2c5bc27b2c694ad7 /llvm/lib/Support/SourceMgr.cpp | |
parent | 41e7ab8f8145081bc4e0abf2838d6d24551c68f9 (diff) | |
download | llvm-f463abc0e71ce0ba4a12f63aa8d2fc85dd3682f7.zip llvm-f463abc0e71ce0ba4a12f63aa8d2fc85dd3682f7.tar.gz llvm-f463abc0e71ce0ba4a12f63aa8d2fc85dd3682f7.tar.bz2 |
remove code to add bound checks for simple array accesses, since those are already covered by the check with the objectsize builtin
remove the comparison of objectsize with -1. since it's an unsigned comparison, it will always succeed if objectsize returns -1, which is enough to have the check removed
llvm-svn: 156311
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions