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

Issue 1129743003: Make V8 extras a separate type of native (Closed)

Created:
5 years, 7 months ago by domenic
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make V8 extras a separate type of native Instead of making them an extra option that gets passed in and compiled at the end of the natives file for a given run of js2c, we now make them a separate run of js2c with a separate natives file output. This natives file output is then compiled in the bootstrapper. It is not part of the snapshot (yet), but instead is treated similar to the experimental natives, just without any of the complexity that comes from tieing the behavior to flags. We also don't add counterparts to InitializeExperimentalGlobal and InstallExperimentalNativeFunctions, yet. R=yangguo@chromium.org, jochen@chromium.org BUG= Committed: https://crrev.com/c93aff4ac63ad9ffb6318e750335208de32b7902 Cr-Commit-Position: refs/heads/master@{#28296}

Patch Set 1 #

Patch Set 2 : Add BUILD.gn; fix build errors with no extras #

Total comments: 2

Patch Set 3 : Fix Python formatting nits #

Total comments: 1

Patch Set 4 : Fix gn compile errors #

Patch Set 5 : Fix js2c.py so we can hopefully re-land #

Patch Set 6 : Broken version from https://codereview.chromium.org/1129743003 #

Patch Set 7 : Fix js2c.py's dummy file to be non-empty #

Patch Set 8 : Initial version from https://codereview.chromium.org/1129743003 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -43 lines) Patch
M BUILD.gn View 1 2 3 6 chunks +37 lines, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 8 chunks +32 lines, -3 lines 0 comments Download
M src/heap/heap.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/snapshot/natives.h View 2 chunks +2 lines, -3 lines 0 comments Download
M src/snapshot/natives-external.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M src/startup-data-util.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 7 chunks +31 lines, -5 lines 0 comments Download
M tools/js2c.py View 1 2 5 7 8 chunks +27 lines, -30 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/1
5 years, 7 months ago (2015-05-06 13:07:57 UTC) #2
jochen (gone - plz use gerrit)
can you also update the BUILD.gn file?
5 years, 7 months ago (2015-05-06 13:09:42 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/148)
5 years, 7 months ago (2015-05-06 13:13:25 UTC) #5
domenic
On 2015/05/06 at 13:09:42, jochen wrote: > can you also update the BUILD.gn file? BUILD.gn ...
5 years, 7 months ago (2015-05-06 13:36:41 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/20001
5 years, 7 months ago (2015-05-06 13:41:27 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_chromium_gn_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_chromium_gn_rel/builds/4032)
5 years, 7 months ago (2015-05-06 13:54:23 UTC) #10
Yang
The non build system part look good. I'll give the other parts another look. https://codereview.chromium.org/1129743003/diff/20001/tools/js2c.py ...
5 years, 7 months ago (2015-05-06 13:59:54 UTC) #11
domenic
On 2015/05/06 at 13:59:54, yangguo wrote: > The non build system part look good. I'll ...
5 years, 7 months ago (2015-05-06 14:41:48 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/40001
5 years, 7 months ago (2015-05-07 09:01:41 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_chromium_gn_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_chromium_gn_rel/builds/4055)
5 years, 7 months ago (2015-05-07 09:46:53 UTC) #16
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1129743003/diff/40001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/1129743003/diff/40001/src/bootstrapper.cc#newcode1464 src/bootstrapper.cc:1464: return CompileNative(isolate, name, source_code); CompileNative calls CompileScriptCached with use_runtime_context ...
5 years, 7 months ago (2015-05-07 09:56:30 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/60001
5 years, 7 months ago (2015-05-07 11:18:45 UTC) #19
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 7 months ago (2015-05-07 11:18:47 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/60001
5 years, 7 months ago (2015-05-07 11:44:20 UTC) #23
jochen (gone - plz use gerrit)
lgtm
5 years, 7 months ago (2015-05-07 11:45:14 UTC) #24
Yang
On 2015/05/07 11:45:14, jochen wrote: > lgtm lgtm.
5 years, 7 months ago (2015-05-07 11:46:51 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 12:09:08 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129743003/60001
5 years, 7 months ago (2015-05-07 12:42:41 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-07 12:44:13 UTC) #30
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c93aff4ac63ad9ffb6318e750335208de32b7902 Cr-Commit-Position: refs/heads/master@{#28296}
5 years, 7 months ago (2015-05-07 12:44:27 UTC) #31
domenic
5 years, 7 months ago (2015-05-07 14:09:21 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1131903002/ by domenic@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28db....

Powered by Google App Engine
This is Rietveld 408576698