summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-11-13 22:09:44 +0000
committerNico Weber <nicolasweber@gmx.de>2012-11-13 22:09:44 +0000
commit3ad723ca2eebbef8c480574092888d290a18254e (patch)
treed90b5fdb7db562de89ad44e3279a953c30b35ac7 /llvm/lib
parentf1aef758a7902c73ef7f2dd568bef8ad47f93006 (diff)
downloadbcm5719-llvm-3ad723ca2eebbef8c480574092888d290a18254e.tar.gz
bcm5719-llvm-3ad723ca2eebbef8c480574092888d290a18254e.zip
[ms] Make mangleIntegerLiteral less aware of exact type of the literal.
Integer literal mangling does not actually depend on exact type of the literal. This will simplify calling mangleIntegerLiteral when literal type is not known, for example, when sizes or offsets are mangled as integer literals. Also, call mangleNumber instead of directly printing mangled values of 0/1, to avoid this knowledge from being in multiple places. Patch from Evgeny Eltsin! llvm-svn: 167878
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud