Benjamin Peterson
144f39bafa
Bug 819509 - Reparse functions if we discover they are strict. r=njn
2012-12-12 01:35:05 -05:00
Benjamin Peterson
86a0083ff3
Bug 804857 - Allocate memory in the compression thread and have its clients check for error. r=njn
2012-10-24 16:15:48 -07:00
Terrence Cole
54e53b84a8
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
2012-10-08 15:04:36 -07:00
Eddy Bruel
4e715508d7
Bug 797469 - Avoid putting a JSFunction in Objectbox; r=jorendorff
2012-10-09 17:02:00 +02:00
Terrence Cole
6249f8ff86
Backout 754a1efb5b37 for bustage on a CLOSED TREE
2012-10-08 15:42:39 -07:00
Terrence Cole
4ef37c98f5
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
2012-10-08 15:04:36 -07:00
Nicholas Nethercote
569d2085ab
Bug 790424 (part 2) - Remove ParseContext::functionList and FunctionBox::{siblings,kids}. r=jimb.
2012-09-12 18:50:39 -07:00
Jeff Walden
5a2de170a3
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
2012-09-11 10:32:33 -07:00
Jeff Walden
3f6a67b168
Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
2012-09-17 15:04:21 -07:00
Jeff Walden
efa1ae7ef7
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
2012-09-11 10:32:33 -07:00
Nicholas Nethercote
854af98e73
Bug 788957 (part 4) - Add GlobalSharedContext, a sub-class of SharedContext, and also make FunctionBox a sub-class of SharedContext. r=benjamin.
2012-09-10 20:43:14 -07:00
Steve Fink
e7b4d3147e
Bug 780309 - Implement InternalHandle and use it for Bindings. r=terrence
2012-09-10 11:26:46 -07:00
Nicholas Nethercote
b63605316a
Bug 788096 - Undo part 1 (c77231ed11be) because it regressed Talos Trace Malloc Allocs by ~1%. r=me.
2012-09-05 23:03:31 -07:00
Nicholas Nethercote
7fd01ebf45
Bug 788096 (part 1) - Change CGObjectList to use a vector and remove ObjectBox::emitLink. r=jorendorff.
2012-09-05 18:11:06 -07:00
Nicholas Nethercote
fe9ae875f2
Bug 787866 (part 3) - Remove SharedContext::fun_. r=luke.
2012-09-04 18:09:31 -07:00
Ehsan Akhgari
fa3c3a0e9b
Bug 786339 - Remove two implicit conversions from NULL to false in the JS code; r=luke
2012-08-28 13:22:42 -04:00
Luke Wagner
88c2971644
Bug 625199 - kill dummy frames (r=mrbkap)
2012-08-17 18:05:06 -07:00
Alex Crichton
2e6698063f
Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb
2012-08-22 19:07:38 -07:00
Luke Wagner
03bd974508
Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett)
2012-08-17 18:09:43 -07:00
Nicholas Nethercote
04682f492f
Bug 770865 - Rename TreeContext as ParseContext. r=luke.
2012-08-16 17:04:54 -07:00
Nicholas Nethercote
419e47898b
Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.
2012-08-16 22:05:51 -07:00
Nicholas Nethercote
c0d38487d9
Bug 782871 (part 1 ) - Move TreeContext and related things into the Parser module. r=jorendorff.
2012-08-16 21:29:03 -07:00
David Zbarsky
d93f766987
Bug 783840 - Fix build warnings in js r=luke
2012-08-20 12:32:56 -04:00
Nick Fitzgerald
4d6bf0cd07
Bug 772113: Expose source map URLs via Debugger.Script r=jimb
2012-08-16 17:54:07 -07:00
Till Schneidereit
6ad28aa9df
Bug 462300 - Embed self-hosted scripts and compile into special compartment. r=bhackett, r=gerv, r=ted
2012-07-23 23:01:54 +02:00
Luke Wagner
e2afd0d3fc
Bug 783315 - Don't touch script->bindings.bindingArray if the script isn't fully compiled (r=billm)
2012-08-16 15:38:22 -07:00
Luke Wagner
ca7cb5aa66
Bug 767013 - only store aliased variables in scope objects (r=bhackett)
2012-08-06 07:56:45 -07:00
Luke Wagner
658252b244
Bug 775323 - build Bindings after, not during, parsing (r=ejpbruel)
2012-07-30 11:38:53 -07:00
Nick Fitzgerald
732ba5eafb
Bug 774471: Store source map URLs in the ScriptSource, not on each JSScript. r=jimb
2012-08-13 12:39:57 -07:00
Brian Hackett
8a27276644
Add various autorooting, bug 772303. r=terrence
2012-08-12 19:50:49 -06:00
Terrence Cole
8b8f244b86
Bug 780309 - Move atom methods into js namespace; r=luke
...
This is a simple cleanup of jsatom.h.
2012-08-08 14:02:30 -07:00
Benjamin Peterson
ce2a12f6d9
Bug 779724 - Replace JSOPTION_ONLY_CNG_SOURCE with an enum on CompileOptions. r=jorendorff
2012-08-07 10:39:45 -07:00
Benjamin Peterson
de2d5727be
Bug 779975 - Refcount ScriptSource. r=jorendorff
2012-08-06 13:25:58 -07:00
Benjamin Peterson
2f9b1adb9b
Bug 779400: Split ScriptSource::setSource into setSource and setSourceCopy. r=jorendorff
2012-08-01 09:56:39 -07:00
Benjamin Peterson
753fcd99a2
Bug 779017 - Give every JSScript a ScriptSource. r=jorendorff
2012-07-31 19:18:22 -07:00
Benjamin Peterson
0210a7b3bd
Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff
2012-07-30 19:23:46 -07:00
Jim Blandy
06c8f3fa5c
bug 771705: Pull out compilation variants into a CompileOptions structure. r=luke
2012-07-25 17:23:04 -07:00
Benjamin Peterson
594c0c752a
Bug 761723 - Add a context option to only save source for compileAndGo and function body scripts. r=jornedorff
2012-07-20 20:19:02 +02:00
Benjamin Peterson
20adba28a8
Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
2012-07-20 20:17:38 +02:00
Luke Wagner
7b5588756d
Bug 772688 - add BindingIter and use it instead of directly touching a Binding's shape (r=waldo)
2012-07-05 20:35:08 -07:00
Luke Wagner
a152e12908
Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
2012-07-03 10:24:36 -07:00
Luke Wagner
4ddad0fcd3
Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
...
* * *
imported patch fix-debugger-for-non-reentrant-removal
2012-07-03 10:24:35 -07:00
Ed Morley
839d9cabc8
Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE
2012-07-12 13:04:51 +01:00
Luke Wagner
b3c7eae2da
Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
2012-07-03 10:24:36 -07:00
Luke Wagner
7b6dd2e1d8
Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
...
* * *
imported patch fix-debugger-for-non-reentrant-removal
2012-07-03 10:24:35 -07:00
Brian Hackett
6a16d5454f
Add more rooters, bug 772303. r=billm
2012-07-10 19:17:29 -06:00
Benjamin Peterson
39068ba4c6
Bug 769072: retroactively apply strict mode to defaults. r=njn
2012-07-09 23:43:06 -07:00
Jason Orendorff
0480887be6
Back out changeset a88ce0cbdba6 due to red on m-i.
2012-07-09 14:38:49 -05:00
Jason Orendorff
02e8c9f268
Bug 770865 - Rename TreeContext to ParseContext. r=njn.
2012-07-09 13:55:04 -05:00
Luke Wagner
46d990aa46
Bug 770795 - add NullPtr and associated Handle constructor (r=billm)
2012-07-08 03:00:11 -07:00