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

Issue 2587713002: [intl] Remove new.target check in Intl functions and method (Closed)

Created:
4 years ago by Dan Ehrenberg
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[intl] Remove new.target check in Intl functions and method The Intl implementation included manual checks to see if they were being called as a constructor. However, these checks are redundant, as %FunctionRemovePrototype has already marked the functions as un-constructable. This path removes the unnecessary checks. R=yangguo Review-Url: https://codereview.chromium.org/2587713002 Cr-Commit-Position: refs/heads/master@{#41867} Committed: https://chromium.googlesource.com/v8/v8/+/b88d96c73a5a38d08c38768f1ff149a6e99bd317

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -55 lines) Patch
M src/js/i18n.js View 1 14 chunks +0 lines, -55 lines 0 comments Download
A test/intl/not-constructors.js View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Dan Ehrenberg
4 years ago (2016-12-18 06:39:33 UTC) #4
Yang
lgtm
4 years ago (2016-12-19 08:36:18 UTC) #7
jungshik at Google
Thank you, Dan, for removing the check in other i18n functions. https://codereview.chromium.org/2587713002/diff/1/src/js/i18n.js File src/js/i18n.js (left): ...
4 years ago (2016-12-19 20:56:09 UTC) #9
jungshik at Google
On 2016/12/19 20:56:09, jungshik at google wrote: > Thank you, Dan, for removing the check ...
4 years ago (2016-12-19 20:57:05 UTC) #10
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/2587713002/1
4 years ago (2016-12-19 21:18:09 UTC) #12
commit-bot: I haz the power
Failed to apply patch for src/js/i18n.js: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-19 21:44:17 UTC) #14
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/2587713002/20001
4 years ago (2016-12-20 15:40:57 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-20 16:06:25 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/b88d96c73a5a38d08c38768f1ff149a6e99...

Powered by Google App Engine
This is Rietveld 408576698