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

Issue 40169: Change the way we handle backward jumps in the code generator. Keep... (Closed)

Created:
11 years, 9 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
iposva, Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Change the way we handle backward jumps in the code generator. Keep the frame states of all the forward-entering frames that had merge code generated. At a backward branch, check if there is no merge code or if we can reuse an existing merge block. Committed: http://code.google.com/p/v8/source/detail?r=1502

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -221 lines) Patch
M src/jump-target.cc View 1 2 3 4 6 chunks +20 lines, -38 lines 2 comments Download
M src/jump-target-arm.cc View 4 5 3 chunks +169 lines, -92 lines 0 comments Download
M src/jump-target-ia32.cc View 1 2 3 4 3 chunks +168 lines, -91 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Kevin Millikin (Chromium)
We can do a similar thing at backward unconditional jumps. It would reduce code size, ...
11 years, 9 months ago (2009-03-05 18:05:34 UTC) #1
Kasper Lund
LGTM. You should run some of our tests through valgrind.
11 years, 9 months ago (2009-03-09 11:50:52 UTC) #2
Kevin Millikin (Chromium)
On 2009/03/09 11:50:52, Kasper Lund wrote: > LGTM. You should run some of our tests ...
11 years, 9 months ago (2009-03-12 09:39:54 UTC) #3
Kevin Millikin (Chromium)
On 2009/03/12 09:39:54, Kevin Millikin wrote: > On 2009/03/09 11:50:52, Kasper Lund wrote: > > ...
11 years, 9 months ago (2009-03-12 13:49:30 UTC) #4
Kasper Lund
LGTM. http://codereview.chromium.org/40169/diff/3015/2009 File src/jump-target.cc (right): http://codereview.chromium.org/40169/diff/3015/2009#newcode75 Line 75: delete reaching_frames_[i]; Do you want to NULL ...
11 years, 9 months ago (2009-03-12 14:45:00 UTC) #5
Kevin Millikin (Chromium)
11 years, 9 months ago (2009-03-12 14:53:51 UTC) #6
http://codereview.chromium.org/40169/diff/3015/2009
File src/jump-target.cc (right):

http://codereview.chromium.org/40169/diff/3015/2009#newcode75
Line 75: delete reaching_frames_[i];
On 2009/03/12 14:45:00, Kasper Lund wrote:
> Do you want to NULL them out too in case the JumpTarget is re-used?

Maybe it's safer (in the face of changes).  Right now, the entire list is
cleared in the call to Reset.

Powered by Google App Engine
This is Rietveld 408576698