Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 6341008: Refactor recording of safepoints. (Closed)

Created:
9 years, 11 months ago by Karl Klose
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

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=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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -118 lines) Patch
M src/arm/lithium-codegen-arm.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 2 chunks +22 lines, -31 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 1 chunk +20 lines, -17 lines 0 comments Download
M src/safepoint-table.h View 2 chunks +8 lines, -17 lines 0 comments Download
M src/safepoint-table.cc View 1 2 2 chunks +7 lines, -36 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 1 chunk +20 lines, -17 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Karl Klose
9 years, 11 months ago (2011-01-25 22:28:29 UTC) #1
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-26 07:34:20 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698