js/src/frontend/BytecodeCompiler.cpp
7cbe3fbc4b7f1c76a14ce40f074f8a9052540ee5
created 2019-03-13 05:26 +0200
pushed 2019-03-14 15:20 +0000
Noemi Erli Noemi Erli - Backed out 3 changesets (bug 1505343) for build bustages in testBinASTReader.cpp CLOSED TREE
b2456f6d11c4f3a9e02f601e16a3c8b80ae4aaa5
created 2019-03-13 02:46 +0000
pushed 2019-03-14 15:20 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1505343 - Part 2: Rename BinToken* to BinASTToken*. r=Yoric
b499a1eec1b1169757cc93928f9c987df1884097
created 2019-03-08 12:38 +0000
pushed 2019-03-11 13:01 +0000
André Bargull André Bargull - Bug 1530745 - Part 5: Move duplicate code for standalone function compilation into a separate function. r=arai
8e1840b7a9923ac6e7e4c143edf87167b4cac717
created 2019-02-15 23:22 +0200
pushed 2019-03-11 13:01 +0000
Noemi Erli Noemi Erli - Backed out changeset db4946736508 (bug 1499448) for failures in BytecodeEmitter.cpp CLOSED TREE
db4946736508bb1cc3cbb288cdb498703fb4d904
created 2019-02-15 18:16 +0000
pushed 2019-03-11 13:01 +0000
Ashley Hauck Ashley Hauck - Bug 1499448 - Implement more field functionality. r=jorendorff
22428c15bb03f18dcaf5eb53a81fd8bc49f312c6
created 2019-02-05 14:58 +0000
pushed 2019-03-11 13:01 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1518391 - Part 2: Separate CodeNode into FunctionNode and ModuleNode. r=jorendorff
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-21 13:03 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
e4712449ba4303cef134ba0b3f1bea13fbd50c4a
created 2018-11-30 16:39 +0100
pushed 2018-12-03 16:23 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 1511383: Update vim modelines after clang-format; r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
44cd6ec4fbd5da73777883f4faf9fe822f7de513
created 2018-11-29 01:03 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1508063 - Part 5: Move non-auto-generated part of BinASTParser into BinASTParserPerTokenizer. r=Yoric
02386132c1e9bfa3ef88b9ae7d967f90b6e1045e
created 2018-11-29 01:03 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1508063 - Part 4: Rename BinSource-auto.{cpp,h} to BinASTParser.{cpp,h}, and BinSource.{cpp,h} to BinASTParserPerTokenizer.{cpp,h}. r=Yoric
2b12903dd3784f4e6d1b6190eaf97b20d77f33df
created 2018-11-17 10:55 -1000
pushed 2018-12-03 16:23 +0000
Brian Hackett Brian Hackett - Bug 1505935 Part 4 - Inform the record/replay system about all script compilations, r=jorendorff.
e6653e8332fadda4a3effa82180f3fdfa110163e
created 2018-11-10 21:10 -0800
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1504947 - Make ModuleBuilder store an EitherParser, not a TokenStreamAnyChars&, because it'll need it for correct column number computation when column counts recognize code points in UTF-8/16 and not just code units. r=tcampbell
389d058312162284f5cd461e2cb82786460985ae
created 2018-11-10 21:08 -0800
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1504947 - Split ModuleSharedContext out to its own header to attempt to minimize header dependencies. r=tcampbell
7878dc0a3896030003bb27f5f18e6f1b5b0b9c38
created 2018-10-26 22:51 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1503105 - Implement JS::CompileUtf8FileDontInflate that performs compilation as UTF-8 without inflating, for opt-in experimental use until code is stable/proven enough that JS::CompileUtf8 can compile directly from UTF-8. r=tcampbell
d759d8052e768b202e6c1bad29080e3933793d31
created 2018-10-26 22:49 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1503104 - Add a CompileLazyFunction overload that supports UTF-8. r=tcampbell
280587e10c971805d24c8cf1f2798763159043bb
created 2018-11-08 18:45 -0800
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Make StandaloneFunctionCompiler::parse's |MutableHandleFunction fun| argument merely a |HandleFunction|, and make the compile function take its |MutableHandleFunction| argument first, not last. r=tcampbell as part of prior review comments
a005d87f9e929015e7d56f6ae500d29f35fdc4ad
created 2018-10-26 21:28 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Convert the two CompileModule functions to template functions, then call them inside non-template overloads. r=tcampbell
9d9b2d6342f770aa06a78e4e5932436293551086
created 2018-10-26 21:28 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Remove the original CompileEvalScript overload, and rewrite all users to use a new (EvalScriptInfo&, SourceText<char16_t>&) overload that calls a UTF-8/16-ready template function. r=tcampbell
24670a08843eba386bc29ad58c8289c39ac969e7
created 2018-10-26 21:28 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Remove the original CompileGlobalScript overload, and rewrite all users to use the new (GlobalScriptInfo&, SourceText<char16_t>&, ScriptSourceObject**) overload. r=tcampbell
1dd5267839b3ccd35c62bcff81f7b8c60304f13e
created 2018-11-08 18:45 -0800
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Introduce a new BytecodeCompilation.h header for fresh bytecode compilation signatures coming soon. r=tcampbell
ba4bdabbdd529c9d29357073b66b36ccf23caf74
created 2018-10-26 21:54 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Create syntax and full parsers in bytecode compilation passing |SourceText::units()|, so that Utf8Unit appearing here will continue to require individualized treatment. r=tcampbell
9d7d25507cacca3488f4efd3e4034d3a45d405eb
created 2018-10-26 21:28 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Implement CompileGlobalScript in terms of a template CreateGlobalScript function that handles UTF-8 and UTF-16 both. r=tcampbell
56eaf6c976d377cba4e44a302bdeda9e7420bd94
created 2018-11-08 18:42 -0800
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1485800 - Rename SourceBufferHolder to SourceText, and add a <typename Unit> template parameter to it so it can hold putative UTF-8 or UTF-16 source text. r=tcampbell, r=fitzgen
422924c19ce5c0aa87174e713e3aa43564f1a4b3
created 2018-11-02 20:59 -0700
pushed 2018-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move script creation into prepareModuleParse. r=tcampbell
37b4694f5fcf00a528927af61f53aef699f994ee
created 2018-10-11 13:54 -0700
pushed 2018-12-03 16:23 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Move script creation into prepareScriptParse. r=tcampbell
ac6aea751ee94e8cdff017c7955ee4e92da7c190
created 2018-10-11 13:54 -0700
pushed 2018-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +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-12-03 16:23 +0000
Ted Campbell Ted Campbell - Bug 1447372 - Cleanup LifoAlloc usage for BytecodeCompiler r=jorendorff
b253f12c1eecac7a0c1276b8591d26279a91bc6c
created 2018-10-26 12:29 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1499999 - Remove unnecessary NameFunctions call. r=efaust
f66e525e6978c2fbc7351501936711876261b546
created 2018-10-04 18:48 +0300
pushed 2018-10-15 21:07 +0000
Narcis Beleuzu Narcis Beleuzu - Merge inbound to mozilla-central. a=merge
c704d1a108c221863b72e41d7641a21d17557b11
created 2018-10-04 11:50 +0100
pushed 2018-10-15 21:07 +0000
Jon Coppeard Jon Coppeard - Backed out changeset ba122021b8b5 (bug 1481196)
146575efb1c65085c56ee57d7cdc1de54c0f600b
created 2018-10-03 12:04 +0000
pushed 2018-10-15 21:07 +0000
Jan de Mooij Jan de Mooij - Bug 1496033 - Add missing {} in js/src. r=bbouvier
fad6ee2d0675e9609bd7d5165787efdcaa861163
created 2018-10-02 01:16 -0700
pushed 2018-10-15 21:07 +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-15 21:07 +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-15 21:07 +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-15 21:07 +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-15 21:07 +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-15 21:07 +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-15 21:07 +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-10-15 21:07 +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-10-15 21:07 +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-10-15 21:07 +0000
Jon Coppeard Jon Coppeard - Bug 1487071 - Use a single GlobalSharedContext when parsing BinAST r=Yoric
less more (0) -300 -100 -60 tip