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

Issue 550043: Fix issue 541 and some refactoring of the top-level compiler. (Closed)

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

Description

Fix issue 541 and some refactoring of the top-level compiler. * Refactor VisitProperty to use the platform-specific methods for emitting the IC calls. * Refactor recording of source positions in the top-level compiler. * Correct the recorded source positions for assignments and property loads. * Fix bug on x64 where source positions were not recorded before a calling a call-IC. * Correct some inconsistencies between IA-32 and X64 top-level code generator. We now pass all regression tests with --always-fast-compiler. Committed: http://code.google.com/p/v8/source/detail?r=3612

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -84 lines) Patch
M src/arm/fast-codegen-arm.cc View 1 5 chunks +14 lines, -19 lines 0 comments Download
M src/fast-codegen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/fast-codegen.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 7 chunks +18 lines, -27 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 8 chunks +23 lines, -31 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
10 years, 11 months ago (2010-01-14 19:26:55 UTC) #1
Kevin Millikin (Chromium)
We should avoid calling FastCodeGenerator::Apply on expression contexts that don't appear in the AST. Otherwise, ...
10 years, 11 months ago (2010-01-15 05:46:58 UTC) #2
fschneider
10 years, 11 months ago (2010-01-15 11:59:40 UTC) #3
http://codereview.chromium.org/550043/diff/1/6
File src/arm/fast-codegen-arm.cc (right):

http://codereview.chromium.org/550043/diff/1/6#newcode1386
src/arm/fast-codegen-arm.cc:1386: Apply(Expression::kValue, r0);
On 2010/01/15 05:46:58, Kevin Millikin wrote:
> Just use __push(r0) here.

Done.

http://codereview.chromium.org/550043/diff/1/5
File src/fast-codegen.cc (right):

http://codereview.chromium.org/550043/diff/1/5#newcode683
src/fast-codegen.cc:683: Apply(Expression::kValue, result_register());
On 2010/01/15 05:46:58, Kevin Millikin wrote:
> Use __ push(result_register()).

Done.

http://codereview.chromium.org/550043/diff/1/5#newcode687
src/fast-codegen.cc:687: Apply(Expression::kValue, result_register());
On 2010/01/15 05:46:58, Kevin Millikin wrote:
> And here.

Done.

http://codereview.chromium.org/550043/diff/1/3
File src/ia32/fast-codegen-ia32.cc (right):

http://codereview.chromium.org/550043/diff/1/3#newcode1351
src/ia32/fast-codegen-ia32.cc:1351: Apply(Expression::kValue, eax);
On 2010/01/15 05:46:58, Kevin Millikin wrote:
> __ push(eax).

Done.

http://codereview.chromium.org/550043/diff/1/4
File src/x64/fast-codegen-x64.cc (right):

http://codereview.chromium.org/550043/diff/1/4#newcode1371
src/x64/fast-codegen-x64.cc:1371: Apply(Expression::kValue, rax);
On 2010/01/15 05:46:58, Kevin Millikin wrote:
> __ push(rax).

Done.

Powered by Google App Engine
This is Rietveld 408576698