diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-31 18:18:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-31 18:18:22 +0000 |
commit | 47054fbbe93625c63bf9d802fdf06d7a2e64ce78 (patch) | |
tree | ca261c386b7864f8e790f606605ad1323fe701b2 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 14c46517b5d8037acef1e97a074d6e00bb598615 (diff) | |
download | bcm5719-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