OSDN Git Service

Subzero: Completely remove tracking of stack pointer live range.
authorJim Stichnoth <stichnot@chromium.org>
Fri, 7 Aug 2015 00:50:14 +0000 (17:50 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Fri, 7 Aug 2015 00:50:14 +0000 (17:50 -0700)
commitf9df45232d77d5a53cee87a138db42f27798d9ee
treeccd22a4815489aec463178ee3f36aad978f6bdcc
parent88ab5ca48564f4863d71f43bdfe0f1104e038ece
Subzero: Completely remove tracking of stack pointer live range.

Specifically, if a variable is marked with IgnoreLiveness=true, then:
  1. Completely avoid adding any segments to its live range
  2. Assert that no one tries to add segments to its live range

This is done in part by incorporating Variable::IgnoreLiveness into Liveness::RangeMask.

Also, change a functor into a lambda because C++11.

BUG= none
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/1273823003.
src/IceCfgNode.cpp
src/IceLiveness.cpp
src/IceOperand.h
src/IceRegAlloc.cpp