summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-18 18:54:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-18 18:54:33 +0000
commitc050af91264264006fcdb6fdacd3a36283628d09 (patch)
tree27dc5c15b61f597424fa349102153dfc7d3e4953 /llvm/lib/Bytecode/Reader/Reader.cpp
parentf15cd5637bb1bc8e0945e45260a45933b09cb5f1 (diff)
downloadbcm5719-llvm-c050af91264264006fcdb6fdacd3a36283628d09.tar.gz
bcm5719-llvm-c050af91264264006fcdb6fdacd3a36283628d09.zip
Clean up some code around the store V, (cast P) -> store (cast V), P
transform. Change some variable names so it is clear what is source and what is dest of the cast. Also, add an assert to ensure that the integer to integer case is asserting if the bitwidths are different. This prevents illegal casts from being formed and catches bitwidth bugs sooner. llvm-svn: 33337
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud