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

Issue 141038: Implemented a ContextSlotCache for compiled code. (Closed)

Created:
11 years, 6 months ago by bak
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implemented a ContextSlotCache for compiled code. Committed: http://code.google.com/p/v8/source/detail?r=2230

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -17 lines) Patch
M src/contexts.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 2 chunks +10 lines, -11 lines 1 comment Download
M src/heap.cc View 4 chunks +8 lines, -0 lines 1 comment Download
M src/runtime.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/scopeinfo.h View 1 chunk +69 lines, -0 lines 2 comments Download
M src/scopeinfo.cc View 3 chunks +84 lines, -4 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
bak
11 years, 6 months ago (2009-06-22 07:40:41 UTC) #1
Mads Ager (chromium)
11 years, 6 months ago (2009-06-22 08:00:18 UTC) #2
LGTM

http://codereview.chromium.org/141038/diff/1/2
File src/heap.cc (right):

http://codereview.chromium.org/141038/diff/1/2#newcode3521
Line 3521: // ------ KeyedLookupCache ------
We do not have separators like this in the rest of the code.  Could you remove
it (or add in more so it is consistently used)?

http://codereview.chromium.org/141038/diff/1/6
File src/heap.h (right):

http://codereview.chromium.org/141038/diff/1/6#newcode976
Line 976: inline static void CopyBlock(Object** dst, Object** src, int
byte_size);
This is not your code, but could you make this 'static inline' to match the
rest?

http://codereview.chromium.org/141038/diff/1/7
File src/scopeinfo.cc (right):

http://codereview.chromium.org/141038/diff/1/7#newcode428
Line 428: 
Remove extra lines.

http://codereview.chromium.org/141038/diff/1/5
File src/scopeinfo.h (right):

http://codereview.chromium.org/141038/diff/1/5#newcode168
Line 168: // slot index -1 means the property is absent.
Capitalize 'Slot'?

http://codereview.chromium.org/141038/diff/1/5#newcode193
Line 193: static void Check(Code* code,
Use a more telling name such as 'IsValidEntry'?

Powered by Google App Engine
This is Rietveld 408576698