domenic
b40071974e
Fix error messages for extra files in js2c.py
...
https://codereview.chromium.org/1117663002 contained a copy-paste
error; this is a follow-up fixing that so that error messages now
contain the correct filename when using the --extra option to js2c.py.
R=yangguo@chromium.org , jochen@chromium.org
Review URL: https://codereview.chromium.org/1120593002
Cr-Commit-Position: refs/heads/master@{#28158}
2015-04-30 11:24:15 +00:00
machenbach
4b8bb5ed1e
[test-runner] Enable specification of trybots.
...
Now it's possible to specify the desired trybots for perf
tries, e.g.:
tools/try_perf.py --linux64_haswell octane sunspider
BUG=chromium:478460
LOG=n
NOTRY=true
Review URL: https://codereview.chromium.org/1114913002
Cr-Commit-Position: refs/heads/master@{#28142}
2015-04-30 05:12:42 +00:00
domenic
8e2e83f0b3
Don't run macros or jsmin on extra snapshot scripts
...
js2c.py now distinguishes between the JS internal sources and any
extra scripts passed in. The latter only get validation and
comment/trailing whitespace removal applied now.
Also added a --js option to js2c.py, which will output a JS file
instead of a C++ file, for debugging. (I got tired of finding the
generated .cc file and extracting its byte array so that I could feed
it to a separate helper script I wrote.)
R=yangguo@chromium.org , jochen@chromium.org
BUG=v8:4064
LOG=N
Review URL: https://codereview.chromium.org/1117663002
Cr-Commit-Position: refs/heads/master@{#28133}
2015-04-29 14:01:44 +00:00
jochen
9ba5fe028f
Pass ArrayBuffer::Allocator via Isolate::CreateParams
...
We shouldn't have shared state between isolates by default. The embedder
is free to pass the same allocator to all isolates it creates.
BUG=none
R=dcarney@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1116633002
Cr-Commit-Position: refs/heads/master@{#28127}
2015-04-29 09:54:43 +00:00
svenpanne
bc7f79a670
Calculate blocks needing a frame and frame (de)construction sites.
...
Review URL: https://codereview.chromium.org/1053123006
Cr-Commit-Position: refs/heads/master@{#28120}
2015-04-29 05:54:52 +00:00
domenic
f39707cd96
Use "define" instead of "const" for natives macros
...
The use of "const" prevented the actual JavaScript const keyword from
functioning as intended.
R=jochen@chromium.org ,yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1110963003
Cr-Commit-Position: refs/heads/master@{#28111}
2015-04-28 14:58:25 +00:00
domenic
8a89a4a5ce
Allow extra library files to be snapshotted
...
BUG=
R=jochen@chromium.org , yangguo@chromium.org
Review URL: https://codereview.chromium.org/1113593002
Cr-Commit-Position: refs/heads/master@{#28110}
2015-04-28 14:56:07 +00:00
jochen
b584bab2f5
Remove support for malloc'd typed arrays
...
All typed arrays should be allocated through the array buffer allocator
BUG=none
R=dcarney@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1110603005
Cr-Commit-Position: refs/heads/master@{#28105}
2015-04-28 11:24:55 +00:00
machenbach
4b95b9bb32
[test] Restrict msan to default variant.
...
NOTRY=true
BUG=chromium:425187
LOG=n
TBR=Sven Panne, titzer
Review URL: https://codereview.chromium.org/1110923002
Cr-Commit-Position: refs/heads/master@{#28097}
2015-04-28 09:05:11 +00:00
bmeurer
4486c47d9b
[clang] Use -Wshorten-64-to-32 to enable warnings about 64bit to 32bit truncations.
...
Currently only the Win64 bots report this warnings, which adds quite
some overhead to the development process. With this flag we also get
compiler warnings about implicit 64bit to 32bit truncations when
building with clang on Linux/x64 and Mac/x64.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/1111733002
Cr-Commit-Position: refs/heads/master@{#28093}
2015-04-28 06:53:41 +00:00
yangguo
77e37028c6
Wrap messages implementation in a function.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1106633002
Cr-Commit-Position: refs/heads/master@{#28074}
2015-04-27 12:33:34 +00:00
hablich
8d8b742b9d
[release-tools] Return no hash if version is not available.
...
BUG=
Review URL: https://codereview.chromium.org/1105023002
Cr-Commit-Position: refs/heads/master@{#28070}
2015-04-27 11:32:05 +00:00
mstarzinger
e81ee90018
[test] Limit "unittests" suite to default variant.
...
This changes the unittests suite to be run in only the default variant,
because unit tests are (and should be) written to be independent from
global flags.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1067863007
Cr-Commit-Position: refs/heads/master@{#28054}
2015-04-27 08:19:55 +00:00
yangguo
cadf96da90
Migrate error messages, part 5 (array.js and i18n.js).
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/1096243003
Cr-Commit-Position: refs/heads/master@{#28040}
2015-04-24 10:21:43 +00:00
Michael Achenbach
b962eb459d
Whitespace change for greenification.
...
Cr-Commit-Position: refs/heads/master@{#28010}
2015-04-22 13:29:43 +00:00
svenpanne
9bb8b58549
Add an --omit-quit flag to d8 for Emscripten's sake.
...
Review URL: https://codereview.chromium.org/1101683002
Cr-Commit-Position: refs/heads/master@{#28004}
2015-04-22 12:24:15 +00:00
Benedikt Meurer
556221a23e
[mjsunit] Import asm.js test case for poppler.
...
R=hablich@chromium.org
Review URL: https://codereview.chromium.org/1105483002
Cr-Commit-Position: refs/heads/master@{#27996}
2015-04-22 09:33:43 +00:00
Benedikt Meurer
78f2efe0e4
[mjsunit] Add custom tests based on SQLite 3.8.9.
...
Also adjust the test runner to remove --always-opt for FAST_VARIANTS.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1056423004
Cr-Commit-Position: refs/heads/master@{#27989}
2015-04-22 07:44:50 +00:00
Benedikt Meurer
f68e24ad46
Revert "[test] Initial import of an emscripten test suite."
...
This reverts commit bb346227db
because it
adds a lot of overhead without significantly increasing our test
coverage. We need a different approach to deal with this.
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1099813007
Cr-Commit-Position: refs/heads/master@{#27987}
2015-04-22 04:31:56 +00:00
Benedikt Meurer
bb346227db
[test] Initial import of an emscripten test suite.
...
These tests are based on individual tests from the Emscripten benchmark
suite, which are used to test Emscripten itself. We adopt them to test
asm.js code paths in V8.
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1101493002
Cr-Commit-Position: refs/heads/master@{#27962}
2015-04-21 12:24:10 +00:00
svenpanne
4d3044e161
Removed src/{isolate,property-details,utils}-inl.h
...
Baby steps towards saner #includes...
Review URL: https://codereview.chromium.org/1051393003
Cr-Commit-Position: refs/heads/master@{#27958}
2015-04-21 10:21:37 +00:00
machenbach
c15ca44b0c
[test-runner] Add dedicated test mode for tryserver.
...
BUG=
Review URL: https://codereview.chromium.org/1098883002
Cr-Commit-Position: refs/heads/master@{#27952}
2015-04-21 08:17:01 +00:00
svenpanne
314e73d1ec
Import Reversed adapter from Chromium and use it in v8.
...
Review URL: https://codereview.chromium.org/1098863003
Cr-Commit-Position: refs/heads/master@{#27947}
2015-04-20 16:24:37 +00:00
titzer
f557d75360
Reland "Refactor compilation dependency handling."
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1099473004
Cr-Commit-Position: refs/heads/master@{#27945}
2015-04-20 15:21:44 +00:00
Benedikt Meurer
7eb7141fc4
[mjsunit] Import test case based on the Massive/SQLite benchmark.
...
This adds a stripped down version of the SQLite benchmark (running with
--size 1) to the mjsunit suite. We might want to move that to a
dedicated slow/stress/whatever test suite once an appropriate decision
is made.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1094043002
Cr-Commit-Position: refs/heads/master@{#27930}
2015-04-20 07:58:31 +00:00
yangguo
5a9a0b20e7
Migrate error messages, part 3 (runtime.js).
...
Motivation for this is reducing the size of the native context.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/1089303003
Cr-Commit-Position: refs/heads/master@{#27917}
2015-04-17 13:27:28 +00:00
Michael Achenbach
46c4c707e2
Whitespace commit to trigger bots.
...
Cr-Commit-Position: refs/heads/master@{#27913}
2015-04-17 11:01:43 +00:00
machenbach
e3c2ba776a
Revert of Refactor compilation dependency handling. (patchset #4 id:60001 of https://codereview.chromium.org/1095433002/ )
...
Reason for revert:
[Sheriff] Causes crashes in laout tests:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2543
Extra bisect run:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2548
Original issue's description:
> Refactor compilation dependency handling.
>
> Extract a new data structure CompilationDependencies and move (most) logic there.
>
> R=mstarzinger@chromium.org ,verwaest@chromium.org
> BUG=
>
> Committed: https://crrev.com/b882479f1c84a48961b8aec81fa1bb1225034784
> Cr-Commit-Position: refs/heads/master@{#27892}
TBR=mstarzinger@chromium.org ,verwaest@chromium.org,titzer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1093783002
Cr-Commit-Position: refs/heads/master@{#27904}
2015-04-17 07:47:09 +00:00
mstarzinger
8924a9e1b7
[turbofan] Add single --turbo flag.
...
This flag is intended as a staging flag for TurboFan. It serves as a
single flag that always enables a most recent configuration of TurboFan
for test suites and benchmarks, without needing to update test drivers.
R=titzer@chromium.org ,machenbach@chromium.org
Review URL: https://codereview.chromium.org/1094573002
Cr-Commit-Position: refs/heads/master@{#27896}
2015-04-16 16:28:39 +00:00
titzer
b882479f1c
Refactor compilation dependency handling.
...
Extract a new data structure CompilationDependencies and move (most) logic there.
R=mstarzinger@chromium.org ,verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1095433002
Cr-Commit-Position: refs/heads/master@{#27892}
2015-04-16 16:04:34 +00:00
hablich
0bc1a1526f
Store hashes of current and previous shipped V8 version
...
Will be used for calculating changes between versions
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/1095483002
Cr-Commit-Position: refs/heads/master@{#27882}
2015-04-16 12:51:42 +00:00
yangguo
a5ac029058
Start migrating error message templates to the runtime.
...
Currently done with two templates, one used from native js, one from runtime.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/1087633005
Cr-Commit-Position: refs/heads/master@{#27864}
2015-04-16 07:01:16 +00:00
bmeurer
d641cc457c
[turbofan] Split ControlEquivalence implementation and add trace flag.
...
Split interface and implementation of ControlEquivalence and add a
dedicated trace flag --trace-turbo-ceq to make it reusable outside the
scheduler.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/1056093005
Cr-Commit-Position: refs/heads/master@{#27862}
2015-04-16 06:04:36 +00:00
hablich
6198bbc56d
Retrieval of information by release channel
...
Polls omahaproxy for data about Chrome releases
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/1063073003
Cr-Commit-Position: refs/heads/master@{#27841}
2015-04-15 12:25:22 +00:00
jochen
e683048416
Reland "Remove support for thread-based recompilation"
...
Original issue's description:
> Remove support for thread-based recompilation
>
> BUG=v8:3608
> R=yangguo@chromium.org
> LOG=y
>
> Committed: https://crrev.com/ed5db223a19dfe126af01
> Cr-Commit-Position: refs/heads/master@{#27619}
BUG=v8:3608
R=yangguo@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1087763003
Cr-Commit-Position: refs/heads/master@{#27821}
2015-04-14 13:57:29 +00:00
jochen
cf663c487f
Revert of Reland "Remove support for thread-based recompilation" (patchset #1 id:1 of https://codereview.chromium.org/1059853004/ )
...
Reason for revert:
still times out
Original issue's description:
> Reland "Remove support for thread-based recompilation"
>
> Original issue's description:
> > Remove support for thread-based recompilation
> >
> > BUG=v8:3608
> > R=yangguo@chromium.org
> > LOG=y
> >
> > Committed: https://crrev.com/ed5db223a19dfe126af012e894582251aa3635d7
> > Cr-Commit-Position: refs/heads/master@{#27619}
>
> BUG=v8:3608
> R=yangguo@chromium.org
> LOG=y
>
> Committed: https://crrev.com/f1ceccb8b8b352a91e6366e3e3103f1db0df6afb
> Cr-Commit-Position: refs/heads/master@{#27813}
TBR=yangguo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3608
Review URL: https://codereview.chromium.org/1082183003
Cr-Commit-Position: refs/heads/master@{#27816}
2015-04-14 12:29:26 +00:00
jochen
f1ceccb8b8
Reland "Remove support for thread-based recompilation"
...
Original issue's description:
> Remove support for thread-based recompilation
>
> BUG=v8:3608
> R=yangguo@chromium.org
> LOG=y
>
> Committed: https://crrev.com/ed5db223a19dfe126af012e894582251aa3635d7
> Cr-Commit-Position: refs/heads/master@{#27619}
BUG=v8:3608
R=yangguo@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1059853004
Cr-Commit-Position: refs/heads/master@{#27813}
2015-04-14 10:26:41 +00:00
titzer
dee044d601
Add more exhaustive tests for Math.min and Math.max.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1078073002
Cr-Commit-Position: refs/heads/master@{#27747}
2015-04-10 12:35:16 +00:00
machenbach
fd0556efa0
[test-runner] Make perf runner robust for missing executable.
...
TBR=yangguo@chromium.org
NOTRY=true
NOTREECHECKS=true
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1080513002
Cr-Commit-Position: refs/heads/master@{#27743}
2015-04-10 12:01:27 +00:00
yangguo
c0593a1fc8
Add perf test configuration to track memory use of context and isolate.
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1075143002
Cr-Commit-Position: refs/heads/master@{#27738}
2015-04-10 09:48:57 +00:00
machenbach
ec0329e2d6
[release-tools] Make chromium roll more robust after failing rolls.
...
Always use the same branch name (the old version leaked
branches). Always try to delete a possibly existing branch
on start-up and also clean up in the end.
NOTRY=true
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/1077633002
Cr-Commit-Position: refs/heads/master@{#27722}
2015-04-09 21:37:37 +00:00
caitpotter88
74c381221c
[es6] implement spread calls
...
BUG=v8:3018
R=
LOG=N
Review URL: https://codereview.chromium.org/938443002
Cr-Commit-Position: refs/heads/master@{#27714}
2015-04-09 19:37:19 +00:00
machenbach
99be3e82bf
[test-runner] Pass slowest test durations to buildbot.
...
BUG=
Review URL: https://codereview.chromium.org/1070753003
Cr-Commit-Position: refs/heads/master@{#27696}
2015-04-09 09:56:03 +00:00
titzer
1b400a14cb
Add more systematic tests for comparisons.
...
Because, well, JavaScript is tricky and compilers like folding.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1069673002
Cr-Commit-Position: refs/heads/master@{#27668}
2015-04-08 13:15:41 +00:00
yangguo
c4081d2503
Revert of Remove support for thread-based recompilation (patchset #1 id:1 of https://codereview.chromium.org/966653002/ )
...
Reason for revert:
speculative revert due to gc-stress timeouts.
Original issue's description:
> Remove support for thread-based recompilation
>
> BUG=v8:3608
> R=yangguo@chromium.org
> LOG=y
>
> Committed: https://crrev.com/ed5db223a19dfe126af012e894582251aa3635d7
> Cr-Commit-Position: refs/heads/master@{#27619}
TBR=jochen@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
BUG=v8:3608
LOG=N
Review URL: https://codereview.chromium.org/1063383004
Cr-Commit-Position: refs/heads/master@{#27654}
2015-04-08 10:29:33 +00:00
machenbach
a54f22d418
Make test runner more chatty to avoid it getting killed by buildbot.
...
NOTRY=true
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/1064043002
Cr-Commit-Position: refs/heads/master@{#27653}
2015-04-08 09:53:39 +00:00
svenpanne
a326fd86ed
Unbreak check-name-clashes.py after recent macro renamings.
...
This should have been part of https://codereview.chromium.org/1056863002/ . :-/
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1070593002
Cr-Commit-Position: refs/heads/master@{#27647}
2015-04-08 07:04:11 +00:00
machenbach
3449e4f833
[release-tools] Only read from the chromium checkout in v8rel.
...
Don't create local branches or otherwise manipulate the
checkout. This reads refs from remote branches and
reads file contents using show. It is faster and requires
less bootstrapping and cleanup.
TBR=tandrii@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1060013003
Cr-Commit-Position: refs/heads/master@{#27640}
2015-04-07 19:42:37 +00:00
hpayer
59be4ba7f4
Reland "Merge old data and pointer space."
...
This reverts commit cbfcee5575
.
BUG=
Review URL: https://codereview.chromium.org/1051233002
Cr-Commit-Position: refs/heads/master@{#27623}
2015-04-07 11:32:10 +00:00
machenbach
b9871d6f37
[release-tools] Fix v8rel in branch period.
...
In case the v8 revision in chromium was set to an older
revision that's not in the list of recent v8 releases, the
script will bail out too early. This changes iterates over
10 more revisions, which should cover all exceeding revisions
in branch period.
NOTRY=true
TBR=hablich@chromium.org
Review URL: https://codereview.chromium.org/1067793002
Cr-Commit-Position: refs/heads/master@{#27622}
2015-04-07 11:28:28 +00:00