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

Issue 354024: Emitting the common return sequence in the top-level compiler in one function... (Closed)

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

Description

Emitting the common return sequence in the top-level compiler in one function for each platform. I factored out the code for emitting the return sequence since we had this code duplicated in the top-level compiler. Committed: http://code.google.com/p/v8/source/detail?r=3213

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -129 lines) Patch
M src/arm/fast-codegen-arm.cc View 1 2 3 3 chunks +44 lines, -34 lines 0 comments Download
M src/fast-codegen.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 2 3 3 chunks +32 lines, -39 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 2 3 3 chunks +37 lines, -56 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
fschneider
11 years, 1 month ago (2009-11-03 11:15:18 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/354024/diff/1/5 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/354024/diff/1/5#newcode108 Line 108: { Comment cmnt(masm_, "Return sequence"); You don't need ...
11 years, 1 month ago (2009-11-03 11:31:04 UTC) #2
fschneider
http://codereview.chromium.org/354024/diff/1/5 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/354024/diff/1/5#newcode113 Line 113: SetReturnPosition(function_); On 2009/11/03 11:31:04, Kevin Millikin wrote: > ...
11 years, 1 month ago (2009-11-03 12:24:30 UTC) #3
William Hesse
Kevin's comments need to be addressed, but then it looks good to me.
11 years, 1 month ago (2009-11-03 13:18:21 UTC) #4
fschneider
Changed call to SetReturnPosition: It is called when generating the return <undefined>, and SetStatementPosition is ...
11 years, 1 month ago (2009-11-03 15:07:31 UTC) #5
Kevin Millikin (Chromium)
http://codereview.chromium.org/354024/diff/4001/1007 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/354024/diff/4001/1007#newcode104 Line 104: EmitReturnSequence(); I actually think it's better to have ...
11 years, 1 month ago (2009-11-03 19:17:59 UTC) #6
fschneider
Updated so that EmitReturnSequence takes the position as an argument: either the position of a ...
11 years, 1 month ago (2009-11-04 13:01:34 UTC) #7
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/354024/diff/7001/7003 File src/ia32/fast-codegen-ia32.cc (right): http://codereview.chromium.org/354024/diff/7001/7003#newcode119 Line 119: } Please the check for return sequence ...
11 years, 1 month ago (2009-11-04 13:14:42 UTC) #8
fschneider
http://codereview.chromium.org/354024/diff/7001/7003 File src/ia32/fast-codegen-ia32.cc (right): http://codereview.chromium.org/354024/diff/7001/7003#newcode119 Line 119: } On 2009/11/04 13:14:42, Søren Gjesse wrote: > ...
11 years, 1 month ago (2009-11-04 14:10:52 UTC) #9
Kevin Millikin (Chromium)
11 years, 1 month ago (2009-11-04 14:22:36 UTC) #10
Excellent.

Powered by Google App Engine
This is Rietveld 408576698