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

Issue 340037: Support for calls on named and keyed properties of the form:... (Closed)

Created:
11 years, 1 month ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Support for calls on named and keyed properties in the fast compiler of the form: o.x() and o[expr]() other changes: - Fix missing relocation info for StoreIC on global object. - Generate only one common return sequence instead of always appending "return <undefined>" at the end of each function: The first JS return-statement will generate the common return sequence. All other return-statements will generate a unconditional branch to the common return sequence. Committed: http://code.google.com/p/v8/source/detail?r=3183

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -181 lines) Patch
M src/arm/codegen-arm.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M src/arm/fast-codegen-arm.cc View 1 2 3 chunks +108 lines, -38 lines 0 comments Download
M src/compiler.cc View 1 2 1 chunk +16 lines, -1 line 0 comments Download
M src/fast-codegen.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 2 8 chunks +119 lines, -34 lines 0 comments Download
M src/x64/codegen-x64.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 2 6 chunks +130 lines, -45 lines 0 comments Download
A test/mjsunit/compiler/function-call.js View 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fschneider
11 years, 1 month ago (2009-10-29 18:51:24 UTC) #1
Kevin Millikin (Chromium)
Comments. Code generator comments apply to all three platforms. http://codereview.chromium.org/340037/diff/1/10 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/340037/diff/1/10#newcode104 Line ...
11 years, 1 month ago (2009-10-29 19:43:13 UTC) #2
fschneider
Uploaded new patch. Added a mjsunit test. http://codereview.chromium.org/340037/diff/1/10 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/340037/diff/1/10#newcode104 Line 104: if ...
11 years, 1 month ago (2009-10-30 08:39:00 UTC) #3
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/340037/diff/3001/4002 File src/ia32/fast-codegen-ia32.cc (right): http://codereview.chromium.org/340037/diff/3001/4002#newcode565 Line 565: void FastCodeGenerator::EmitCallWithIC(Call* expr, bool is_global) { It ...
11 years, 1 month ago (2009-10-30 09:25:59 UTC) #4
fschneider
11 years, 1 month ago (2009-10-30 10:11:41 UTC) #5
http://codereview.chromium.org/340037/diff/3001/4002
File src/ia32/fast-codegen-ia32.cc (right):

http://codereview.chromium.org/340037/diff/3001/4002#newcode565
Line 565: void FastCodeGenerator::EmitCallWithIC(Call* expr, bool is_global) {
On 2009/10/30 09:25:59, Kevin Millikin wrote:
> It is probably nicer to pass the RelocInfo::Mode here.  Booleans are hard to
> understant at the call site.

Done. (also on other platforms)

Powered by Google App Engine
This is Rietveld 408576698