aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-07-29 23:31:58 +0000
committerAlexis Hunt <alercah@gmail.com>2011-07-29 23:31:58 +0000
commit8324378195dd6cddad509b72e3c5ea155b4d9ec3 (patch)
treedea0ac74920c3f6c9f630c1f3fb037a5ab4b4480 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent8d2ed56644047c08e2646aa8c981bebd84347b4a (diff)
downloadllvm-8324378195dd6cddad509b72e3c5ea155b4d9ec3.zip
llvm-8324378195dd6cddad509b72e3c5ea155b4d9ec3.tar.gz
llvm-8324378195dd6cddad509b72e3c5ea155b4d9ec3.tar.bz2
Explicitly invoke the size_type specialization of max and min. This
avoids bugs where, when the allocator's size_type was smaller than int, the multiplication or division would cause integral promotions and, with two different integer types as arguments, deduction of the template arguments would fail. llvm-svn: 136540
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions