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

Issue 113400: Bypass an expensive computation of a basic block's entry frame for a... (Closed)

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

Description

Bypass an expensive computation of a basic block's entry frame for a common case of a single forward edge (a fall-through). This includes exits from deferred code. The fall-through frame is used, after removing constants and copies above the high-water mark. Committed: http://code.google.com/p/v8/source/detail?r=1960

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -30 lines) Patch
M src/ia32/jump-target-ia32.cc View 3 chunks +38 lines, -30 lines 4 comments Download
M src/ia32/virtual-frame-ia32.h View 1 chunk +7 lines, -0 lines 2 comments Download
M src/ia32/virtual-frame-ia32.cc View 1 chunk +74 lines, -0 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
Kevin Millikin (Chromium)
This is pretty complicated. The virtual frame has a bunch of places where we do ...
11 years, 7 months ago (2009-05-14 15:10:10 UTC) #1
Kasper Lund
LGTM, but I'd like to get Bill's feedback too. http://codereview.chromium.org/113400/diff/1/2 File src/ia32/jump-target-ia32.cc (right): http://codereview.chromium.org/113400/diff/1/2#newcode225 Line ...
11 years, 7 months ago (2009-05-15 06:26:50 UTC) #2
William Hesse
LGTM. http://codereview.chromium.org/113400/diff/1/2 File src/ia32/jump-target-ia32.cc (right): http://codereview.chromium.org/113400/diff/1/2#newcode228 Line 228: reaching_frames_.length() == 1) { Can't this case ...
11 years, 7 months ago (2009-05-15 07:45:51 UTC) #3
Kevin Millikin (Chromium)
http://codereview.chromium.org/113400/diff/1/2 File src/ia32/jump-target-ia32.cc (right): http://codereview.chromium.org/113400/diff/1/2#newcode225 Line 225: On 2009/05/15 06:26:51, Kasper Lund wrote: > Too ...
11 years, 7 months ago (2009-05-15 08:03:34 UTC) #4
Kevin Millikin (Chromium)
11 years, 7 months ago (2009-05-15 08:12:25 UTC) #5
http://codereview.chromium.org/113400/diff/1/3
File src/ia32/virtual-frame-ia32.cc (right):

http://codereview.chromium.org/113400/diff/1/3#newcode194
Line 194: elements_[i].clear_copied();
It's annoying because we have to see the copy (later) to know if this one should
be marked copied.

The real problem is that the copy flags are conservative (it's safe to be marked
if not actually copied), so there is no good reason for setting or clearing them
at all.  It's here for the merging code but we can refactor that so it doesn't
matter.

Powered by Google App Engine
This is Rietveld 408576698