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

Issue 309663005: Split Put into Put and Remove (Closed)

Created:
6 years, 6 months ago by arv (Not doing code reviews)
Modified:
6 years, 6 months ago
CC:
v8-dev, rossberg
Visibility:
Public.

Description

Split Put into Put and Remove No longer treat the hole as a removal. This removes one branch in Put and cleans up the API. BUG=None LOG=Y R=adamk@chromium.org, mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21616

Patch Set 1 #

Patch Set 2 : Fix comments #

Total comments: 7

Patch Set 3 : Remove move without was_present and use that in the runtime for extra speed #

Total comments: 4

Patch Set 4 : Add assert and some comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -52 lines) Patch
M src/objects.h View 1 2 3 chunks +13 lines, -6 lines 0 comments Download
M src/objects.cc View 1 2 3 9 chunks +50 lines, -28 lines 0 comments Download
M src/runtime.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/test-dictionary.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M test/cctest/test-ordered-hash-table.cc View 1 2 2 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
arv (Not doing code reviews)
Fix comments
6 years, 6 months ago (2014-05-30 18:45:38 UTC) #1
arv (Not doing code reviews)
6 years, 6 months ago (2014-05-30 18:46:11 UTC) #2
arv (Not doing code reviews)
https://codereview.chromium.org/309663005/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/309663005/diff/20001/src/objects.h#newcode4143 src/objects.h:4143: static Handle<ObjectHashTable> Remove(Handle<ObjectHashTable> table, I wasn't sure if I ...
6 years, 6 months ago (2014-05-30 18:47:08 UTC) #3
adamk
https://codereview.chromium.org/309663005/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/309663005/diff/20001/src/objects.h#newcode4219 src/objects.h:4219: static Handle<Derived> Remove(Handle<Derived> table, Handle<Object> key); I'm not sure ...
6 years, 6 months ago (2014-05-30 20:13:57 UTC) #4
arv (Not doing code reviews)
Remove move without was_present and use that in the runtime for extra speed
6 years, 6 months ago (2014-05-30 20:45:58 UTC) #5
arv (Not doing code reviews)
Ended up requiring was_present in both Remove methods and updated runtime to use that instead ...
6 years, 6 months ago (2014-05-30 20:53:06 UTC) #6
adamk
lgtm, but you'll need an OWNER review of course (adding mstarzinger, cc rossberg)
6 years, 6 months ago (2014-05-30 22:34:58 UTC) #7
Michael Starzinger
LGTM, just nits. https://codereview.chromium.org/309663005/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/309663005/diff/40001/src/objects.cc#newcode16552 src/objects.cc:16552: Handle<Object> value) { nit: Can we ...
6 years, 6 months ago (2014-06-02 13:34:03 UTC) #8
arv (Not doing code reviews)
Add assert and some comments
6 years, 6 months ago (2014-06-02 23:48:50 UTC) #9
arv (Not doing code reviews)
Done https://codereview.chromium.org/309663005/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/309663005/diff/40001/src/objects.cc#newcode16552 src/objects.cc:16552: Handle<Object> value) { On 2014/06/02 13:34:04, Michael Starzinger ...
6 years, 6 months ago (2014-06-02 23:49:07 UTC) #10
adamk
6 years, 6 months ago (2014-06-03 00:53:21 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r21616 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698