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

Issue 290733008: Teach OrderedHashSet::Remove to report whether it actually removed anything (Closed)

Created:
6 years, 7 months ago by adamk
Modified:
6 years, 7 months ago
CC:
v8-dev, rossberg
Visibility:
Public.

Description

Teach OrderedHashSet::Remove to report whether it actually removed anything This avoids an unnecessary runtime call from Set.prototype.delete(). R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21408

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -16 lines) Patch
M src/collection.js View 1 chunk +1 line, -6 lines 0 comments Download
M src/objects.h View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/test-ordered-hash-table.cc View 2 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
adamk
6 years, 7 months ago (2014-05-21 09:50:16 UTC) #1
Michael Starzinger
LGTM.
6 years, 7 months ago (2014-05-21 10:59:37 UTC) #2
adamk
Committed patchset #1 manually as r21408 (presubmit successful).
6 years, 7 months ago (2014-05-21 12:16:55 UTC) #3
arv (Not doing code reviews)
6 years, 7 months ago (2014-05-21 16:45:06 UTC) #4
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698