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

Issue 8345038: Handlify the runtime lookup of CallIC and KeyedCallIC. (Closed)

Created:
9 years, 2 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 2 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Handlify the runtime lookup of CallIC and KeyedCallIC. R=ulan@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9701

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -212 lines) Patch
M src/accessors.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/api.cc View 2 chunks +5 lines, -8 lines 1 comment Download
M src/bootstrapper.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/debug.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/handles.h View 2 chunks +0 lines, -19 lines 0 comments Download
M src/handles.cc View 2 chunks +0 lines, -56 lines 0 comments Download
M src/ic.h View 2 chunks +7 lines, -6 lines 0 comments Download
M src/ic.cc View 9 chunks +61 lines, -90 lines 1 comment Download
M src/objects.h View 4 chunks +17 lines, -2 lines 0 comments Download
M src/objects.cc View 3 chunks +63 lines, -2 lines 2 comments Download
M src/runtime.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/runtime.cc View 14 chunks +21 lines, -22 lines 1 comment Download
M src/v8globals.h View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
9 years, 2 months ago (2011-10-19 06:46:47 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/8345038/diff/1/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/8345038/diff/1/src/ic.cc#newcode530 src/ic.cc:530: UpdateCaches(&lookup, state, extra_ic_state, object, name); I stopped short of ...
9 years, 2 months ago (2011-10-19 07:20:30 UTC) #2
ulan
9 years, 2 months ago (2011-10-19 08:48:12 UTC) #3
LGTM with comments.

http://codereview.chromium.org/8345038/diff/1/src/api.cc
File src/api.cc (right):

http://codereview.chromium.org/8345038/diff/1/src/api.cc#newcode3099
src/api.cc:3099: &ignored);
I thought we had a convention that we put each argument in a separate line if
they all do not fit in single line.

http://codereview.chromium.org/8345038/diff/1/src/objects.cc
File src/objects.cc (right):

http://codereview.chromium.org/8345038/diff/1/src/objects.cc#newcode539
src/objects.cc:539: Handle<Object> Object::GetProperty(Handle<Object> object,
On 2011/10/19 07:20:30, Kevin Millikin wrote:
> I can't decide if I like the isolate argument or not.  It seems a bit nicer
that
> the caller doesn't have to worry about it.  What do you think?
We are using an implicit invariant that the 'isolate_' member of all IC and stub
compilers is equal to the expression below. If the invariant will stay valid in
future (i.e. other people cannot accidentally break it), then I would also
prefer to drop the isolate argument.

http://codereview.chromium.org/8345038/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/8345038/diff/1/src/runtime.cc#newcode8133
src/runtime.cc:8133: JSFunction::CompileLazy(function, CLEAR_EXCEPTION);
Do we assume after this line that the function is compiled regardless of
CompileLazy result?

Powered by Google App Engine
This is Rietveld 408576698