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

Issue 2801007: Remove redundant checks in and around GenerateDictionaryLoad.... (Closed)

Created:
10 years, 6 months ago by Vladislav Kaznacheev
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove redundant checks in and around GenerateDictionaryLoad. Similar or duplicate checks are scattered around the code before doing the dictionary load. Also the entire branch in GenerateCallNormal that handles global/builtin receiver is guaranteed to bail out from GenerateDictionaryLoad, so there is no point in generating it at all. The purpose of the patch is: - making C++ code more compact and transparent, - not generating dead code. There is a tiny performance gain. The patch is ia32 only for now. Please tell me if I am missing anything. Committed: http://code.google.com/p/v8/source/detail?r=4926

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -546 lines) Patch
M src/arm/ic-arm.cc View 2 19 chunks +152 lines, -174 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 20 chunks +140 lines, -194 lines 0 comments Download
M src/ic.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/v8-counters.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/ic-x64.cc View 2 19 chunks +139 lines, -174 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Vladislav Kaznacheev
10 years, 6 months ago (2010-06-17 09:15:17 UTC) #1
Mads Ager (chromium)
I like the cleanup in this changelist. http://codereview.chromium.org/2801007/diff/1/2 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/2801007/diff/1/2#newcode98 src/ia32/ic-ia32.cc:98: // Appropriate ...
10 years, 6 months ago (2010-06-17 11:37:04 UTC) #2
Vladislav Kaznacheev
10 years, 6 months ago (2010-06-22 11:03:52 UTC) #3
Mads Ager (chromium)
LGTM! http://codereview.chromium.org/2801007/diff/5001/6002 File src/arm/ic-arm.cc (right): http://codereview.chromium.org/2801007/diff/5001/6002#newcode53 src/arm/ic-arm.cc:53: Label* miss) { miss -> global_object? http://codereview.chromium.org/2801007/diff/5001/6002#newcode65 src/arm/ic-arm.cc:65: ...
10 years, 6 months ago (2010-06-23 07:18:12 UTC) #4
Vladislav Kaznacheev
http://codereview.chromium.org/2801007/diff/1/2 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/2801007/diff/1/2#newcode98 src/ia32/ic-ia32.cc:98: // Appropriate access checks must be done before entering ...
10 years, 6 months ago (2010-06-23 09:06:18 UTC) #5
Vladislav Kaznacheev
10 years, 6 months ago (2010-06-23 09:08:16 UTC) #6

          

Powered by Google App Engine
This is Rietveld 408576698