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

Issue 3140: Use null instead of undefined for deleted elements in code caches.... (Closed)

Created:
12 years, 3 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Use null instead of undefined for deleted elements in code caches. Update the lookup and update code for code caches to deal with deleted elements. Do not clear the code cache for the builtins object. If there was a matching element in the code cache, we would have hit the monomorphic prototype failure case and removed it. Committed: http://code.google.com/p/v8/source/detail?r=340

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M src/ic.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 4 chunks +19 lines, -2 lines 4 comments Download
M src/objects-inl.h View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
12 years, 3 months ago (2008-09-18 10:50:38 UTC) #1
Kasper Lund
LGTM, but it could use a few extra comments and there seems to be something ...
12 years, 3 months ago (2008-09-18 10:56:22 UTC) #2
Mads Ager (chromium)
12 years, 3 months ago (2008-09-18 11:17:49 UTC) #3
Thanks.  Fixed.

Powered by Google App Engine
This is Rietveld 408576698