Commit Graph

18366 Commits

Author SHA1 Message Date
Bill McCloskey
4f3a1a6f62 Bug 730447 - Create a GC counter for malloc bytes (r=gregor) 2012-03-07 18:07:41 -08:00
Adam
8546c08abd Make "let" a reserved word for Web scripts. Bug 730139, r=jorendorff. 2012-03-02 18:28:29 -06:00
Jan de Mooij
1608dc1de3 Bug 732423 - Combine GETELEM and CALLELEM interpreter cases and fix some e4x/noSuchMethod bugs. r=bhackett 2012-03-08 12:18:27 +01:00
Mike Hommey
09cbaacf5a Fixup for bug 603370. Re-sync build/autoconf/expandlibs.m4 with js/src 2012-03-08 09:15:51 +01:00
Mike Hommey
f955d8086e Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey 2012-03-08 08:56:28 +01:00
Mike Hommey
934aace9a3 Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey 2012-03-08 08:56:27 +01:00
Mike Hommey
5b2d25f61e Backout changeset 283408b8d8a3 (bug 603370) 2012-03-08 08:39:17 +01:00
Mike Hommey
70f92bca22 Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
David Mandelin
68c407c176 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
2dc291ee58 Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Gregory Szorc
a272dc9b1e Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey 2012-03-06 15:03:34 -08:00
Bill McCloskey
9eb41c6433 Bug 731094 - Expose a testing function that permits only deterministic GCs (r=igor) 2012-03-06 11:39:31 -08:00
Bill McCloskey
84718f7e90 Bug 729369 - Expose the same set of SpiderMonkey testing APIs to debug shell and debug browser chrome (r=Waldo) 2012-03-06 11:38:44 -08:00
Terrence Cole
b5a88d9637 Bug 733372 - Fix an infinite recursion in GC marking; r=billm
Since the private data is sometimes packed in strange ways into the underlying
structure, we cannot just pass a reference to it to the marker.  Instead, we
store the gotten value on the C stack, do marking and potentially update its
value there, then pass the updated privates location to the object using
setPrivate.  If the setPrivate function triggers write barriers that end up
marking, this can recurse.  For now we should simply not do this.

--HG--
extra : rebase_source : ce2607907cc66f8beaeab433e21ba302cbf1b34e
2012-03-06 11:30:25 -08:00
Matt Brubeck
18cd6fbeaa Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts 2012-03-06 11:05:37 -08:00
Mike Hommey
4bfcfc14d4 Bug 731151 - Avoid creating (and leaving around) an a.out during configure. r=khuey 2012-02-28 10:48:16 +01:00
Nicholas Nethercote
e93c8baf5c Bug 729403 (follow-up) - Use the right KIND for runtime/gc-marker, thus avoiding warnings about explicit mismatches. r=me.
--HG--
extra : rebase_source : 4625531f438d5e1e6a2e600134dee959a45e8204
2012-03-05 21:04:38 -08:00
Mark Hammond
6f18fbf7c7 Bug 728986: dump() writes to stdout instead of stderr. r=bent 2012-03-06 15:44:37 +11:00
David Mandelin
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
7f86c54ec3 Bug 723971 - unmark gray for shapes. r=billm 2012-03-05 18:11:29 -08:00
Bobby Holley
ac1fbc4a6a Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Bobby Holley
ba4156b5cf Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap 2012-03-05 15:22:53 -08:00
Bobby Holley
24197270eb Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
87d7f5f353 Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
eb0a73527c Bug 720580 - Kill temporary globals. r=mrbkap
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
f43429b675 Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
3523199f9a Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
4b0b1b7f62 Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
d5786b3e4f Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
221605656b Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
fa19fcd55d Bug 720580 - Manually resolve |Object| on the global in XPCWrappedNativeScope::SetGlobal() to avoid calling into the XPConnect resolve hook too early. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
9146075c05 Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
1d80caf8a2 Bug 720580 - Modify the semantics of XPCWrappedNative::FinishCreate() so that it doesn't muck around with the refcounts of its inparam. r=mrbkap
The current semantics involve the caller transfering ownership of the input wrapper to FinishCreate(), which is complicated and error-prone. Now that we're using nsRefPtr at the callsites, we can get rid of it.
2012-03-05 15:22:44 -08:00
Bobby Holley
dd0c70edd5 Bug 720580 - Use nsRefPtr instead of manual AddRef/Release in XPCWrappedNative::{GetNewOrUsed,Morph}. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
5115bb9cb6 Bug 720580 - Move the AutoMarkingWrappedNativePtr in XPCWrappedNative::{GetNewOrUsed,Morph} closer to where we need it. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
fe4872737f Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
ccb745bc93 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
2cb54e998b Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
f43e9eb936 Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
c03737bfa1 Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap 2012-03-05 15:22:43 -08:00
Brian Hackett
2615a9267b Don't use reference to freed contents of JIT script, bug 730806. r=dvander 2012-03-05 13:25:24 -08:00
Charles Chan
ccd935f93a Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Brian Hackett
7a69f7d85d Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander. 2012-03-05 12:45:14 -08:00
Jeff Walden
b9cffc0641 Bug 732669 - Box primitive values correctly when accessing properties of them. r=bhackett
--HG--
extra : rebase_source : c4c084557425e6d42b990ca22c10972fcc6697ce
2012-03-05 09:34:38 -08:00
Terrence Cole
610ce813e4 Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
eabf2efeae Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
379c6ab88b Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 13:49:41 -05:00
Jan de Mooij
bce6f7e43f Bug 732693 - Fix bytecode emitted for o.__proto__(). r=bhackett 2012-03-03 16:27:51 +01:00
Matheus Kerschbaum
89b7db65ac Bug 687579 part 1: Remove globalStorage implementation. r=jst
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
Jeff Walden
b0b2dc3ff9 Silence a (newly introduced in) clang warning about adding an int to a string. No bug, r=trivial 2012-03-02 19:59:11 -08:00
Luke Wagner
d159b501a3 Bug 730497 - preparatory parser sanity enhancements (r=jorendorff)
--HG--
extra : rebase_source : 4e89da8ce6b0f107fabd1944575c4c181283eeac
2012-02-27 16:36:04 -08:00
Luke Wagner
0229e94a42 Bug 731724 - don't forget about function::arguments! (r=waldo)
--HG--
extra : rebase_source : e782e9f06b17a7ac5c46f990092c94595b1a92cd
2012-03-02 09:32:04 -08:00
David Mandelin
8984e21021 Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
aceman
a39be24188 Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan 2012-03-02 17:23:01 -05:00
Jim Blandy
29a6548922 Bug 674171: Implement Debugger.Frame.prototype.onPop. r=jorendorff 2012-03-02 12:12:14 -08:00
Jim Blandy
5faf15629d Bug 674171: Separate the construction of a completion value from the debuggee->debugger compartment transition. r=jorendorff
In class Debugger, split newCompletionValue into:
- resultToCompletion, which takes a standard SpiderMonkey (success, value,
  context's exception) triple and produces the corresponding
  (JSTrapStatus, value) pair; and
- newCompletionValue, which takes a (JSTrapStatus, value) pair and produces
  a JavaScript completion value.

Define receiveCompletionValue to do exactly what newCompletionValue used to
do: the above two operations, with a compartment 'leave' in the middle.
Substitute receiveCompletionValue where newCompletionValue is used now.
2012-03-02 12:12:14 -08:00
Jim Blandy
435129c819 Bug 674171: Make the JavaScript shell's 'evaluate' function to return a value. r=jorendorff
This simplifies writing tests, since one can use common structure around
uses of both 'eval' (which produces "eval" frames) and 'evaluate' (which
produces "global" frames).
2012-03-02 12:12:14 -08:00
Jim Blandy
2e872d2ec9 Bug 674171: Define Debugger::FrameRange, for iterating over the Debugger.Frame instances referring to a given StackFrame. r=jorendorff 2012-03-02 12:12:14 -08:00
Jim Blandy
10dc7e74c9 Bug 674171: Delete hasDebugModeCodeToDrop, it is scratched^Wunused. r=jorendorff
I had a hard time writing a test case for this, so I gave up.
2012-03-02 12:12:13 -08:00
Peter Van der Beken
52dc54f3e9 Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Peter Van der Beken
c1cb66d9c8 Fix for bug 717013 (Add new DOM binding for DOMTokenList). r=jst.
--HG--
extra : rebase_source : 6ae0abe3bbe33a140c62c193685e23529d44e6d4
2011-08-22 11:14:13 +02:00
Brian Hackett
05d65de1c9 Backout consolidation of pending arrays for switch targets, bug 730888. r=dvander 2012-03-01 17:48:32 -08:00
David Mandelin
e2e9eb9eb3 Bug 731898: Remove typedef jsrefcount, r=luke
--HG--
extra : rebase_source : 1e0c99c44a8d6d2807a647273b1d07691f8c983e
2012-03-01 11:43:17 -08:00
Jason Orendorff
da07715475 Add CallArgs::hasDefined convenience method. Bug 730676, r=luke.
--HG--
extra : rebase_source : 12e51485479c86a518300de28fe125e692dea4c6
2012-03-01 12:48:52 -06:00
Jason Orendorff
0af3864536 Add static assertions as requested in bug 726298 comment 2 and 4.
--HG--
extra : rebase_source : 3edf2446076dae08c16b121de18505174c84f370
2012-03-01 12:48:47 -06:00
Ehsan Akhgari
3a282685d8 Bug 732162 - Build mobile profiling builds with -funwind-tables; r=khuey
--HG--
extra : transplant_source : 4O%F7%BA%94%0Fh%F6%5E%EA%10%E1%08%9E%D9S%A2XEd
2012-03-01 16:24:04 -05:00
Jim Blandy
dbda278555 Bug 721642: Remove function proxy support from proxy_TraceObject. r=jorendorff
Function proxies will always call proxy_TraceFunction, which handles the
'call' and 'construct' slots.

This patch also moves the call to proxy_TraceObject from proxy_TraceFunction into
a tail position, so it could be compiled as a jump.
2012-03-01 12:59:24 -08:00
Marco Bonardo
d433f51394 Backout 51bff179fa81 (bug 731898) for Android bustage 2012-03-01 21:57:14 +01:00
Bill McCloskey
abf41392d2 Bug 732087 - Change argc to nvars (r=luke) 2012-03-01 11:58:00 -08:00
David Mandelin
64337d4c17 Bug 731898: Remove typedef jsrefcount, r=luke 2012-03-01 11:43:17 -08:00
Bill McCloskey
bd2fa87f12 Bug 731783 - Eliminate per-compartment barrier marker (r=igor) 2012-03-01 10:39:13 -08:00
Kai Engert
a9fd38bf43 Bug 728719, NSSUTIL_GetVersion, undefined reference during linking, r=glandium 2012-03-01 17:29:34 +01:00
Jason Orendorff
b3e994f7f8 Make Map and Set constructors take a single iterable argument. Bug 726223, r=luke.
--HG--
rename : js/src/jit-test/tests/collections/Map-size-1.js => js/src/jit-test/tests/collections/Map-constructor-1.js
rename : js/src/jit-test/tests/collections/Map-size-2.js => js/src/jit-test/tests/collections/Map-size.js
rename : js/src/jit-test/tests/collections/Set-size-1.js => js/src/jit-test/tests/collections/Set-constructor-1.js
rename : js/src/jit-test/tests/collections/Set-size-2.js => js/src/jit-test/tests/collections/Set-size.js
2012-03-01 09:01:46 -06:00
Jason Orendorff
837e896d58 Add Map.prototype.size and Set.prototype.size. Bug 726298, r=luke. 2012-03-01 09:01:45 -06:00
Jason Orendorff
e0b3ccc0b5 Add tests for some ancient watchpoint bugs (zombie setters!) and remove a senile line of code from obj_watch. Bug 604781, r=jimb. 2012-03-01 09:01:45 -06:00
Jason Orendorff
32f4b561f4 Fix totally wrong OOM handling in MapObject.cpp. Bug 726218, r=luke. 2012-03-01 09:01:45 -06:00
Jason Orendorff
8a21b894b3 Fix "Assertion failure: isDenseArray() && idx < getDenseArrayInitializedLength(), at ../jsobjinlines.h:558" with for-of, Array, trailing holes. Bug 726212, r=Waldo. 2012-03-01 09:01:45 -06:00
Jason Orendorff
9ffda93808 Element iterators should use [[Get]] and not peculiarly ignore the prototype chain. Bug 725168, r=Waldo. 2012-03-01 09:01:45 -06:00
Jason Orendorff
eb84a5f3ba Reflect.parse("[,,,]") should make an ArrayExpression with .elements.length 3. Bug 630232, r=dherman. 2012-03-01 09:01:45 -06:00
Jason Orendorff
8e4eb12002 Fix hilarious bug in js_malloc: it fails once every 2^32 allocations in DEBUG builds. Bug 730270, r=luke. 2012-03-01 09:01:45 -06:00
Igor Bukanov
182e2dd994 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Steve Fink
1a213d89c9 Bug 730144 - Label objects with their mark colors when dumping the heap
--HG--
extra : rebase_source : 8bb1243f66610bde734a4f9063446a1b02bc0b68
2012-02-23 18:47:59 -08:00
Steve Fink
8f67dbcad5 Bug 719294 - Eliminate the bytecode space optimization where it omits the starting line number. r=luke
As per this comment:

/*
 * Special case: function definition needs no line number note because
 * the function's script contains its starting line number.
 */

But this is the only reason why you need a JSContext in js_PCToLineNumber, and I have a user that needs to do the lookup without a context.

--HG--
extra : rebase_source : 0807e755d5d7c1ecd6837ca4f6b8d4cc53e3f0b2
2011-06-06 14:11:08 -07:00
Bobby Holley
e6beee84d8 Bug 731471 - Don't reparent wrappers that don't want to move. r=peterv 2012-02-29 21:21:57 -08:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
David Mandelin
b29f6a956a Bug 731492: Remove obsolete typedef JSPackedBool, r=luke
--HG--
extra : rebase_source : 95423985f55547755a988ba19629678997bfa553
2012-02-28 19:03:57 -08:00
Matt Brubeck
710e5b9000 Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Jeff Walden
7dc450d625 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : b7e56f8e95e76c35089ff48a26fb60f9a4708995
2012-02-28 18:08:04 -08:00
Igor Bukanov
267b62cdb3 Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm 2012-02-29 21:23:53 +01:00
Steve Fink
660c93f18d Bug 731450 - jstests.py needs to import subprocess.call. r=dmandelin
--HG--
extra : rebase_source : 307566ad1ad837dcd355440f378b755db3ae6afc
2012-02-28 17:15:26 -08:00
Steve Fink
34aac9ca1c Bug 730144 - Label objects with their mark colors when dumping the heap. r=mccr8
--HG--
extra : rebase_source : 0eb7c558ec255cb26784522137a8b80746cbe140
2012-02-23 18:47:59 -08:00
Igor Bukanov
2139e49ce8 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Bill McCloskey
594ab1a09f Bug 731052 - Clean up incremental resets (r=igor) 2012-02-29 10:28:30 -08:00
Irving Reid
3675d8671d Bug 731316: override warning about unsupported compiler warning flag on clang. r=respindola. 2012-02-29 10:20:42 -05:00
Rafael Ávila de Espíndola
429c78527e Bug 731503 - fix typo. r=bustage. 2012-02-29 08:16:32 -05:00
Rafael Ávila de Espíndola
6111d91c62 Bug 731503 - workaround llvm.org/pr12127. r=dvander. 2012-02-29 08:04:26 -05:00
Igor Bukanov
3732e3e290 bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
Phil Ringnalda
ac1d019bf7 Back out 4537403fb911 (bug 731450), c9e48c19363a (bug 719294), 682dd844587b (bug 730144) for flambe 2012-02-28 19:07:40 -08:00
David Mandelin
da7f46da70 Bug 730523: remove jscompat.h, r=luke 2012-02-28 18:17:11 -08:00
Steve Fink
b35e63ca4e Bug 731450 - jstests.py needs to import subprocess.call. r=dmandelin
--HG--
extra : rebase_source : b80c2698e84b9744dbc7faeb2ce5654479f7b6d4
2012-02-28 17:15:26 -08:00
Steve Fink
4ca2e4600b Bug 719294 - Eliminate the bytecode space optimization where it omits the starting line number. r=luke
As per this comment:

/*
 * Special case: function definition needs no line number note because
 * the function's script contains its starting line number.
 */

But this is the only reason why you need a JSContext in js_PCToLineNumber, and I have a user that needs to do the lookup without a context.

--HG--
extra : rebase_source : 73064dbbbf31949d19c8f1e1b18eb4febf127c87
2011-06-06 14:11:08 -07:00
Steve Fink
de27a605cf Bug 730144 - Label objects with their mark colors when dumping the heap. r=mccr8
--HG--
extra : rebase_source : 14b88d188875dd2f1fe90b9e16af77ef81018fde
2012-02-23 18:47:59 -08:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Nathan Froyd
6f835d88b2 Bug 731248 - Remove duplicate headers in js/src. r=luke 2012-02-28 12:01:52 -05:00
Luke Wagner
8f3a03dd2f Bug 731181 - Handle GC during RegExpShared::compile (r=billm)
--HG--
extra : rebase_source : bfc5af40e73cd5be1dce0fe2198175ae19e77998
2012-02-28 15:36:19 -08:00
Bill McCloskey
149b4aa9eb Bug 729367 - Add write barrier flag to shell worker class (r=jorendorff) 2012-02-28 10:43:56 -08:00
Brian Hackett
84e1964a4e Make sure to allocate auxiliary PC counter arrays when required, bug 721274. r=dvander 2012-02-28 08:00:24 -08:00
Jan de Mooij
82da0fa223 Bug 730836 - Refactor SetObjectElementOperation to avoid a GetPcScript call. r=pierron
--HG--
extra : rebase_source : 889b08873e1cab824f62c09c412e6b8d85a98b28
2012-02-28 12:06:42 +01:00
Igor Bukanov
f5e1d2235d bug 730987 - remove per-context debug hooks. r=luke 2012-02-28 11:54:40 +01:00
Luke Wagner
a5cbd429bb Bug 729382 - move the rest of the CallObject into ScopeObject (r=waldo) 2012-02-23 13:58:39 -08:00
Luke Wagner
7103faa24e Bug 724790 - get rid of the hasOverriddenArgs funny business (r=waldo) 2012-02-07 12:34:29 -08:00
Nicholas Nethercote
9727de241c Bug 729403 (part 2, take 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey.
--HG--
extra : rebase_source : c48aacddd186be0de3c74153f5e5e4049d09a87b
2012-02-26 20:20:15 -08:00
Nicholas Nethercote
d6aeabe8ce Bug 729403 (part 1, take 2) - Add Vector::sizeOf{In,Ex}cludingThis(). r=luke.
--HG--
extra : rebase_source : d745c1b1b9ca30c6836c31b03ded4dcab22a2565
2012-02-26 20:18:13 -08:00
David Anderson
a271172b79 Ensure that iterators are closed when an exception is thrown (bug 729797, r=luke).
--HG--
extra : rebase_source : a500065bf2c96d1b8581fc8ae81af2eac0ee880f
2012-02-27 17:01:52 -08:00
Terrence Cole
8829b7dd51 Bug 727306 - Specialize HeapValue::postWriteBarrier for object slots; r=billm
Because we need to re-alloc the object slots pointers for slots growth and
actively move the slots buffer between objects in TradeGuts, we cannot safely
store pointers to slots in our write buffer.  Instead we want to store a pair of
JSObject* + offset in the write buffer.  This effectively means that we need to
specialize the HeapValue::postWriteBarrier used when storing to slots.  This
patch sub-classes HeapValue and uses this sub-class for object slots.

--HG--
extra : rebase_source : 632ad9fd74f638cf9cadc19d6bc0aac8d6cc1cb1
2012-02-17 18:43:48 -08:00
Jeff Walden
9e3a6477f3 Tix fypo, bug 730810. r=winning 2012-02-27 15:17:38 -08:00
Jeff Walden
7ba8102078 Bug 730810 - Don't assert doing a compound assignment to a const. r=luke 2012-02-27 14:04:04 -08:00
Christian Holler
d185b656e3 Bug 730697 - Add missing OOM checks in JS type inference code. r=bhackett
--HG--
extra : rebase_source : 00e7f02d87f51a2cc2a4955de30c6f3f6c9b21ca
2012-02-27 13:43:48 -08:00
Christian Holler
69cec67b1d Bug 730415 - Fix JS engine OOM condition in makeDenseArraysSlow. r=bhackett 2012-02-27 12:57:53 -08:00
Terrence Cole
a6837c2b29 Bug 725500 - Eliminate various jstest freezes on Unix; r=dmandelin
This is a rewrite of the jstest loop for Unix to prevent a freeze
that is possible here. See the writeup in the bug for details.

--HG--
extra : rebase_source : 8a7c80cb7ee044d909e29c669648cfc67e096c3b
2012-02-14 11:24:48 -08:00
Bill McCloskey
75460687b1 Bug 729238 - Save and restore weakmap list during marking validation (r=igor) 2012-02-27 09:48:35 -08:00
Mike Hommey
a5f435fd9c Bug 716544 - Define android NDK headers as system headers. r=khuey 2012-02-27 08:22:27 +01:00
Phil Ringnalda
2e98180c3d Back out a7255af10a2a and da193f5b526b (bug 729403) for xpcshell assertions in test_TelemetryPing.js 2012-02-26 18:39:06 -08:00
Nicholas Nethercote
7d90bc00d0 Bug 729403 (part 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey.
--HG--
extra : rebase_source : 9f078515b971e3de4156bb3edd3f8aea74c9fa8f
2012-02-21 21:43:45 -08:00
Nicholas Nethercote
de94e4c2f9 Bug 729403 (part 1) - Add Vector::sizeOf{In,Ex}cludingThis(). r=luke.
--HG--
extra : rebase_source : 850abf71178c5a23198561560d00ecd970db0cc1
2012-02-21 20:58:40 -08:00
Nicholas Nethercote
f65c98bbba Bug 730182 - Show location for "[System Principal]" compartments in about:compartments. r=bholley.
--HG--
extra : rebase_source : 084b36938e00058503fba426aeb42ca5cd85698d
2012-02-26 13:23:32 -08:00
ABE Hiroki
efbe1d84d7 Bug 693226 - Fix up paths so that --enable-ui-locale=ab-CD --with-l10n-base=l10n works with pymake on Windows. r=khuey 2012-01-31 10:25:41 -05:00
Bill McCloskey
333021ca45 Bug 729238 - Don't reset weakmap list during mark validation (r=igor) 2012-02-26 10:04:53 -08:00
Bill McCloskey
275fb493fa Bug 728962 - Always use a safe JSContext during GC (r=igor) 2012-02-26 10:03:44 -08:00
Philipp Wagner
38fa903280 Bug 730081 - Add a way to disable xpccheck for subdirectories; r=khuey 2012-02-23 22:22:00 +01:00
Makoto Kato
93a280d673 Bug 730212 - Set _WIN32_IE to 0x0603 (XPSP2). r=jimm 2012-02-26 00:20:36 +09:00
Peter Van der Beken
3b0644136d Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 788c2b3f9666ca654fab67047f6309937360f725
2012-02-07 20:55:37 +01:00
Jeff Walden
53f2ebdd19 Windows-specific warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
2012-02-25 01:59:12 -08:00
L. David Baron
5c4dc186ed Add a header file for CSS property aliases (and temporarily resurrect the aliases whose DOM properties we forgot to remove). (Bug 730532, patch 1) r=bzbarsky 2012-02-24 21:23:14 -08:00
Jeff Walden
584d570d9a Bug 728411 - Move more elements bits over to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : bcc5f0d8fc44643675e4a9efad84c7419545bb95
2012-02-16 19:11:06 -08:00
Jeff Walden
5cc93a8ee1 Bug 728411 - Move write barrier bits to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : b1d72f92b2befd3a1277afe0cc5188fef2ebddf8
2012-02-16 19:11:06 -08:00
Jeff Walden
e7055f8746 Bug 728411 - Move some elements bits into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 4d8644e37674795c4b3803d5e4b4ded828df7e63
2012-02-16 15:08:50 -08:00
Jeff Walden
13a16dcc1a Bug 728411 - Make ReportReadOnly a static method, not part of the JSObject interface. r=bhackett
--HG--
extra : rebase_source : b2e126907ed126d249830b7ee73e2411af5d32da
2012-02-16 15:06:23 -08:00
Jeff Walden
24f9c987f6 Bug 728411 - Move some size-computation bits into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 22fe716cc7b76622f8856f5a50905ca5facb2a19
2012-02-16 15:05:44 -08:00
Jeff Walden
078a99196b Bug 728411 - Begin to move simple functions from JSObject to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 1a82d604cb32e941a296a63b3047a6c76426d57e
2012-02-16 15:02:15 -08:00
Jeff Walden
b1328fd2b1 Bug 728411 - Add new files for internal object structural details, as opposed to the external, ES5-like object interface. r=bhackett
--HG--
extra : rebase_source : 55d679f4576d8059deb265ae929b49b26e3c777e
2012-02-09 18:54:28 -08:00
Jeff Walden
4b0352a7be Bug 720316 - Use uint32_t indexes for JOF_ATOM opcodes. r=jorendorff
--HG--
extra : rebase_source : 44b6fc051eadbb5b38c634c18a454ce6adfaa69f
2012-02-03 18:53:29 -08:00
Jeff Walden
34fe4334c8 Remove a top-level |using namespace js| from jspropertycacheinlines.h. No bug, r=lumpy
--HG--
extra : rebase_source : c9824427df8b35372ff238c4badcf3156cff09c0
2012-02-24 14:25:38 -08:00
Jeff Walden
b6c32cb7b9 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 5b0df12cbc8e609d3415f2785f262612cb77516b
2012-02-22 14:48:55 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
de0e6e6ccd Bug 726230: remove obsolete typedefs JSIntn, JSUIntn, r=luke
--HG--
extra : rebase_source : f7f84755fe86f10109cd7332583212b1aa1e719d
2012-02-10 18:07:35 -08:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Chris Leary
e9e4a90b47 Bug 700822: Followup: add comment about use of static local. (r=bz) 2012-02-24 11:15:32 -08:00
Marco Bonardo
bcb8184750 Backout 92c25caf3990 (bug 691707) for m-oth failures 2012-02-24 20:05:44 +01:00
Bill McCloskey
93fc879b61 Bug 730148 - Handle OOM better in ValidateIncrementalMarking (r=igor) 2012-02-24 10:46:31 -08:00
Bill McCloskey
0ceaaefb00 Bug 673551 - Allow mark stack size to be bounded for debugging (r=igor) 2012-02-24 10:42:42 -08:00
Peter Van der Beken
6bb126a26b Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 2877f225f60750d27005fccc0225e5c0482fb441
2012-02-07 20:55:37 +01:00
Daniel Holbert
72dfdfe8df Bug 730074: Use JSCLASS_NO_OPTIONAL_MEMBERS in JSClass definition within XrayWrapper.cpp, to fix build warning about missing braces. r=mrbkap 2012-02-24 14:31:49 +01:00
Steve Fink
7781df6688 Bug 730140 - NUL-terminate strings when dumping the heap. r=mccr8 2012-02-23 18:47:51 -08:00
Richard Newman
f8f9fa6f5d Merge m-c to m-i. 2012-02-23 18:37:12 -08:00
Richard Newman
85840c2035 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Brian Hackett
d63d02e8aa Fix bogus assert, bug 717249. r=waldo 2012-02-23 18:11:03 -08:00
Honza Bambas
e9c33fe76e Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Ben Turner
7af9098625 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
3dc2527e7f Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Florian Boesch
fc9e33241d Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Bill McCloskey
0d08fbfac5 Bug 728086 - Initialize the stack properly (r=luke) 2012-02-22 10:36:12 -08:00
Mike Hommey
c2835eb5c0 Bug 729666 - Remove clock_gettime check in js/src/configure.in. r=khuey 2012-02-23 11:01:31 +01:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Bill McCloskey
bbc92f9620 Bug 728086 - Back out the test as well 2012-02-22 14:18:24 -08:00
Bill McCloskey
620898670f Bug 728086 - Back out f4e8839c28f5 to fix Windows purple builds 2012-02-22 13:38:34 -08:00
Brian Hackett
41e28ed615 Compile scripts containing decomposed opcodes, fix warning. bug 728342. 2012-02-22 12:57:25 -08:00
Brian Hackett
82697847db Don't compile any part of scripts containing uncompileable opcodes, bug 728342. r=dvander 2012-02-22 10:57:00 -08:00
Bill McCloskey
4353fb2949 Bug 728190 - Update stack later in Arguments (r=bhackett) 2012-02-22 10:39:58 -08:00
Bill McCloskey
5ea3251fb9 Bug 728086 - Poison the stack when not in use (r=luke) 2012-02-22 10:36:12 -08:00
Ed Morley
6d9eda1b61 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-23 13:58:27 +00:00
Kyle Huey
50663acbe7 Merge b-s to m-c. 2012-02-22 19:00:04 -08:00
Kyle Huey
8482a5faf3 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-22 15:05:28 -08:00
Phil Ringnalda
2b13719124 Merge m-c to m-i 2012-02-21 23:36:31 -08:00
Phil Ringnalda
5c8208f553 Back out b7f7b63038dd (bug 728686) for leaks and suspicion of intermittent mochitest-a11y failures 2012-02-21 20:34:26 -08:00
Phil Ringnalda
83cb7a525c Back out b27980f1de54 and 39ea8d8f9768 (bug 728429) for potential Windows PGO build bustage on a CLOSED TREE 2012-02-21 20:01:01 -08:00
Kyle Huey
e45a96deb7 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-21 16:09:39 -08:00
Brian Hackett
73613cbe30 Compute correct object in BINDNAME IC, bug 727223. r=dvander 2012-02-21 06:48:43 -08:00
Jacek Caban
d5b8c93f78 Bug 728178 - js.exe fails to link on on mingw (missing MOZ_Crash) r=glandium 2012-02-21 15:48:02 +01:00
Ed Morley
465164e131 Merge mozilla-central to mozilla-inbound 2012-02-21 14:15:58 +00:00
Ed Morley
ec5a7c5b3d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
1b9743c01a Bug 673468 - Remove a superfluous null-check; r=gabor 2012-02-21 10:34:02 +01:00
Ms2ger
5ed0ff5c65 Bug 726964 - Remove unused sDOMStringFinalizerIndex; r=bholley 2012-02-21 10:34:02 +01:00
Ms2ger
1944749327 Bug 726960 - Introduce xpc::NonVoidStringToJsval; r=bholley 2012-02-21 10:34:02 +01:00
Dão Gottwald
897892ae75 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-21 04:29:09 +01:00
Justin Dolske
493d419146 Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
ce98a24c8c Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-20 15:39:33 +01:00
Ed Morley
be847bb9bd Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Bill McCloskey
059441d1d3 Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor) 2012-02-21 17:04:53 -08:00
Nicholas Nethercote
f407686454 Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Nicholas Nethercote
c34bc1317f Bug 702300 (part 7) - Add the "compartments" multi-reporter. r=billm.
--HG--
extra : rebase_source : e45e59bd8657197dbd61c257f46ad6396cdda3c3
2012-02-16 22:10:39 -08:00
Jeff Walden
294b5f03eb Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
--HG--
extra : rebase_source : 8b64d2593d684a4e5d0d1ee87072db03afb78efe
2012-02-20 13:56:10 -08:00
Igor Bukanov
9e8f5eb3c7 bug 725576 - serialize principals only once per top-level script. r=luke
--HG--
extra : rebase_source : 92b82ff8a8d03d6176bf1e43329a59b77ca83de4
2012-02-10 13:40:34 +01:00
Bill McCloskey
2e7140bcd9 Bug 729910 - Fix OOM in gc() shell function (r=luke) 2012-02-23 14:34:18 -08:00
Bill McCloskey
026f725507 Bug 727987 - Add null check to Boolean conversion (r=Waldo) 2012-02-23 14:34:12 -08:00
Bill McCloskey
9a4c1b313e Bug 726429 - Handle GC during string table initialization (r=luke) 2012-02-23 14:34:06 -08:00
Luke Wagner
e81969c7a7 Bug 726380 - Fix RegExp r.compile(r) (r=cdleary)
--HG--
extra : rebase_source : 7efdce0fb28bb6de15635d7fab13535246c70b55
2012-02-23 13:58:19 -08:00
Luke Wagner
fa63b057b8 Bug 726595 - Do a better job guarding RegExpShared objects against GC (r=cdleary)
--HG--
extra : rebase_source : f4b28fd9dc0ad762d483e0a11fba450bdd8bd32f
2012-02-23 13:51:19 -08:00
Luke Wagner
e360e8fdf0 Bug 729584 - mozJSComponentLoader::ImportInto needs to wrap exceptions (r=bholley)
--HG--
extra : rebase_source : c5c575a789647348fcca5bf9ef5368873f0016f4
2012-02-23 13:50:01 -08:00
Rafael Ávila de Espíndola
5af0cd84d1 Bug 729926 - mac64: objdump not found. r=glandium.
--HG--
extra : rebase_source : 21e8f5a44a44d6537268b543effd7dd85092c4b5
2012-02-23 17:05:37 -05:00
Bill McCloskey
c8a015ec60 Bug 728609 - Increment gcNumber in EndVerifyBarriers (r=bhackett) 2012-02-23 14:02:21 -08:00
Igor Bukanov
e6dd559a18 bug 729427 - applly IGC barrier to filename script entries. r=:Billm 2012-02-23 22:17:49 +01:00
Brian Hackett
794ea5c208 Efficiency improvements in ScriptAnalysis::analyzeSSA, bug 725920. r=dvander 2012-02-23 13:01:27 -08:00
Makoto Kato
2ed3c82ead Bug 722933 - add -MACHINE option for link.exe. r=khuey 2012-02-21 16:19:23 +09:00
Igor Bukanov
87ee03b495 bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke 2012-02-13 09:02:21 +01:00
Nicholas Nethercote
41009478c4 Bug 728736 - Simplify JS_IterateCompartments. r=wmccloskey.
--HG--
extra : rebase_source : 5c8a43ffd6c738e84becd5835650a5734c09d0fc
2012-02-20 18:17:39 -08:00
Bobby Holley
196a0a6768 Bug 700561 - Relax short-circuit principal checks on account of inner window reuse. r=bz 2012-02-18 08:55:28 -08:00
Brian Hackett
e616955c4c Enable chunked compilation on x64, bug 728372. r=dvander 2012-02-18 08:52:04 -08:00
Jan de Mooij
1645f3bf09 Bug 725357 - Move Monitor call from GetElementOperation to the interpreter. r=dvander 2012-02-22 09:26:02 +01:00
Terrence Cole
8923ccd433 Bug 727135 - Make jsid marking interfaces indirect; r=billm
This will allow the GC to move jsid referenced objects.
2012-02-17 17:27:37 -08:00
Bill McCloskey
c6cd982f05 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Terrence Cole
276ed7807a Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
This will allow us to move HeapPtr and rooted objects when tracing.

--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Gabor Krizsanits
a5324e288a Bug 673468 - Wrapped JS objects used as keys can disappear from WeakMaps. r=mccr8,billm 2012-02-17 13:22:26 +01:00
Jeff Walden
8d23f9b616 Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett 2012-02-16 19:10:59 -08:00
Jeff Walden
850206480a Bug 728095 - Eliminate all primitive-this machinery from JSObject and relegate it to subclasses. r=bhackett 2012-02-16 19:10:45 -08:00
Jeff Walden
ed8c5375af Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 66d872e0ab56b73f1879d1aff9aba1dd3e71e9b3
2012-02-15 17:41:59 -08:00
Brian Hackett
3af4aeda2f Ensure that generators are never compiled, bug 726799. r=dvander 2012-02-16 15:26:30 -08:00
Bill McCloskey
80fd0c916a Bug 727921 - Fix schedulegc bustage 2012-02-16 15:21:59 -08:00
Brian Hackett
04461ba616 Fix dictionary state when swapping objects, bug 727330. r=luke 2012-02-16 15:15:16 -08:00
Terrence Cole
ae41e09037 Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
This is the last user of the old-style C hashtables in the JS engine.

--HG--
extra : rebase_source : ccf8b296371227c0f0eea59a41b78eb4b63e8275
2012-02-15 17:55:25 -08:00
Terrence Cole
eb9bfa3d2f Bug 727980 - Do not mark script atoms as roots; r=billm
Fixes a regression from bug 721463.

--HG--
extra : rebase_source : 601530388cb62f78b93a4ab35e749a7ee29d5d05
2012-02-16 14:27:37 -08:00
Bill McCloskey
4fe57aefe3 Bug 727921 - Add test case 2012-02-16 14:37:16 -08:00
Bobby Holley
fe2e5fde31 Bug 714590 - Use the helper jsclass format everywhere. r=mrbkap 2012-02-16 12:22:16 -08:00
Terrence Cole
db54cc864e Bug 726845 - Make Value marking interfaces indirect; r=billm
This will eventually allow the GC to update Values that reference an Object,
when moving an object.
2012-02-15 17:16:53 -08:00
Rafael Ávila de Espíndola
3305146019 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Igor Bukanov
0c1d79c61a bug 725595 - drop native object checks from JS_(Get|Set)ReservedSlot. r=Waldo 2012-02-10 13:40:34 +01:00
Terrence Cole
ed5d8783f0 Bug 726115 - Make the tracer callback take an indirect pointer; r=billm
This will be required for a tracer to move objects.  This patch only
updates the tracer interface and users of the interface.

--HG--
extra : rebase_source : 844d819a80cf6cb1dba0d07ea97f647802c66d40
2012-02-15 16:28:41 -08:00
Sean Stangl
fd9c9efd75 Bug 725532 - Refactor DefVarOrConstOperation() to be Ion-compatible. r=Waldo 2012-02-15 16:45:25 -08:00
Adam
302080a684 Bug 725765 - More Sprinter cleanups (adding a put method rather than having SprintCString and friends). r=jwalden
--HG--
extra : rebase_source : c7b5e45dfb1b937688884de0ca2fa7e1d7cc6b41
2012-02-15 16:15:57 -08:00
Jeff Walden
7086420197 Convert the last remaining direct JS_Assert users to MOZ_Assert, followup to bug 717540 that seems to have been missed in my initial review. Also switch the JS_ASSERT uses to MOZ_ASSERT in passing. r=trivial
--HG--
extra : rebase_source : 70746d934b529c3e28d83dc2aced690ba92044db
2012-02-14 16:16:14 -08:00
Boris Zbarsky
99844f3e8d Bug 726182. Add a JS_GetFunctionPrototype API for getting the canonical Function.prototype. r=waldo 2012-02-10 17:49:39 -05:00
Bobby Holley
b038453297 Bug 717113 - Make js::IsWrapper fully inline-able. r=luke 2012-02-21 10:31:35 -08:00
Bobby Holley
b75619769f Bug 717113 - Don't do a redundant class lookup in js::IsProxy. r=luke 2012-02-21 10:31:27 -08:00
Bill McCloskey
dd3d702cef Bug 718053 - Fix Valgrind warnings (r=cdleary) 2012-02-21 09:49:22 -08:00
Tom Schuster
7b768993b6 Bug 725293 - update Unicode support in SpiderMonkey to v6.1 r=Waldo 2012-02-15 15:30:39 +01:00
Terrence Cole
a877d9b43e Bug 721463 - Clean up and minimize marking interfaces; r=billm
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code.  This patch reworks the interface to clean
up jsgcmark.h.
2012-02-14 09:10:23 -08:00
Jan de Mooij
02c5104da9 Bug 727087 - Move JSOP_TOID implementation to jsinterpinlines. r=dvander
--HG--
extra : rebase_source : 2bcc7b7a30f613489a93cb1465a2ae6d64815f1c
2012-02-14 23:36:36 +01:00
Jim Blandy
e5063eaed9 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley 2012-02-14 13:18:16 -08:00
Chris Leary
355fa9c5a4 Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Brian Hackett
b29f4bbcc4 Fix argc checks in mjitChunkLimit shell function, bug 726636. r=dvander 2012-02-14 05:16:32 -08:00
Marco Bonardo
31d15db029 Merge central to inbound 2012-02-14 11:18:40 +01:00
Marco Bonardo
f325c574a0 Merge last green PGO from inbound to central 2012-02-14 11:16:13 +01:00
Mike Hommey
526bd939af Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Terrence Cole
e00892b3d7 Bug 714109 - Add missing barriers to Generator; r=billm
The generator object stores aside values from the stack of the generator
function when the generator is not running.  These values need to properly root
objects in the nursery.

--HG--
extra : rebase_source : 0de3980a058a2951e14663841078fb575ae22f6c
2012-02-13 10:01:18 -08:00
Mike Hommey
c893472974 Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
ac9a4a0719 Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Mike Hommey
c2a4ec3221 Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke 2012-02-13 15:47:34 +01:00