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

Issue 6913021: Tiny refactoring - change compilation phase parameter for CopyForInlining from a boolean to an enum. (Closed)

Created:
9 years, 7 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Tiny refactoring - change compilation phase parameter for CopyForInlining from a boolean to an enum. BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=7782

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reformat some line splitting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M src/arm/lithium-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/hydrogen.cc View 1 3 chunks +9 lines, -4 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-x64.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
William Hesse
9 years, 7 months ago (2011-05-03 10:56:00 UTC) #1
Kevin Millikin (Chromium)
9 years, 7 months ago (2011-05-03 11:50:23 UTC) #2
LGTM.

http://codereview.chromium.org/6913021/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/6913021/diff/1/src/hydrogen.cc#newcode4108
src/hydrogen.cc:4108: HEnvironment* inner_env = environment()->CopyForInlining(
I prefer breaking at an operator if possible, rather than the dangling "(",
which offends the lisper in me:

HEnvironment* inner_env =
    environment()->CopyForInlining(target,
                                   function,
                                   HEnvironment::HYDROGEN,
                                   undefined);

and it uses the same number of lines.

Powered by Google App Engine
This is Rietveld 408576698