diff options
author | Alexis Hunt <alercah@gmail.com> | 2011-07-29 23:31:58 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2011-07-29 23:31:58 +0000 |
commit | 8324378195dd6cddad509b72e3c5ea155b4d9ec3 (patch) | |
tree | dea0ac74920c3f6c9f630c1f3fb037a5ab4b4480 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 8d2ed56644047c08e2646aa8c981bebd84347b4a (diff) | |
download | llvm-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