Reviewers: Søren Gjesse,
Description:
Refactor recording of safepoints.
Refactor SafepointTableBuilder::DefineSafepoint and ARM
LCodeGen::RecordSafepoint to use an enum for different kinds of safepoints.
This
change removes a lot of duplicated code and makes it easier to include new
kinds
of safepoints in the future. The remaining variants of
LCodeGen::RecordSafepoint
remain as a convinient way to record common safepoint kinds.
BUG=1043
TEST=none
Please review this at http://codereview.chromium.org/6341008/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/arm/lithium-codegen-arm.h
M src/arm/lithium-codegen-arm.cc
M src/safepoint-table.h
M src/safepoint-table.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev