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

Issue 6125007: Allow arguments in safepoints with registers. (Closed)

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

Description

Allow arguments in safepoints with registers. This should enable calling runtime functions with arguments from deferred lithium code. Committed: http://code.google.com/p/v8/source/detail?r=6285

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -93 lines) Patch
M src/frames.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/frames.cc View 7 chunks +23 lines, -22 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 chunk +3 lines, -2 lines 2 comments Download
M src/objects.h View 2 chunks +5 lines, -3 lines 0 comments Download
M src/objects.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M src/safepoint-table.h View 4 chunks +78 lines, -30 lines 2 comments Download
M src/safepoint-table.cc View 7 chunks +50 lines, -26 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Vitaly Repeshko
9 years, 11 months ago (2011-01-11 19:52:46 UTC) #1
fschneider
LGTM. I like the much nicer safe-point table abstractions! http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.cc File src/safepoint-table.cc (right): http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.cc#newcode102 src/safepoint-table.cc:102: ...
9 years, 11 months ago (2011-01-12 09:57:02 UTC) #2
Søren Thygesen Gjesse
http://codereview.chromium.org/6125007/diff/1/src/ia32/deoptimizer-ia32.cc File src/ia32/deoptimizer-ia32.cc (right): http://codereview.chromium.org/6125007/diff/1/src/ia32/deoptimizer-ia32.cc#newcode58 src/ia32/deoptimizer-ia32.cc:58: unsigned pc_offset = table.GetPcOffset(i); You need to make this ...
9 years, 11 months ago (2011-01-12 10:57:34 UTC) #3
Vitaly Repeshko
9 years, 11 months ago (2011-01-12 14:14:35 UTC) #4
Thanks! Submitted.


-- Vitaly

http://codereview.chromium.org/6125007/diff/1/src/ia32/deoptimizer-ia32.cc
File src/ia32/deoptimizer-ia32.cc (right):

http://codereview.chromium.org/6125007/diff/1/src/ia32/deoptimizer-ia32.cc#ne...
src/ia32/deoptimizer-ia32.cc:58: unsigned pc_offset = table.GetPcOffset(i);
On 2011/01/12 10:57:34, Søren Gjesse wrote:
> You need to make this change in deoptimizer-arm.cc as well.

Thanks for the reminder. I actually indented to do the port after the ia32 part
is LGTM'ed, but forgot to mention it. Now the port is done.

http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.cc
File src/safepoint-table.cc (right):

http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.cc#newcode102
src/safepoint-table.cc:102: }
On 2011/01/12 09:57:02, fschneider wrote:
> Maybe print the number of arguments for the entry if > 0 here.

Good idea. Done.

http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.h
File src/safepoint-table.h (right):

http://codereview.chromium.org/6125007/diff/1/src/safepoint-table.h#newcode93
src/safepoint-table.h:93: kDeoptIndexBits> {};  // NOLINT
On 2011/01/12 09:57:02, fschneider wrote:
> Is the NO_LINT needed? This looks like perfectly fine style to me.

Cpplint doesn't like the semicolon after the closing brace, it thinks this is
something like "while (foo) {};".

Powered by Google App Engine
This is Rietveld 408576698