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

Issue 10033028: Reland arguments access support for inlined functions (r11109,r11118). (Closed)

Created:
8 years, 8 months ago by Vyacheslav Egorov (Chromium)
Modified:
8 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Reland arguments access support for inlined functions (r11109,r11118). When pushing arguments use correct initial values instead of fetching them from the environment which can be modified. R=fschneider@chromium.org TEST=test/mjsunit/compiler/inline-arguments.js Committed: https://code.google.com/p/v8/source/detail?r=11274

Patch Set 1 #

Total comments: 10

Patch Set 2 : fix Kevin's comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -130 lines) Patch
M src/arm/lithium-arm.h View 1 3 chunks +22 lines, -2 lines 1 comment Download
M src/arm/lithium-arm.cc View 1 3 chunks +16 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 chunks +18 lines, -9 lines 0 comments Download
M src/hydrogen.h View 1 6 chunks +20 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 17 chunks +127 lines, -46 lines 0 comments Download
M src/hydrogen-instructions.h View 1 5 chunks +22 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 chunks +26 lines, -17 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 3 chunks +22 lines, -2 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 3 chunks +15 lines, -4 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 chunks +19 lines, -10 lines 0 comments Download
M src/mips/lithium-mips.h View 1 3 chunks +22 lines, -2 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 3 chunks +16 lines, -4 lines 0 comments Download
M src/runtime.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 chunks +25 lines, -16 lines 0 comments Download
M src/x64/lithium-x64.h View 1 3 chunks +22 lines, -2 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 3 chunks +16 lines, -4 lines 0 comments Download
M test/mjsunit/compiler/inline-arguments.js View 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Chromium)
8 years, 8 months ago (2012-04-10 16:40:15 UTC) #1
Kevin Millikin (Chromium)
I have issues. http://codereview.chromium.org/10033028/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): http://codereview.chromium.org/10033028/diff/1/src/arm/lithium-arm.cc#newcode1081 src/arm/lithium-arm.cc:1081: current_block_->last_environment()->outer() != NULL)); I'd be more ...
8 years, 8 months ago (2012-04-11 11:49:18 UTC) #2
Vyacheslav Egorov (Chromium)
PTAL http://codereview.chromium.org/10033028/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): http://codereview.chromium.org/10033028/diff/1/src/arm/lithium-arm.cc#newcode1081 src/arm/lithium-arm.cc:1081: current_block_->last_environment()->outer() != NULL)); On 2012/04/11 11:49:18, Kevin Millikin ...
8 years, 8 months ago (2012-04-11 12:47:28 UTC) #3
Kevin Millikin (Chromium)
8 years, 8 months ago (2012-04-11 12:54:41 UTC) #4
LGTM.

http://codereview.chromium.org/10033028/diff/8001/src/arm/lithium-arm.h
File src/arm/lithium-arm.h (right):

http://codereview.chromium.org/10033028/diff/8001/src/arm/lithium-arm.h#newco...
src/arm/lithium-arm.h:538: explicit LArgumentsElements(bool from_inlined)
The flag could be gotten from the hydrogen_value().

Powered by Google App Engine
This is Rietveld 408576698