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

Issue 8383033: Handlify simple functions of [keyed] load stub compiler. (Closed)

Created:
9 years, 2 months ago by ulan
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Handlify simple functions of [keyed] load stub compiler. Handlified functions: CompileLoadNonexistent, CompileLoadField, CompileLoadConstant, CompileLoadArrayLength, CompileLoadStringLength, CompileLoadFunctionPrototype. R=kmillikin@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9773

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -316 lines) Patch
M src/arm/stub-cache-arm.cc View 1 19 chunks +56 lines, -65 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 20 chunks +58 lines, -67 lines 0 comments Download
M src/stub-cache.h View 1 9 chunks +15 lines, -39 lines 0 comments Download
M src/stub-cache.cc View 1 12 chunks +28 lines, -81 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 19 chunks +55 lines, -64 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ulan
Please take a look.
9 years, 2 months ago (2011-10-25 10:03:27 UTC) #1
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/8383033/diff/1/src/arm/stub-cache-arm.cc File src/arm/stub-cache-arm.cc (right): http://codereview.chromium.org/8383033/diff/1/src/arm/stub-cache-arm.cc#newcode530 src/arm/stub-cache-arm.cc:530: : masm->isolate()->builtins()->KeyedLoadIC_Miss(); We usually just indent this with ...
9 years, 2 months ago (2011-10-25 11:35:49 UTC) #2
ulan
9 years, 2 months ago (2011-10-25 12:24:53 UTC) #3
Addressed comments, landing.

http://codereview.chromium.org/8383033/diff/1/src/arm/stub-cache-arm.cc
File src/arm/stub-cache-arm.cc (right):

http://codereview.chromium.org/8383033/diff/1/src/arm/stub-cache-arm.cc#newco...
src/arm/stub-cache-arm.cc:530: :
masm->isolate()->builtins()->KeyedLoadIC_Miss();
On 2011/10/25 11:35:50, Kevin Millikin wrote:
> We usually just indent this with the regular four space indent:
> 
> Handle<Code> code = (kind == Code::LOAD_IC)
>     ? masm->isolate()->builtins()->LoadIC_Miss()
>     : masm->isolate()->builtins()->KeyedLoadIC_Miss();
> 
> Otherwise it wastes too much of our 80 columns.

Done.

http://codereview.chromium.org/8383033/diff/1/src/arm/stub-cache-arm.cc#newco...
src/arm/stub-cache-arm.cc:3077: return GetCode(CALLBACKS, name);
On 2011/10/25 11:35:50, Kevin Millikin wrote:
> It might be a good idea (just to help us keep stuff straight) to rename the
raw
> pointer version of this function to TryGetCode.

Done.

Powered by Google App Engine
This is Rietveld 408576698