Commit Graph

27880 Commits

Author SHA1 Message Date
Till Schneidereit
30bf738d85 Bug 897507 - part 2: add nsrcnotes argument to SaveSharedScriptData and use it instead of script->numNotes(). r=bhackett
--HG--
extra : rebase_source : faac238dc652bc52e83c08369ebb43cfcb868c89
2013-07-26 01:27:04 +02:00
Till Schneidereit
d495eb6922 Bug 897507 - part 1: remove functions from header files that are only used in jsscript.cpp. r=bhackett
--HG--
extra : rebase_source : a05bd61019d688ab74484641d9f79e8ac64f89de
2013-07-26 01:16:05 +02:00
Till Schneidereit
6b239ff5a0 Bug 892059 - Assert on unclonable values in self-hosting CloneValue. r=jimb
--HG--
extra : rebase_source : 0b39e57643965fc41ff1220a2c049eecce24e8c8
2013-07-26 03:04:28 +02:00
Nikhil Marathe
0ae601ff06 Bug 578700 - BinaryData ArrayType method implementations. r=nmatsakis
--HG--
extra : amend_source : 8ae08d1ce9a57328dd6a3f8028abf21d0b806222
2013-07-25 17:59:59 -07:00
Nikhil Marathe
add14d406c Bug 578700 - StructType and BinaryStruct implementation. r=nmatsakis
--HG--
extra : amend_source : 379738603fc3c3254f0a159e66cce038478e366a
2013-07-25 17:59:47 -07:00
Nikhil Marathe
9f134c0bd0 Bug 578700 - ArrayType and BinaryArray implementation. r=nmatsakis
--HG--
extra : amend_source : 6b5fd0077a4d8f182212a6e7e775eee87bd73bd5
2013-07-25 17:59:14 -07:00
Nikhil Marathe
cf4fae0864 Bug 578700 - Numeric types implementation. r=nmatsakis
--HG--
extra : amend_source : 16bd14404c2e30589101f5b965c016b7304b7773
2013-07-25 17:58:50 -07:00
Nikhil Marathe
84314cdddb Bug 578700 - Binary Data: initialize architecture. r=nmatsakis
--HG--
extra : amend_source : 7775dc457c0c25283608e583472dc7cf04bffe8c
2013-07-25 17:57:04 -07:00
Jeff Walden
55d358b4ef Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits 2013-07-19 20:14:34 -07:00
Jeff Walden
18044de962 Bug 894026 - Implement ES6 binary and octal literals. r=till 2013-07-23 14:12:36 -07:00
Nicholas Nethercote
13601c6549 Bug 897850 - Fix order of "construct" and "hasInstance" comments. r=evilpie. DONTBUILD
--HG--
extra : rebase_source : 0c7794045398db2e66d3ad1210b3b4b8b14947b0
2013-07-25 15:30:53 -07:00
Terrence Cole
7bde45b12a Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Ben Turner
7f77c96fa5 Bug 894993 - 'SessionWorker takes lots of memory'. r=billm+khuey. 2013-07-25 15:03:27 -04:00
Terrence Cole
700be2cb26 Bug 897724 - Fix some opt build warnings in clang; r=sfink
--HG--
extra : rebase_source : af3aa90d6464fd6701e29d014782a9037a3b1afe
2013-07-25 10:52:52 -07:00
Terrence Cole
4970b55215 Bug 897718 - Remove unused JSAPI method JS_CallGenericTracer; r=jonco
--HG--
extra : rebase_source : 42641b92f4228a6cbccc9c7c6d16333308748a80
2013-07-24 15:33:08 -07:00
Terrence Cole
5bec5ea06c Bug 890048 - Fix rooting of the findReferences shell command; r=jimb,billm 2013-07-24 16:32:21 -07:00
Dan Gohman
8a5deac58e Bug 881390 - IonMonkey: Hoist floating-point constants out of loops. r=h4writer 2013-07-25 09:40:25 -07:00
Jon Coppeard
477e4df5c5 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Jon Coppeard
0c479eead1 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - js/src changes r=terrence 2013-07-25 13:57:00 +01:00
Emanuel Hoogeveen
dd1a6cad4b Bug 888088 (part 10) - Fix #include ordering in most of js/src/ion/. r=nnethercote. 2013-07-24 23:34:48 -07:00
Eric Faust
75d9f15814 Bug 897875 - Add IsCallPC(). (r=h4writer) 2013-07-25 03:49:48 -07:00
Eric Faust
f7422ed3c0 Bug 897866 - Move types::IsInlinableCall() to Ion.h as ion::IsIonInlinablePC() (r=h4writer) 2013-07-25 03:49:32 -07:00
Eric Faust
cf79b171a3 Bug 897492 - Fix bogus assert. (r=djvj) 2013-07-25 03:47:31 -07:00
Nicholas Nethercote
2874baae06 Bug 892806 - Clean up InflateUTF8String() and related functions. r=terrence.
--HG--
extra : rebase_source : df901e9900fbd01f1adbe430b9ac52428499681f
2013-07-09 23:17:32 -07:00
Bobby Holley
9b761adefc Bug 897789 - Add a fuzz factor to watchdog tests. r=Waldo
CLOSED TREE
2013-07-24 23:00:22 -04:00
Jim Blandy
b47c1ba4f5 Bug 876946: Never return null from Proxy::className, even if we're over-recursed. 2013-07-24 17:48:33 -07:00
Terrence Cole
25eb212bc2 Bug 897574 - Fix GGC opt build failure; r=sfink
--HG--
extra : rebase_source : 1a5f5f1eef09241960b1ba08e4c52b820b55b66b
2013-07-24 15:33:02 -07:00
Bobby Holley
0b7e198eed Bug 870043 - Watchdog tests. r=mrbkap 2013-07-24 15:33:32 -07:00
Bobby Holley
d3bba960aa Bug 870043 - Add a way to simulate the JSRuntime activity callback from xpcshell. r=mrbkap
The JS engine fires this callback when the request count drops to zero, and we
use it determine when we should hibernate the watchdog thread. But since the
request count never drops to zero for nested event loops, the watchdog never
runs in those cases. And since our xpcshell harness runs tests in a nested event
loop, this means we can't test watchdog hibernation from xpcshell. And we don't
want to test it in mochitests, because the non-determinism of timer CCs and GCs
are likely to be problematic.

Really, we should consider finding a way to integrate nested event loops into
the activity callback mechanism, and should probably get a bug on file. But such
a task is out of scope for this bug, so we just add a way to fake it.
2013-07-24 15:33:32 -07:00
Bobby Holley
3908f72e5a Bug 870043 - Add support for scripted operation callbacks in XPCShell. r=mrbkap 2013-07-24 15:33:31 -07:00
Bobby Holley
a9060fc081 Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Bobby Holley
ec70ea79e3 Bug 870043 - Factor the watchdog machinery into a helper class. r=mrbkap
This is a long-overdue change in general. It's now particularly necessary
because we want to start and stop the watchdog, potentially multiple times
during a session. Encapsulating this into a class that we can
destroy/instantiate several times means that we don't end up with inconsistent
state.

As a nice bonus, this centralizes the whole setup and makes it easier to
comprehend. I actually had this nicely split up into several patches, but
I accidentally squashed them while rebasing. :-(
2013-07-24 15:33:31 -07:00
Ryan VanderMeulen
274e2e8dc0 Merge m-c to inbound. 2013-07-24 18:22:45 -04:00
Nicolas B. Pierron
c2358889ac Bug 894786 - Part 2: Work around the lack of unsigned representation. r=jandem 2013-07-24 10:59:57 -07:00
Nicolas B. Pierron
e8292cf127 Bug 894794 - Collect Range info ahead instead of manipulating operand ranges. r=jandem 2013-07-24 10:59:57 -07:00
Nicolas B. Pierron
a56e7b3ae5 Bug 894794 - Fix truncated range of constants. r=jandem 2013-07-24 10:59:56 -07:00
Nicolas B. Pierron
3d1c0806d5 Bug 894786 - Ensure all bitwise operations are truncating their inputs. r=Waldo 2013-07-24 10:59:56 -07:00
Dan Gohman
c31a6471bc Bug 895465 - IonMonkey: Optimize codegen for test(and(x, y)). r=mrosenberg 2013-07-24 09:36:14 -07:00
Shu-yu Guo
da8b104df2 Bug 897137 - Remove unnecessary inlining for the Dump intrinsic in Ion. (r=nmatsakis) 2013-07-24 07:19:05 -07:00
Shu-yu Guo
698ca6737b Bug 897071 - Don't bail out of parallel execution if GetPropertyParIC couldn't attach a stub. (r=jandem) 2013-07-24 07:19:04 -07:00
Shu-yu Guo
9441cbf763 Bug 897063 - Add TypedArray .length stub for GetPropertyParIC. (r=jandem) 2013-07-24 07:19:04 -07:00
Shu-yu Guo
108964991b Bug 896770 - Eagerly baseline compile during parallel warmup. (r=nmatsakis) 2013-07-24 07:19:04 -07:00
Ed Morley
17741e0915 Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
e72bd0c472 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
4f51466484 Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence 2013-07-24 09:40:01 +02:00
Ms2ger
36f3f6ae03 Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv 2013-07-24 09:31:06 +02:00
Ms2ger
b70920b070 No bug - Move a comment back to its proper place. 2013-07-24 09:25:39 +02:00
Ms2ger
57ca175e28 Bug 888643 - Part c: Disallow CPP_UNIT_TESTS in Makefiles; r=gps 2013-07-24 09:24:07 +02:00
Ryan VanderMeulen
ed3cd68987 Merge m-c to fx-team. 2013-07-23 20:53:32 -04:00