DescriptionRefactor 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=http://code.google.com/p/v8/issues/detail?id=1043
TEST=none
Patch Set 1 #Patch Set 2 : Implementation for ia32 and x64 platforms. #Patch Set 3 : Fix presubmit. #
Messages
Total messages: 2 (0 generated)
|