js/src/frontend/BytecodeCompiler.cpp
422924c19ce5c0aa87174e713e3aa43564f1a4b3
created 2018-11-02 20:59 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Templatize everything that's source-aware in bytecode compilation. r=tcampbell
532b05c76fa0ba9e56c278430a6e763feefa23a4
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Separate source-unit-aware functionality out of BytecodeCompiler into unrelated subclasses so that unit-agnostic functionality can be shared. r=tcampbell
630a1645006614713cbe8698542c6d278601cb6f
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Adjust some access controls now that BytecodeCompiler is used only as base class, not on its own. r=tcampbell
9dc874d79c1f1f60869a806ddeb4f78915504360
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Create a BytecodeCompiler subclass for standalone function compilation. r=tcampbell
3ed7e8a375625442194ebb38dc2fd4c1d476b760
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Create a BytecodeCompiler subclass to perform module compilation. r=tcampbell
76feab5328edddcedcacf16353b3fd8c05b2eedf
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Create a BytecodeCompiler subclass to perform eval script compilation. r=tcampbell
43b8810bb3eda6bc628dddda9209153c57de653b
created 2018-11-01 17:34 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Create a BytecodeCompiler subclass to perform global script compilation. r=tcampbell
c489ba287b497b77e6bb7d4b7550e0792670726c
created 2018-10-23 12:27 -0700
pushed 2018-11-14 23:38 +0000
Jeff Walden Jeff Walden - Bug 1503086 - Initialize all SourceBufferHolders with a fallible function that in all cases assumes ownership of given-ownership data. r=tcampbell, r=bz, r=mrbkap on some finicky worker code lightly touched here
17243a560006c6db1f9e4cc0fea57a8ae29b1dbc
created 2018-11-01 17:34 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Remove BytecodeCompiler::enclosingScope and just make users provide it themselves when they need it. r=tcampbell
0db3c534950cc51af7e106971113ff718170d352
created 2018-11-01 17:34 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Define BytecodeCompiler::sourceObjectPtr() inline, closer to the top of BytecodeCompiler's definition. r=tcampbell
49b72ccc968279c7264d47b8e9b609c25ece0650
created 2018-11-01 17:34 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move BytecodeCompiler's members to the top of the class definition. r=tcampbell
1737079f61dd46af29ab735da95acf814274caa8
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Split BytecodeCompiler::compileStandaloneFunction into BytecodeCompiler::{parse,compile}StandaloneFunction. r=tcampbell
2792e47984ee1fa13fe2442864cab100a4b425b3
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Rename BytecodeCompiler::createScript() to BytecodeCompiler::createCompleteScript(). r=tcampbell
b0c005ef9cee4271fd458298d4f4a0f1d8c81cb3
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move script creation into prepareModuleParse. r=tcampbell
37b4694f5fcf00a528927af61f53aef699f994ee
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move script creation into prepareScriptParse. r=tcampbell
ac6aea751ee94e8cdff017c7955ee4e92da7c190
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move standalone function-compilation's createSourceAndParser call into a separate prepareStandaloneFunctionParse function, anticipating when that function will have to deal with multiple kinds of SourceBufferHolder. r=tcampbell
d9e71df3d1d7a6dbf8effeb426273cd901d7700b
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move script-compilation's createSourceAndParser call into a separate prepareScriptParse function, anticipating when only that function will have to deal with multiple kinds of SourceBufferHolder. r=tcampbell
2052c58dfe9835eb4451a1cc02ff9b566419e2e2
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move module-compilation's createSourceAndParser call into a separate prepareModuleParse function, anticipating when only that function will have to deal with multiple kinds of SourceBufferHolder. r=tcampbell
e6b6326c593d9a8c1095b2c872056df7f8ff088f
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Compute script start position after creating the script proper, in BC::compileScript. r=tcampbell
15d7f3fb96d5337164049be2fbd49bac97a04f8a
created 2018-10-11 13:54 -0700
pushed 2018-11-13 01:51 +0000
Jeff Walden Jeff Walden - Bug 1498320 - When compiling a module script, create the ModuleObject after creating the script for it. r=tcampbell
ce7098f9ff3ff3fc7f546b3ce8d347a0611c279c
created 2018-10-30 19:23 +0000
pushed 2018-10-31 05:11 +0000
Ted Campbell Ted Campbell - Bug 1447372 - Cleanup LifoAlloc usage for BytecodeCompiler r=jorendorff
b253f12c1eecac7a0c1276b8591d26279a91bc6c
created 2018-10-26 12:29 +0900
pushed 2018-10-26 03:36 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1499999 - Remove unnecessary NameFunctions call. r=efaust
f66e525e6978c2fbc7351501936711876261b546
created 2018-10-04 18:48 +0300
pushed 2018-10-04 16:02 +0000
Narcis Beleuzu Narcis Beleuzu - Merge inbound to mozilla-central. a=merge
146575efb1c65085c56ee57d7cdc1de54c0f600b
created 2018-10-03 12:04 +0000
pushed 2018-10-04 16:02 +0000
Jan de Mooij Jan de Mooij - Bug 1496033 - Add missing {} in js/src. r=bbouvier
c704d1a108c221863b72e41d7641a21d17557b11
created 2018-10-04 11:50 +0100
pushed 2018-10-04 10:51 +0000
Jon Coppeard Jon Coppeard - Backed out changeset ba122021b8b5 (bug 1481196)
fad6ee2d0675e9609bd7d5165787efdcaa861163
created 2018-10-02 01:16 -0700
pushed 2018-10-02 08:24 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 3: Store BinTokenReaderMultipart metadata in ScriptSource. (r=arai)
932d8da50a8ff509b36f0ba3e0e291af226eea4b
created 2018-10-02 01:16 -0700
pushed 2018-10-02 08:24 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 2: Implement LazyFunctionExpression and LazyFunctionDeclaration for BinAST. (r=arai)
d5764b2a95fef77f7c957f658c74958abc7bfe62
created 2018-10-02 01:16 -0700
pushed 2018-10-02 08:24 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 1: Allow storing BinASTSource in ScriptSource. (r=jorendorff)
63ea63571271f031dc457f1b1b7519ec8bf3e3de
created 2018-10-02 06:59 +0300
pushed 2018-10-02 03:59 +0000
Narcis Beleuzu Narcis Beleuzu - Backed out 10 changesets (bug 1494930, bug 1459067, bug 1459555) for build bustages on JSScript.cpp. CLOSED TREE
211ea8e33f7ec9046580e5f1caaefdb04bb535d6
created 2018-10-01 20:41 -0700
pushed 2018-10-02 03:42 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 3: Store BinTokenReaderMultipart metadata in ScriptSource. (r=arai)
b3dbe062fb3dcdbb33067352cc80ab85fd0249a6
created 2018-10-01 20:41 -0700
pushed 2018-10-02 03:42 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 2: Implement LazyFunctionExpression and LazyFunctionDeclaration for BinAST. (r=arai)
edada9212b5b707c60cc3989588561f3df03f525
created 2018-10-01 20:41 -0700
pushed 2018-10-02 03:42 +0000
Eric Faust Eric Faust - Bug 1459067 - Part 1: Allow storing BinASTSource in ScriptSource. (r=jorendorff)
f4e0f1c70bf8a2ff4eadbde0e0cd9aed7fe8c135
created 2018-09-12 13:26 +0900
pushed 2018-09-13 02:01 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1479659 - Part 5: Add accessors to NameNode, CodeNode, RegExpLiteral, and add NumericLiteral. r=jwalden
f758714e4ed9a93b2db83be95fb669f53658a58b
created 2018-09-06 10:29 +0200
pushed 2018-09-11 14:33 +0000
Jan de Mooij Jan de Mooij - Bug 1488698 - Always use braces for if/for/while statements in js/src/frontend, part 2. r=arai
0c5345e778a5b806a26790848093aad9e934c700
created 2018-09-06 17:26 +0100
pushed 2018-09-06 16:28 +0000
Jon Coppeard Jon Coppeard - Bug 1487071 - Use a single GlobalSharedContext when parsing BinAST r=Yoric
7d07908ee08acfa5333806b907bce7fb20c59dc1
created 2018-08-30 20:10 +0100
pushed 2018-08-30 19:11 +0000
Jon Coppeard Jon Coppeard - Bug 1486730 - Remove some unnecessary includes from js/src/frontend r=Waldo
1fb7ddfad86d5e085c4f2af23a2519d37e45a3e4
created 2018-08-24 21:25 -0500
pushed 2018-08-29 02:06 +0000
Jeff Walden Jeff Walden - Bug 1486577 - Make all users of the various *CompileOptions classes #include "js/CompileOptions.h" so that nothing but that file has to know about these classes having a JS_PUBLIC_API on them, that would have to be present in forward-declarations. r=jandem
2dc7007e3924444f55345606b6785f2d2ba89ce1
created 2018-08-24 21:01 -0500
pushed 2018-08-29 02:06 +0000
Jeff Walden Jeff Walden - Bug 1486577 - Don't #include js/SourceBufferHolder.h in jsapi.h, and instead require users to do so -- a minor translation-unit size improvement for anyone who never has to use SourceBufferHolder other than by reference. r=jandem
ad30dc53e38ec41adc99f81fd8a5102ecf7775fd
created 2018-08-10 18:00 +1000
pushed 2018-08-13 01:19 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1481998 - Make mozilla::Hash{Map,Set}'s entry storage allocation lazy. r=luke,sfink
ba122021b8b576cf33a17c148a2e6c73d1d32862
created 2018-08-08 10:40 +0100
pushed 2018-08-08 09:43 +0000
Jon Coppeard Jon Coppeard - Bug 1481196 - Compile module scripts to a JSScript like we do for classic scripts r=jandem r=baku
75ef4a9cbc00c98eba433eb8549a30961d47f5d7
created 2018-08-01 11:53 +0200
pushed 2018-08-01 22:27 +0000
Nazım Can Altınova Nazım Can Altınova - Bug 1478393 - Add AutoGeckoProfilerEntry to emitting of script in BytecodeCompiler::compileScript r=sfink
c36fc94df388acc54e49df55fd739cdf67b5b972
created 2018-07-25 17:19 +0200
pushed 2018-08-01 22:27 +0000
Nazım Can Altınova Nazım Can Altınova - Bug 1478393 - Add AutoGeckoProfilerEntry to parsing of script in BytecodeCompiler::compileScript r=sfink
6a97ba8c172a729fc131b65a7151727b0e8f86e6
created 2018-07-23 15:03 +0000
pushed 2018-07-23 21:17 +0000
Brian Hackett Brian Hackett - Bug 1465470 Part 5 - Avoid recording time events at non-deterministic points in the JS engine, r=jonco.
be1ad4d1217e66acda18b643997eba3d9cffb42b
created 2018-07-23 14:38 +0000
pushed 2018-07-23 21:17 +0000
Brian Hackett Brian Hackett - Bug 1207696 Part 5i - Disable lazy and off thread JS parsing when recording or replaying, r=jandem.
6edce1e74d5aeb53247e9c22d4e3b5fce3810d8b
created 2018-07-18 21:15 +0900
pushed 2018-07-18 12:20 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1463979 - Part 1: Store a pointer to enclosing LazyScript into LazyScript. r=jimb,sfink
eb4fac6db424a39e865b646c26397ca427753b70
created 2018-07-18 21:15 +0900
pushed 2018-07-18 12:20 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1463979 - Part 0: Prohibit failing compilation after linking function and non-lazy script while delazification. r=jorendorff
277bd9cf9edc37653b8931349b1c9a232987fd57
created 2018-05-23 08:47 +0100
pushed 2018-05-23 08:53 +0000
Jon Coppeard Jon Coppeard - Bug 1427610 - Implement import.meta in the JS frontent r=jorendorff
01fcd734368770225504097a0f1ec4e5539fc041
created 2018-05-17 18:04 +0200
pushed 2018-05-17 16:07 +0000
Jan de Mooij Jan de Mooij - Bug 1461938 part 4 - Move RealmOptions from JSCompartment to JS::Realm. r=luke
f6d3ea212415298d10b0ba08a479c7f1a5d02030
created 2018-05-11 14:03 +0900
pushed 2018-05-11 05:06 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1459127 - Store ScriptSourceObject reference into LazyScript inside LazyScript. r=jimb
1c1d3f24941ae0710a55bdcae8ee3d2126ab5b82
created 2018-05-11 14:03 +0900
pushed 2018-05-11 05:06 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1459220 - Add LazyScript::isEnclosingScriptLazy. r=jimb
91ced8101f99044842e7e532edd9b45e54c35bc5
created 2018-05-10 13:26 +0100
pushed 2018-05-10 12:27 +0000
Eric Faust Eric Faust - Bug 1454352 - Add APIs for parallel decoding of BinAST data r=jonco
4dc436553912f37245271228859ca880da76b335
created 2018-05-08 14:52 +0900
pushed 2018-05-08 05:53 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1458973 - Rename {Rooted,Handle}ScriptSource to {Rooted,Handle}ScriptSourceObject. r=jimb
ce42829bf9486a4f756de98a07495bce8852b836
created 2018-05-03 16:17 +0200
pushed 2018-05-03 14:24 +0000
Jan de Mooij Jan de Mooij - Bug 1458198 - Assert the frontend reported an exception if it fails to compile a script. r=jorendorff
f7ad9a51e45bb8d1e3e3f84de2fbe028901cd8e6
created 2018-04-30 17:04 -0700
pushed 2018-05-01 00:08 +0000
Eric Faust Eric Faust - Bug 1409815 - Part 2: Allow running BinAST files from shell CLI. (r=Waldo)
1c19a65b35f71599033a2805f15c8018ed924862
created 2018-04-30 17:04 -0700
pushed 2018-05-01 00:08 +0000
Eric Faust Eric Faust - Bug 1409815 - Part 1: Implement CompileGlobalBinASTScript. (r=Waldo, r=Yoric, r=jorendorff)
b512c7a263b259b844aefd723301fb7643e1bfd2
created 2018-02-27 15:09 -0600
pushed 2018-04-25 16:02 +0000
Jason Orendorff Jason Orendorff - Bug 1275292 - Delete ParseNodeAllocator::freeTree() and friends. r=shu.
038b4d1d073af308be6aa92c2fa2c2e594ea2222
created 2018-04-17 12:37 +0200
pushed 2018-04-17 10:37 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1453884 - Rename LazyScript.{begin,end} to LazyScript.{sourceStart,sourceEnd}. r=Yoric
4f2a7bac273340118c8e74c539553fd912dc2813
created 2018-04-09 16:10 -0700
pushed 2018-04-11 00:27 +0000
Jeff Walden Jeff Walden - Bug 1452818 - Make tokenstream positions be created by constructor-call so that their members don't have to be default-constructible. r=arai
d21bb4d700d80e15500f9140bae2b3e014eaeb10
created 2018-04-09 12:58 -0700
pushed 2018-04-11 00:27 +0000
Jeff Walden Jeff Walden - Bug 1452818 - Move BytecodeCompiler::startPosition into more locally-scoped stack-frame variables. r=arai
609eb4880073d3b1ff1a198ec68737dce50bcb3f
created 2018-02-12 15:05 -0600
pushed 2018-02-14 17:19 +0000
Jason Orendorff Jason Orendorff - Bug 1429206 - Part 7: Rename jscntxt* -> vm/JSContext*. r=jandem.
less more (0) -300 -100 -60 tip