Add BUILTIN_EXPECT Support/Compiler macro.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 17 Mar 2009 21:15:18 +0000 (21:15 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 17 Mar 2009 21:15:18 +0000 (21:15 +0000)
commitb372c1114c1eeffbd1a3f6ddc5d33e77564bfee2
tree023532e358a24263eeb1eb2677711fb2c6e9f5c5
parent3985728bdefeec6acdcdf4dc78cbe1b9fb7cb72b
Add BUILTIN_EXPECT Support/Compiler macro.
 - Use for exceptional buffer conditions in raw_ostream:write to shave
   off a cycle or two.

 - Please rename if you have a better one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67103 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h
lib/Support/raw_ostream.cpp