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

Issue 947443005: Fix issue with -0 in Maps (Closed)

Created:
5 years, 10 months ago by arv (Not doing code reviews)
Modified:
5 years, 10 months ago
Reviewers:
adamk
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix issue with -0 in Maps Because we generated a different hash code for 0 and -0 we ended up not even getting to the SameValueZero check. BUG=v8:3906 LOG=N R=adamk Committed: https://crrev.com/925364f5b447b42c5af748896e552d6e918adca3 Cr-Commit-Position: refs/heads/master@{#26787}

Patch Set 1 #

Total comments: 8

Patch Set 2 : remove extra file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -4 lines) Patch
M src/objects.cc View 1 chunk +10 lines, -4 lines 0 comments Download
A test/mjsunit/es6/map-minus-zero.js View 1 1 chunk +51 lines, -0 lines 0 comments Download
A test/mjsunit/es6/set-minus-zero.js View 1 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/947443005/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/947443005/diff/1/src/objects.cc#newcode801 src/objects.cc:801: if (IsSmi()) { IsNumber() checked IsSmi() || IsHeapNumber() ...
5 years, 10 months ago (2015-02-20 19:19:08 UTC) #1
adamk
https://codereview.chromium.org/947443005/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/947443005/diff/1/src/objects.cc#newcode803 src/objects.cc:803: uint32_t hash = ComputeLongHash(double_to_uint64(static_cast<double>(num))); On 2015/02/20 19:19:08, arv wrote: ...
5 years, 10 months ago (2015-02-20 19:50:04 UTC) #2
arv (Not doing code reviews)
Add set test and cleanup test
5 years, 10 months ago (2015-02-20 20:01:00 UTC) #3
arv (Not doing code reviews)
fix year
5 years, 10 months ago (2015-02-20 20:01:33 UTC) #4
arv (Not doing code reviews)
rename file
5 years, 10 months ago (2015-02-20 20:03:18 UTC) #5
arv (Not doing code reviews)
remove extra file
5 years, 10 months ago (2015-02-20 20:04:12 UTC) #6
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/947443005/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/947443005/diff/1/src/objects.cc#newcode809 src/objects.cc:809: if (i::IsMinusZero(num)) num = 0; On 2015/02/20 19:50:03, ...
5 years, 10 months ago (2015-02-20 20:05:34 UTC) #10
adamk
lgtm
5 years, 10 months ago (2015-02-20 20:11:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947443005/80001
5 years, 10 months ago (2015-02-20 20:27:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947443005/80001
5 years, 10 months ago (2015-02-20 20:27:37 UTC) #14
commit-bot: I haz the power
Failed to apply the patch.
5 years, 10 months ago (2015-02-20 21:02:42 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 10 months ago (2015-02-20 21:02:46 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 21:03:09 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/925364f5b447b42c5af748896e552d6e918adca3
Cr-Commit-Position: refs/heads/master@{#26787}

Powered by Google App Engine
This is Rietveld 408576698