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

Issue 2496043003: [builtins] Fix pointer comparison in ToString builtin. (Closed)

Created:
4 years, 1 month ago by Michael Starzinger
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Fix pointer comparison in ToString builtin. This fixes the bogus {Word32Equal} comparison in the ToString builtin implementing Object.prototype.toString to be a pointer-size {WordEqual} comparison instead. Comparing just the lower half-word is insufficient on 64-bit architectures. R=jgruber@chromium.org TEST=mjsunit/regress/regress-crbug-664506 BUG=chromium:664506 Committed: https://crrev.com/79aee39f24d6753ce6fbf36eb09f5fb63614e0d8 Cr-Commit-Position: refs/heads/master@{#40963}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M src/builtins/builtins-object.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-664506.js View 1 chunk +11 lines, -0 lines 2 comments Download

Messages

Total messages: 18 (10 generated)
Michael Starzinger
4 years, 1 month ago (2016-11-14 11:54:52 UTC) #3
jgruber1
lgtm
4 years, 1 month ago (2016-11-14 12:10:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2496043003/1
4 years, 1 month ago (2016-11-14 12:42:20 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-14 12:44:18 UTC) #12
Michael Achenbach
https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js File test/mjsunit/regress/regress-crbug-664506.js (right): https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js#newcode5 test/mjsunit/regress/regress-crbug-664506.js:5: // Flags: --expose-gc --predictable --random-seed=-1109634722 Hmm, I think the ...
4 years, 1 month ago (2016-11-14 13:40:10 UTC) #14
Michael Starzinger
https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js File test/mjsunit/regress/regress-crbug-664506.js (right): https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js#newcode5 test/mjsunit/regress/regress-crbug-664506.js:5: // Flags: --expose-gc --predictable --random-seed=-1109634722 On 2016/11/14 13:40:10, machenbach ...
4 years, 1 month ago (2016-11-14 14:50:27 UTC) #15
Michael Achenbach
On 2016/11/14 14:50:27, Michael Starzinger wrote: > https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js > File test/mjsunit/regress/regress-crbug-664506.js (right): > > https://codereview.chromium.org/2496043003/diff/1/test/mjsunit/regress/regress-crbug-664506.js#newcode5 ...
4 years, 1 month ago (2016-11-14 15:02:07 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:32:31 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/79aee39f24d6753ce6fbf36eb09f5fb63614e0d8
Cr-Commit-Position: refs/heads/master@{#40963}

Powered by Google App Engine
This is Rietveld 408576698