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

Issue 2600913002: [intl] Remove redundant type checking system (Closed)

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

Description

[intl] Remove redundant type checking system Previously, the Intl implementation tracked types two ways: - In the intl_initialized_marker_symbol - In various named properties of the intl_impl_object_symbol value As far as I can tell, these will never disagree with each other, modulo bugs in Intl itself. This patch removes the second type checking system. This reland includes a fixed type check for Intl.DateTimeFormat.prototype.formatToParts , which is the only Intl method which is not bound. All future methods will follow this pattern. BUG=v8:5751, chromium:677055, v8:4962 CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng Review-Url: https://codereview.chromium.org/2600913002 Cr-Commit-Position: refs/heads/master@{#42118} Committed: https://chromium.googlesource.com/v8/v8/+/aa8a2d2789f79c2c367db406e453b9044e594e25

Patch Set 1 #

Patch Set 2 : Make test conditional on Intl being present #

Patch Set 3 : Add regression test #

Patch Set 4 : 80col limit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -65 lines) Patch
M src/i18n.cc View 4 chunks +4 lines, -36 lines 0 comments Download
M src/js/i18n.js View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/runtime/runtime-i18n.cc View 13 chunks +9 lines, -29 lines 0 comments Download
A test/intl/bad-target.js View 1 chunk +39 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-4962.js View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-677055.js View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
Dan Ehrenberg
3 years, 12 months ago (2016-12-27 18:11:43 UTC) #7
adamk
lgtm
3 years, 11 months ago (2017-01-06 22:40:29 UTC) #23
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/2600913002/60001
3 years, 11 months ago (2017-01-07 02:30:40 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/v8/v8/+/aa8a2d2789f79c2c367db406e453b9044e594e25
3 years, 11 months ago (2017-01-07 02:54:55 UTC) #28
Michael Achenbach
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2617323002/ by machenbach@chromium.org. ...
3 years, 11 months ago (2017-01-07 06:50:35 UTC) #29
Michael Achenbach
On 2017/01/07 06:50:35, Michael Achenbach (OOO) wrote: > A revert of this CL (patchset #4 ...
3 years, 11 months ago (2017-01-07 11:00:19 UTC) #30
Michael Achenbach
Guess the cq-include-trybot feature doesn't work well with triggered bots. CQ has no idea about ...
3 years, 11 months ago (2017-01-07 11:02:27 UTC) #32
tandrii(chromium)
3 years, 11 months ago (2017-01-07 11:11:45 UTC) #33
Message was sent while issue was closed.
On 2017/01/07 11:02:27, Michael Achenbach (OOO) wrote:
> Guess the cq-include-trybot feature doesn't work well with triggered bots. CQ
> has no idea about the triggered-by relation here. Therefore the triggered
noi18n
> bot didn't block this.

Yep, i think so too.
I guess the easiest way out is making v8_linux_noi18n_rel_ng recipe fail if
parent build properties are not not given,
then if this bot is in extra trybots list, direct CQ trigger will be red.
Ah, actually that won't work anyway, because CQ will immediately retry and it'll
fail again and CQ will abort the run :( 

I don't have good solution for you.

Powered by Google App Engine
This is Rietveld 408576698