OSDN Git Service

Subzero: More asm-verbose fixes.
authorJim Stichnoth <stichnot@chromium.org>
Wed, 27 May 2015 17:41:07 +0000 (10:41 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Wed, 27 May 2015 17:41:07 +0000 (10:41 -0700)
commitb82baf2f057520ed42c527bec8da58520eb03162
tree9556f97d4f04c2a2726f56fe94caeccbdc6946ef
parent0d9faeac3449f49acadd021a273257bb3426d379
Subzero: More asm-verbose fixes.

It turns out that code deleted in 9a05aea88a8d9484d5f0ea1f2eabf52ee5a3647f actually had a legitimate purpose, so it is added back, this time with more extensive comments justifying it.

Also, takes the instruction's IsDestNonKillable flag into account when updating the live register usage count (along with extra comments on why that is necessary).

Furthermore, removes an unnecessary assert that otherwise fails when --asm-verbose is used with --filetype=iasm or --filetype-obj.

BUG= none
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/1158113002
src/IceCfg.cpp
src/IceCfgNode.cpp