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

Issue 5161002: Change the order of evaluation of sub-expressions for keyed call... (Closed)

Created:
10 years, 1 month ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change the order of evaluation of sub-expressions for keyed call The expression of the key is now evaluated before the arguments, so all expressions in a keyed call are evaluared from left to right. BUG=http://code.google.com/p/v8/issues/detail?id=931 TEST=test/mjsunit/regress/regress-931.js Committed: http://code.google.com/p/v8/source/detail?r=5842

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -25 lines) Patch
M src/arm/codegen-arm.cc View 1 2 chunks +15 lines, -6 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 chunks +11 lines, -3 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 chunks +15 lines, -4 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 1 chunk +12 lines, -4 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 chunks +15 lines, -4 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 1 chunk +12 lines, -4 lines 0 comments Download
A test/mjsunit/regress/regress-931.js View 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
Passes all the tests with both --nofull-codegen and --always-full-codegen on all three platforms in release ...
10 years, 1 month ago (2010-11-17 13:03:56 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/5161002/diff/1/src/arm/codegen-arm.cc File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/5161002/diff/1/src/arm/codegen-arm.cc#newcode4358 src/arm/codegen-arm.cc:4358: // a stack image common for calls using ...
10 years, 1 month ago (2010-11-17 13:11:37 UTC) #2
Søren Thygesen Gjesse
10 years, 1 month ago (2010-11-18 08:48:57 UTC) #3
http://codereview.chromium.org/5161002/diff/1/src/arm/codegen-arm.cc
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/5161002/diff/1/src/arm/codegen-arm.cc#newcode4358
src/arm/codegen-arm.cc:4358: // a stack image common for calls using an IC
(receiver followed by
On 2010/11/17 13:11:37, Mads Ager wrote:
> Swap the ... to follow the calling convention for call ICs?
> 
> In all the other code generators as well.

Done.

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

http://codereview.chromium.org/5161002/diff/1/src/ia32/codegen-ia32.cc#newcod...
src/ia32/codegen-ia32.cc:6303: Result tmp1 = frame_->Pop();
On 2010/11/17 13:11:37, Mads Ager wrote:
> Use names like 'key' and 'receiver' instead of tmp1 and tmp2?

Done.

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

http://codereview.chromium.org/5161002/diff/1/src/x64/codegen-x64.cc#newcode5601
src/x64/codegen-x64.cc:5601: Result tmp1 = frame_->Pop();
On 2010/11/17 13:11:37, Mads Ager wrote:
> names?

Done.

Powered by Google App Engine
This is Rietveld 408576698