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

Issue 6534022: Optimize functions needing a local context.... (Closed)

Created:
9 years, 10 months ago by rossberg
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Optimize functions needing a local context. Allocate the context in the prologue. Two issues had to be solved: (1) deoptimization needs to handle functions with a local context, (2) we need a safepoint in the prologue. (Thanks to Kevin.) Committed: http://code.google.com/p/v8/source/detail?r=6903

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -21 lines) Patch
M src/arm/deoptimizer-arm.cc View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 2 chunks +44 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 1 chunk +8 lines, -6 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 2 chunks +45 lines, -0 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rossberg
9 years, 10 months ago (2011-02-17 15:06:47 UTC) #1
Mads Ager (chromium)
A couple of questions. This is looking good. We need to port it to ARM ...
9 years, 10 months ago (2011-02-17 15:49:07 UTC) #2
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/6534022/diff/1/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6534022/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode141 src/ia32/lithium-codegen-ia32.cc:141: int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; Drive by question: ...
9 years, 10 months ago (2011-02-18 10:23:49 UTC) #3
rossberg
I adapted the changes to the other backends. Seems to work correctly, although we currently ...
9 years, 10 months ago (2011-02-21 16:40:42 UTC) #4
Mads Ager (chromium)
Could you upload again Andreas? I don't see the changes for the other backends. I ...
9 years, 10 months ago (2011-02-22 08:23:42 UTC) #5
rossberg
> Could you upload again Andreas? I don't see the changes for the other backends. ...
9 years, 10 months ago (2011-02-22 15:00:46 UTC) #6
Mads Ager (chromium)
9 years, 10 months ago (2011-02-22 15:21:10 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698