Commit Graph

28585 Commits

Author SHA1 Message Date
Bobby Holley
3a3bf5e2a0 Bug 907937 - Followup comment fixes. r=billm DONTBUILD 2013-08-22 13:39:20 -07:00
Bobby Holley
6a7797ad56 Bug 907937 - Followup fix for review-nit bustage. r=me CLOSED TREE 2013-08-22 12:54:05 -07:00
Bobby Holley
7e53e9e027 Bug 907937 - Address review nits. r=billm
I normally roll these into the appropriate patches, but this queue moves a lot
of code around, and I'm afraid of a mismerge.
2013-08-22 12:40:31 -07:00
Bobby Holley
1d2359d7ce Bug 907937 - Optimistically check the CCW cache early in opt-build value wrapping. r=billm 2013-08-22 12:40:31 -07:00
Bobby Holley
55ac99d5bf Bug 907937 - Inline jsval wrapping overload. r=billm
This thing is small enough now that it can be inlined. This is already a significant
win because primitive jsval wrapping is now entirely inlined.
2013-08-22 12:40:31 -07:00
Bobby Holley
b61dc24393 Bug 907937 - Move object wrapping into the object-overloaded wrap() function. r=billm
There are a couple of changes to the wrap code, so it probably needs to be
looked over.
2013-08-22 12:40:31 -07:00
Bobby Holley
71d5851532 Bug 907937 - Whitespace change. r=billm 2013-08-22 12:40:30 -07:00
Bobby Holley
7543de80bb Bug 907937 - Remove isObject() checks, and stop using |vp| as an intermediary. r=billm
We can do this now that we're not trying to deal with strings at the same time.
Whitespace change in the next patch.
2013-08-22 12:40:30 -07:00
Bobby Holley
0ff78a7ee1 Bug 907937 - Move string wrapping into the actual string wrapping method. r=billm
The current string->value->string setup is kind of silly. This also moves work
out of the jsval overload, which will be helpful when we inline the first part.
2013-08-22 12:40:30 -07:00
Bobby Holley
87118e3917 Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Terrence Cole
a0d4298bb4 Backout 09bdab645185 (Bug 907791) as it will not work with off-main-thread parsing.
--HG--
extra : rebase_source : 9b9cdc95fac77232e204fcdccb1bd5a2e827041b
2013-08-22 11:48:28 -07:00
Terrence Cole
daa9a343a2 Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : f1eff0c5910373220ddabf61fe907528cdcec19f
2013-08-20 13:13:21 -07:00
Terrence Cole
19ee63650c Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : edd1c5544b791c258d31ec5d64334f52bbd5aed1
2013-08-21 12:43:22 -07:00
Terrence Cole
d1d2cbd06c Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett
--HG--
extra : rebase_source : db28a9eb27ba8d002b48359a30a0343d651f6e60
2013-08-21 14:20:15 -07:00
Terrence Cole
38dd733303 Bug 908253 - Fix jit-tests's -g command after Bug 858622; r=dminor
--HG--
extra : rebase_source : 6c6a02b63e653d7f87671b1e9b80ab9d4161bb91
2013-08-22 11:21:30 -07:00
Benjamin Peterson
637ee23deb Bug 777060 - Allow parameters without defaults after default parameters. r=jorendorff 2013-08-22 11:28:14 -05:00
Jon Coppeard
87a6d01a1e Bug 893184 - Call constructors for HeapPtrAtoms allocated as part of shared script data r=till 2013-08-20 16:40:27 +01:00
Ed Morley
e9a023596b Backed out changeset 6a182052fafe (bug 904701) for warnings as errors failures on a CLOSED TREE 2013-08-22 16:14:40 +01:00
Daniele Bonetta
274a71d1fa Bug 906773 - More efficient ComputeSliceBounds function. r=nmatsakis 2013-08-19 14:51:34 -07:00
Andy Wingo
a79e8bb17b Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-22 10:16:07 -04:00
Brian Hackett
b2e2821cb2 Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm. 2013-08-22 07:22:33 -06:00
Brian Hackett
3ea6fd69a7 Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm. 2013-08-22 07:13:18 -06:00
Gabor Krizsanits
071ff6dbcc Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Jon Coppeard
221b9c90d0 Bug 907147 - Add SkipRoot to stop rooting analysis poinsoning hash in getNewType() r=terrence 2013-08-21 09:58:25 +01:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
707d12dbb2 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
f8f8a40a0a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
9c723cab7f Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
63b648bec1 Bug 883284 - Part h: Disallow LIBXUL_LIBRARY in Makefiles; r=khuey 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
5c981f7ca9 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
1dcdf03895 Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps 2013-08-22 08:35:03 +02:00
Ms2ger
52d34a89db Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Ryan VanderMeulen
9b9504dfc6 Backed out 2 changesets (bug 893184) for Nexus 4 startup crashes.
Backed out changeset e1b2f6bd92c4 (bug 893184)
Backed out changeset 560f18fc3ae3 (bug 893184)
2013-08-21 21:52:18 -04:00
Brian Hackett
b000e7b209 Bug 904315 - Watch for negative integers when loading maybe-hole elements from arrays, r=jandem. 2013-08-21 18:47:19 -06:00
Brian Hackett
e91bdff53e Bug 900681 - Properly clean up leaked off thread parses in the JS shell, r=billm. 2013-08-21 18:43:18 -06:00
Terrence Cole
88be2e91ba Backout 0fc0283ac2b1 for bustage on a CLOSED TREE. 2013-08-21 16:50:26 -07:00
Terrence Cole
dda380eb33 Backout 493d5d59b229 for bustage on a CLOSED TREE. 2013-08-21 16:48:55 -07:00
Terrence Cole
3408ffff5f Backout 5c4e5ee49fbe for bustage on a CLOSED TREE. 2013-08-21 16:47:19 -07:00
Jon Coppeard
3cf7b1ee7d Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Terrence Cole
0a217ccba5 Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett 2013-08-21 14:20:15 -07:00
Terrence Cole
4000600b3a Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : 4c4e371427aeb07cdf3fb478e10810204e1ece8c
2013-08-21 12:43:22 -07:00
Ryan VanderMeulen
762fcc58bc Backed out changeset 7da415c9c566 (bug 517765) for PGO bustage.
CLOSED TREE
2013-08-21 13:56:53 -04:00
Dan Minor
ae574b36e4 Bug 858622 - Make jit-tests runnable on mobile;r=terrence 2013-08-21 12:11:41 -04:00
Terrence Cole
5790ed7ce6 Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : c7f0c4dfd9a1ac7f7877e1cbe0778ac0f071e9d4
2013-08-20 13:13:21 -07:00
Eric Faust
45fcadb6a1 Bug 906035 - IonMonkey: Only generate array length GetProperty stubs with valid outputs. (r=nbp) 2013-08-21 13:38:45 -07:00
Ryan VanderMeulen
7fedae563c Backed out changeset 4d6b320897df (bug 893184) for crashes. 2013-08-21 16:35:45 -04:00
Nicholas Nethercote
27d4a3235f Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
6b42324e2b Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Ms2ger
e4ee33fca0 Backout changeset b43d38c5c456 for build bustage. 2013-08-22 09:00:37 +02:00
Andrew McCreight
7d570ca8f9 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Benjamin Peterson
89a4d1c167 Bug 896264 - Disable Math.hypot until spec settles down. r=jorendorff 2013-08-21 15:08:51 -05:00
Jon Coppeard
d971cf0a27 Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Gabor Krizsanits
b8009573c0 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
26cfbdcee9 Bug 906119 - Enable incremental linking with Visual C++; r=glandium
--HG--
extra : rebase_source : 936287f63c95baa535a4991bc1106a3f9f59f36f
2013-08-20 18:14:44 -04:00
Andy Wingo
9e5556bcfd Bug 666399 - New Harmony syntax for generators. r=Waldo
Add a GeneratorKind enumeration, and use it in the parser and runtime to
indicate whether a function is a non-generator, a legacy generator, or a
star generator.

Always parse "yield" as TOK_YIELD, regardless of the version.  Add
TokenStream::currentName() to retrieve the current token's name, which
works for TOK_NAME or TOK_YIELD.  The parser should check the validity
of "yield" as a name, if needed, using checkYieldNameValidity().

Parse "function*" as the StarGenerator GeneratorKind, and allow star
generators to be lazily parsed.

Separate parsing of return statements from yield expressions.
2013-08-20 11:03:24 +02:00
Ian Stakenvicius
9631abf6a7 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-21 08:42:49 -04:00
Jan de Mooij
89e2f52152 Bug 906286 - Canonicalize NaN values stored to float arrays in JS_MORE_DETERMINISTIC builds. r=luke 2013-08-21 08:40:17 +02:00
Bobby Holley
84fdc4fceb Bug 907508 - Provide a mechanism for adding extra slots for XPConnect globals. r=bz
mhordecki needs this in bug 898559.
2013-08-20 21:21:01 -07:00
Bobby Holley
f6b09836a4 Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz 2013-08-20 21:21:00 -07:00
Bobby Holley
12c731ac0e Bug 907508 - Drop the number of slots on XPConnect globals from 2 to 1. r=bz
In the old world, XPConnect globals had one reserved slot, which was used to
store a private pointer to the XPCWrappedNativeScope.

Then, in the new DOM bindings landing (bug 740069), we added two slots, one
for DOM_GLOBAL_OBJECT_SLOT, and one for DOM_PROTOTYPE_SLOT.

Then, in bug 761707, we removed DOM_GLOBAL_OBJECT_SLOT, but the slot count
remained at 3.

Then, in bug 797821, we stopped storing the XPCWrappedNativeScope in the slot
on the global, and dropped the XPConnect global count from 3 to 2.

Given the above, we can safely drop it to 1, here. It's easy to check that
this is correct, because reserved slots for globals have a different offset,
which is JSCLASS_GLOBAL_SLOT_COUNT. And according to mxr, the only thing
defined in terms of that is DOM_PROTOTYPE_SLOT (which takes the same value).
This means that all subsequent slots on the global are unused.
2013-08-20 21:21:00 -07:00
Jim Blandy
60a84f53db Bug 906891: Short-circuit isSealed and isFrozen for typed arrays. r=sfink 2013-08-20 18:00:02 -07:00
Wes Kocher
92ceb858c6 Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Hannes Verschore
58a524e5b2 Bug 904759 - IonMonkey: Remove unused functions/MIR/LIR related to PolyInlineDispatch, r=djvj 2013-08-20 23:10:23 +02:00
Kan-Ru Chen (陳侃如)
7f9455d3e4 Bug 907117 - IonMonkey: Fix build failure with DEBUG turned on. r=jandem 2013-08-21 02:45:18 +08:00
Ryan VanderMeulen
c8880fc5aa Merge m-c to inbound. 2013-08-20 16:32:33 -04:00
Ryan VanderMeulen
971e3a8e52 Merge m-c to fx-team. 2013-08-20 15:33:48 -04:00
Gregory Szorc
9a4d428071 Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Ryan VanderMeulen
056b9294eb Backed out changeset ef139b6034a5 (bug 890722) for SM rootanalysis orange.
CLOSED TREE
2013-08-20 12:53:29 -04:00
Jon Coppeard
950abbed23 Bug 893184 - Intermittent jsreftest.html?test=ecma_5/JSON/parse-array-gc.js... r=till 2013-08-20 16:40:27 +01:00
Luke Wagner
e11942b6a1 Bug 907085 - Don't use GetIonContext->cx during GC (r=jandem)
--HG--
extra : rebase_source : 0c442c82e71435dd8712a67cc7f01f00010f1e41
2013-08-20 09:40:16 -05:00
Hannes Verschore
c80fcf5fa4 Bug 905396 - IonMonkey: Bailout function of LGenericCall now takes JSObject, r=sstangl 2013-08-20 17:34:50 +02:00
Hannes Verschore
20ec6d28de Bug 890722: IonMonkey: Implement JSOP_RETRVAL, JSOP_SETRVAL, JSOP_POPV, r=jandem 2013-08-20 17:34:45 +02:00
Andy Wingo
480b88b121 Bug 907072 - ES6 reftests should run with "default version", not JS 1.8.5. r=jorendorff 2013-08-20 14:54:02 +02:00
Andrew McCreight
9185144b2e Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Andrew McCreight
cc17e564e5 Bug 886176 - Clean up XPCWN's participant. r=smaug 2013-08-19 10:04:03 -07:00
Jan de Mooij
ebd0ddbefe Bug 905993 - Fix SetElementIC temp register. r=nbp 2013-08-20 12:45:31 +02:00
Phil Ringnalda
c2bad24b8d Back out 57ee0ba35de6 (bug 858622) for Windows jit-test failures
CLOSED TREE
2013-08-19 19:03:08 -07:00
Dan Gohman
6fbf2016aa Bug 906368 - IonMonkey: Define a proper CountPopulation32 function, and use it in place of manual code in RegisterSets.h. r=nbp 2013-08-19 12:32:22 -07:00
Dan Gohman
2985714af4 changeset: 143171:50fded5df4fd
tag:         tip
user:        Dan Gohman <sunfish@google.com>
summary:     Bug 906885 - IonMonkey: Don't use range::isInfinite to test whether the value can be outside the bounds implied by lower() and upper(). r=nbp
2013-08-19 17:04:09 -07:00
Mike Hommey
e529f06fd1 Bug 904740 - Add a make macro for including dependency files. r=gps 2013-08-20 09:15:43 +09:00
Mike Hommey
02afee6dad Bug 906240 - Adapt cl.py dependency output to pymake deficiencies ; also add source file to the list of dependencies. r=gps 2013-08-20 09:14:45 +09:00
Jan de Mooij
660526272a Bug 906284 - Fix Ion SetPropertyIC to pass the right value to SetProperty. r=bhackett,efaust 2013-08-20 11:09:16 +02:00
Mike Hommey
3bdfe6c937 Bug 905938 - Fixup for make -s verbosity. r=gps 2013-08-20 16:21:34 +09:00
Jan de Mooij
b8820b9992 Bug 905989 - Fix a bogus assert and move the is-constructor check to getPolyCallTargets. r=h4writer 2013-08-20 09:19:35 +02:00
Gregory Szorc
d561f14d5c Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Mike Hommey
e6301f2519 Bug 906403 - Avoid subconfigure fail in incremental builds when some variable like CFLAGS change. r=gps 2013-08-20 15:26:23 +09:00
Mike Hommey
be41d52866 Bug 903369 - Wrap subconfigure invocation and restore config.status produced file timestamps if they haven't changed. r=gps 2013-08-20 15:23:28 +09:00
Mike Hommey
3ae22728a3 Bug 905938 - Use explicit rules for {export,libs,tools}_tier_%. r=gps 2013-08-20 15:22:42 +09:00
Mike Hommey
3a5ac99067 Bug 905938 - Remove Java rules from rules.mk. r=gps 2013-08-20 15:22:33 +09:00
Mike Hommey
bd0ca3606e Bug 905938 - Cancel GNU make builtin implicit rules by forcing -r instead of adding implicit rules to cancel them out. r=gps 2013-08-20 15:21:45 +09:00
Mike Hommey
352ccb4bc6 Bug 905938 - Use explicit rules for %.i, %.s, %.res, moc_% and qrc_%. r=gps 2013-08-20 15:21:35 +09:00
Dan Minor
8d7217d029 Bug 858622 - Make jit-tests runnable on mobile;r=terrence 2013-08-19 15:21:34 -04:00
Bill McCloskey
4d0174ff3b Bug 888898 - Fix rooting in setObjectMetadataCallback (r=bhackett) 2013-08-19 15:22:55 -07:00
Masatoshi Kimura
ffde56cf45 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Dan Gohman
63ab7818ee Bug 894813 - IonMonkey: Avoid temporary invalidity in Range::intersect, and re-enable the Range constructor asserts. r=nbp 2013-08-19 10:36:48 -07:00
Dan Gohman
545b7a058e Bug 894813 - IonMonkey: Enable --ion-check-range-analysis in jit_test.py --tbpl. r=jandem 2013-08-19 10:35:46 -07:00
Benjamin Bouvier
66dde9bf50 Bug 900771: Fold MToString into its input if it's already a string; r=sstangl 2013-08-19 10:32:33 -07:00
Benjamin Bouvier
4335305768 Bug 901105 - Rename movqsd into movq; r=sstangl 2013-08-19 10:29:04 -07:00
Brian Hackett
76ab2a7ab5 Bug 906331 - Make sure to init() and destroy PerThreadData instances in worker threads, r=billm. 2013-08-19 10:50:03 -06:00
Hannes Verschore
a09be6f7fe Bug 904293: Tracelogger: Make it work on x86, r=jandem 2013-08-19 15:54:41 +02:00
Hannes Verschore
35aab3d9c7 Bug 906626: Tracelogger: Fix the includes and address style nits, r=njn 2013-08-19 15:54:34 +02:00
Jon Coppeard
233babc4c5 Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm 2013-08-19 14:48:35 +01:00
Douglas Crosher
e13c3ff23a Bug 871242 - Use js_malloc and js_realloc for the Sprinter to avoid the need for a JSContext. r=luke 2013-08-16 17:34:51 +10:00
Steve Singer
47c8a4fcbc Bug 906220 - Include yarr/YarrInterpreter.h when not building YARR_JIT. r=luke 2013-08-19 09:16:21 -04:00
Wei Wu
ae603955d5 Bug 902437 - Update the default value of 'Range Analysis' option in jsshell's usage. r=mrosenberg 2013-08-19 09:15:18 -04:00
Gabor Krizsanits
f220a9b497 Bug 877673 - Part2: Export helpers for sandbox. r=bholley 2013-08-19 11:46:36 +02:00
Jan de Mooij
df1d35bb43 Bug 906040 followup - Use if-else rather than a ternary operator to work around link errors with GCC. r=h4writer on IRC 2013-08-19 10:49:53 +02:00
Brian Hackett
c723358a8d Bug 906372 - Fix NULL deref when finishing off thread parse tasks which failed, r=billm. 2013-08-17 21:29:30 -06:00
Brian Hackett
a2c9887106 Bug 906001 - Improve tests and asserts around starting off thread parses while GC is active in the atoms zone, r=billm. 2013-08-17 21:24:59 -06:00
Phil Ringnalda
006c9d873a Merge b2g-inbound to m-c 2013-08-17 19:50:37 -07:00
Ryan VanderMeulen
7cee217f25 Merge m-c to b2g-inbound. 2013-08-17 12:39:44 -04:00
Jan de Mooij
e672f24d6d Bug 906040 - Bring back the higher recursion limit for chrome scripts in the interpreter. r=luke 2013-08-17 10:42:37 +02:00
Gina Yeh
d3d5712e19 Bug 905980 - Fix b2g debug build, r=bhackett1024 2013-08-17 14:24:25 +08:00
Phil Ringnalda
cfde005e04 Back out c39d60483813 (bug 905364) for xpcshell and b2g desktop bustage 2013-08-16 22:38:48 -07:00
Mike Hommey
cc6f9e625a Bug 906260 - Make MOZILLA_OFFICIAL turn --enable-release on automatically. r=khuey
Still allow MOZILLA_OFFICIAL + --disable-release
2013-08-17 14:18:55 +09:00
Bobby Holley
f3b2fb17ba Bug 905364 - Stop using the SafeJSContext in nsScriptSecurityManager::Init. r=mrbkap
With this patch, I've confirmed that we instantiate the SafeJSContext much later
in startup, during nsAppStartupNotifier::Observe (which ends up invoking an
XPCWrappedJS). As such, this should solve a number of our startup ordering woes.
2013-08-16 20:28:17 -07:00
Ehsan Akhgari
aa4a01053a Backed out changeset 9cdd168a8518 (bug 904108) because it includes an unreliable Clang marketing version check 2013-08-16 11:53:46 -04:00
Jan de Mooij
b037952374 Bug 904133 - Add spilled float registers to safepoints. r=nbp 2013-08-16 14:42:48 +02:00
Jan de Mooij
9881c32f4b Bug 905148 - Check that a safepoint's live registers are not modified between a VM call and its OsiPoint. r=nbp 2013-08-16 11:16:46 +02:00
Dan Gohman
e99a989fe9 Bug 894813 - IonMonkey: Temporarily disable these asserts, which are failing on content/canvas/test/test_canvas.html, on a CLOSED TREE 2013-08-16 16:55:40 -07:00
Jan de Mooij
14cbec441b Bug 905091 part 2 - Ensure no instructions are inserted between an instruction and its OsiPoint. r=bhackett 2013-08-16 10:40:30 +02:00
Luke Wagner
f980439f53 Bug 906252 - OdinMonkey: fix type checking of final return (r=bbouvier) 2013-08-17 11:17:21 -05:00
Kannan Vijayan
69178aff29 Bug 905760 - Fix Box2D regression. r=efaust 2013-08-15 18:23:16 -04:00
Ehsan Akhgari
a9bd6887cc Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE 2013-08-15 18:20:00 -04:00
Tom Schuster
ef6d3d8a6b Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Jason Orendorff
20df98fc1a Bug 862848, part 3 - Make js::HasOwnProperty use LookupOwnProperty rather than LookupProperty. r=Waldo. 2013-08-15 16:33:21 -05:00
Jason Orendorff
48d063a088 Bug 862848, part 2 - Factor out LookupOwnPropertyWithFlagsInline from LookupPropertyWithFlagsInline. r=Waldo. 2013-08-15 16:33:21 -05:00
Jason Orendorff
7179f38b69 Bug 862848, part 1 - Move js::HasOwnProperty to put it right after the Lookup functions in jsobj.cpp. r=Waldo. 2013-08-15 16:33:21 -05:00
Jason Orendorff
57d8b80149 Bug 892549, part 4 - Clean up array literal parsing. r=Waldo. 2013-08-15 16:33:20 -05:00
Jason Orendorff
dda92aed88 Bug 892549, part 3 - Clean up object literal parsing. r=Waldo. 2013-08-15 16:33:20 -05:00
Jason Orendorff
a866dfd285 Bug 892549, part 2 - Re-indent some misindented code in Parser::objectLiteral(). r=Waldo. 2013-08-15 16:33:20 -05:00
Jason Orendorff
695f492a8c Bug 892549, part 1 - Factor out Parser::arrayInitializer() and objectInitializer() from primaryExpr(). r=Waldo. 2013-08-15 16:33:20 -05:00
Brian Hackett
dbe559cdac Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke. 2013-08-15 14:14:43 -07:00
Ryan VanderMeulen
61be913f55 Merge m-c to inbound. 2013-08-15 15:43:06 -04:00
Ryan VanderMeulen
ba408e1721 Backed out changeset e8bcb131ca7c (bug 905271) for suspicion of causing intermittent build bustage. 2013-08-15 15:41:53 -04:00
Nicholas Nethercote
14dff5b36e No bug. Fix minor quoting problem in the description of notable string memory reports. r=jlebar.
--HG--
extra : rebase_source : 531d37ec1f9ceb4e0a1ec702243bc934eb0329eb
2013-08-14 15:44:46 -07:00
Nicholas Nethercote
a8acd5c5d1 Bug 904962 (part 4) - Don't #include jsautooplen.h in vm/Stack.h. r=luke.
--HG--
extra : rebase_source : 3983625a9fc20f6cc1116283505e30c454b92145
2013-08-13 18:37:33 -07:00
Nicholas Nethercote
98310aaf3e Bug 904962 (part 3) - Minimize #includes in vm/RegExpObject.h. r=luke.
--HG--
extra : rebase_source : 8694dc31a198844013a5102b867cdff8d1538380
2013-08-13 18:35:48 -07:00
Nicholas Nethercote
9b973aa24f Bug 904962 (part 2) - Don't #include mozilla/ThreadLocal.h in jsapi.h. r=luke.
--HG--
extra : rebase_source : 18b0bac22dbdc5313394f6e6e43e09eface4f1ee
2013-08-13 18:34:58 -07:00
Nicholas Nethercote
a3ff92e03c Bug 904962 (part 1) - Don't #include js/CharacterEncoding.h in jsapi.h. r=luke.
--HG--
extra : rebase_source : abe40ea3e55059dc6271d0f7c9f4d19ed9413186
2013-08-13 18:34:24 -07:00
Jan de Mooij
14be08cab8 Bug 905300 - Remove dead code in SpiderMonkey. r=bhackett 2013-08-15 13:45:30 +02:00
Jan de Mooij
a63ccd5760 Bug 892787 - Fix the JITs to not optimize constructor calls if the callee is not a constructor. r=h4writer 2013-08-15 09:36:02 +02:00
Nicholas Nethercote
2971eb7abe Bug 898274 (part 2) - Check ordering of #include statements in check_spidermonkey_style.py. r=benjamin. 2013-08-14 21:59:57 -07:00
Nicholas Nethercote
78126ad05f Bug 898274 (part 1) - Fix ordering of various #include statements. r=benjamin. 2013-08-13 15:34:12 -07:00
Dan Gohman
cde7d939b4 Bug 905166 - IonMonkey - Handle NaN cases explicitly in Range::min and Range::max. r=nbp 2013-08-14 21:30:44 -07:00