summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-31 18:18:22 +0000
committerChris Lattner <sabre@nondot.org>2010-05-31 18:18:22 +0000
commit47054fbbe93625c63bf9d802fdf06d7a2e64ce78 (patch)
treeca261c386b7864f8e790f606605ad1323fe701b2 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent14c46517b5d8037acef1e97a074d6e00bb598615 (diff)
downloadbcm5719-llvm-47054fbbe93625c63bf9d802fdf06d7a2e64ce78.tar.gz
bcm5719-llvm-47054fbbe93625c63bf9d802fdf06d7a2e64ce78.zip
Minor tweaks on doug's objc recovery patch: the caller
of isSimpleObjCMessageExpression checks the language, so change a dynamic check into an assert. isSimpleObjCMessageExpression is expensive, so only do it in the common case when it is likely to matter: when the [ of the postfix expr starts on a new line. This should avoid doing lookahead for every array expression. llvm-svn: 105229
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud