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

Issue 347001: Support for property assignment in the fast compiler.... (Closed)

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

Description

Support for property assignment in the fast compiler. The code for .result = (b.y = 99) where b is a global variable is: push [esi+0x17] mov ecx,0xf5c229ad ;; object: 0xf5c229ad <String[1]: b> call LoadIC_Initialize nop mov [esp],eax mov eax,0xc6 mov ecx,0xf5c25c41 ;; object: 0xf5c25c41 <String[1]: y> call StoreIC_Initialize nop mov [esp],eax pop [ebp+0xf4] There is still some room for improvement in the generated code. Other changes: - Replaced switch-statement in FastCodeGenerator::VisitProperty with DropAndMove(...) - Do not emit nop after IC calls on ARM. Committed: http://code.google.com/p/v8/source/detail?r=3180

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -61 lines) Patch
M src/arm/fast-codegen-arm.cc View 1 2 2 chunks +35 lines, -21 lines 0 comments Download
M src/compiler.cc View 1 2 2 chunks +10 lines, -6 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 2 4 chunks +38 lines, -16 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 2 3 chunks +39 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fschneider
11 years, 1 month ago (2009-10-28 12:21:16 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/347001/diff/1/3 File src/compiler.cc (right): http://codereview.chromium.org/347001/diff/1/3#newcode671 Line 671: // global variables and and properties. "We support ...
11 years, 1 month ago (2009-10-28 14:17:10 UTC) #2
fschneider
http://codereview.chromium.org/347001/diff/1/3 File src/compiler.cc (right): http://codereview.chromium.org/347001/diff/1/3#newcode671 Line 671: // global variables and and properties. On 2009/10/28 ...
11 years, 1 month ago (2009-10-28 17:43:30 UTC) #3
fschneider
New patch uploaded. Updates to merge with current release.
11 years, 1 month ago (2009-10-29 17:51:13 UTC) #4
Kevin Millikin (Chromium)
11 years, 1 month ago (2009-10-29 19:06:24 UTC) #5
LGTM.

Powered by Google App Engine
This is Rietveld 408576698