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

Issue 2586763002: [intl] Create the Intl constructors to C++ (Closed)

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

Description

[intl] Create the Intl constructors to C++ This patch moves the creation of the Intl constructors from JavaScript to C++ in bootstrapper.cc, to match all of the other builtins exposed to the web. BUG=v8:5751 Review-Url: https://codereview.chromium.org/2586763002 Cr-Commit-Position: refs/heads/master@{#41959} Committed: https://chromium.googlesource.com/v8/v8/+/e0359c36294e7fda024d075eca40c3b773f5abb9

Patch Set 1 #

Patch Set 2 : Exclude unnecessary variable #

Patch Set 3 : Set Intl.*.prototype.constructor properly #

Patch Set 4 : Rebase #

Patch Set 5 : Fix factory references #

Total comments: 3

Patch Set 6 : Rebase and fix long lines #

Patch Set 7 : Fix long lines more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -52 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 1 chunk +68 lines, -0 lines 0 comments Download
M src/js/i18n.js View 1 2 3 4 5 16 chunks +51 lines, -52 lines 0 comments Download
A test/intl/toStringTag.js View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (25 generated)
Dan Ehrenberg
This patch is set up as depending on the new constructor semantics, but it could ...
4 years ago (2016-12-21 13:15:51 UTC) #22
Yang
https://codereview.chromium.org/2586763002/diff/80001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2586763002/diff/80001/src/bootstrapper.cc#newcode2361 src/bootstrapper.cc:2361: number_format_prototype, Builtins::kIllegal); What's the point of installing half the ...
4 years ago (2016-12-21 13:23:13 UTC) #23
Dan Ehrenberg
https://codereview.chromium.org/2586763002/diff/80001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2586763002/diff/80001/src/bootstrapper.cc#newcode2361 src/bootstrapper.cc:2361: number_format_prototype, Builtins::kIllegal); On 2016/12/21 13:23:13, Yang wrote: > What's ...
4 years ago (2016-12-21 13:41:35 UTC) #24
Yang
lgtm with nit https://codereview.chromium.org/2586763002/diff/80001/test/intl/toStringTag.js File test/intl/toStringTag.js (right): https://codereview.chromium.org/2586763002/diff/80001/test/intl/toStringTag.js#newcode7 test/intl/toStringTag.js:7: descriptor = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, Symbol.toStringTag); 80char limit
4 years ago (2016-12-21 13:43:39 UTC) #25
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/2586763002/120001
3 years, 12 months ago (2016-12-27 16:44:09 UTC) #28
commit-bot: I haz the power
3 years, 12 months ago (2016-12-27 17:10:07 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/e0359c36294e7fda024d075eca40c3b773f...

Powered by Google App Engine
This is Rietveld 408576698