Commit Graph

14333 Commits

Author SHA1 Message Date
Blake Kaplan
96c422f69a Bug 662114 - Don't use DummyFrameGuard directly to avoid Windows DLL-linkage warnings. r=luke
--HG--
extra : rebase_source : 8ef14ff1cecaa7f426adc55b3a1ad205f00d0b8c
2011-06-07 19:43:18 -04:00
Brendan Eich
f567b76676 Strict mode early error (strict option warning) on assignment to declared const (383902, r=jwalden). 2011-06-07 16:24:33 -07:00
Steve Fink
dc5fdefaa0 Bug 637393 - Give JSScript control over the lifetime of JSPCCounters, to allow freeing with cx (r=dmandelin)
--HG--
extra : rebase_source : 9e94ec8506bc3aac28c1dd0ef5b9047e33ff6e8d
2011-06-06 16:48:20 -07:00
Kyle Huey
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Jonathan Protzenko
39aa116d95 Bug 658351 - Add extra assertions to jsval.h to check for malformed JSBools r=mrbkap 2011-05-31 20:18:21 +02:00
Mitchell Field
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Blake Kaplan
e25afea942 Disable this test on Android as well since it's broken in Electrolysis. r=vingtetun 2011-05-24 11:21:42 +02:00
Ed Morley
d2d7cf35c3 Bug 591611 - Clean up FIREFOX_VERSION handling; r=khuey 2011-05-28 14:33:07 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Michael Wu
d064b6eefe Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Mitchell Field
d0794ce6a8 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Masatoshi Kimura
2a8de1f5f6 Bug 508905 - /Zc:wchar_t- is no longer required 2011-05-12 12:02:54 +00:00
Steve Fink
4fe2a2b264 Bug 637393 - Add a -D option to the shell to disassemble all scripts, with per-op per-runmode execution counts, at shutdown
--HG--
extra : rebase_source : da191562758eb5dc64e76be79d55a09153cce391
2011-05-10 11:26:39 -07:00
Steve Fink
f944ff55d2 Bug 637393 - Add JS_DumpProfile, JS_DumpAllProfiles to disassemble one or all scripts' along with execution counts of each op
--HG--
extra : rebase_source : 58afddcf73ded6505fabe3ef42495faa5cb6915a
2011-05-10 11:26:39 -07:00
Steve Fink
e760bcc0f4 Bug 637393 - Add an option to count number of executions of each JSOp, broken down by "run mode" (method JIT/trace JIT/interpreter)
--HG--
extra : rebase_source : ba9a916197f8c2e449b3096f1c31fe2b154feef4
2011-05-10 11:26:39 -07:00
Luke Wagner
0d7bf8cc22 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Luke Wagner
67af97e094 Bug 656462, part 3 - Syntactic touchups (r=waldo)
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
fe7b0581ce Bug 656462, part 2 - Merge ContextStack::get* and push* operations (r=waldo)
--HG--
extra : rebase_source : bdc7a7ba9ee21435a20e77bf6cea8c4d34a840c9
2011-05-24 16:04:18 -07:00
Luke Wagner
78dc696e0e Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Jeff Walden
f63e8d0dc3 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jeff Walden
9ed41bbdc2 Bug 657367 - Don't attempt to use the JSON parser to fast-path eval if the eval code contains either U+2028 or U+2029, which JSON permits within strings but which JavaScript doesn't permit in strings. (In case you missed it, this means that there's no subset relationship between JavaScript and JSON. (!)) r=njn
--HG--
extra : rebase_source : 5dfa4da6ec6b2238bc6e0e36bc349c9fabcbfd19
2011-06-03 16:53:31 -07:00
Nicholas Nethercote
a1825387bc Bug 645598 - Trim last bits of fat from the scanner, part 3 of 3. r=jwalden. 2011-06-07 13:48:55 +10:00
Nicholas Nethercote
af44ef61b4 Bug 645598 - Trim last bits of fat from the scanner, part 2 of 3. r=jwalden. 2011-06-07 13:48:21 +10:00
Nicholas Nethercote
5e87a0c3ea Bug 645598 - Trim last bits of fat from the scanner, part 1 of 3. r=jwalden. 2011-06-07 13:47:12 +10:00
Paul Biggar
33979e422d Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
118bf3fdae Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
08fcb0b61d Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden) 2011-06-06 14:24:10 -07:00
David Mandelin
ea7d5ed079 Bug 662165: fix MSVC warning 2011-06-06 13:36:57 -07:00
Chris Leary
278e5141b8 Followup fix for merge, fix ifdef directive. 2011-06-06 09:58:15 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
timeless@mozdev.org
deceb8bf2b Bug 620182 [@ QuoteString | DecompileSwitch] when JSVAL_IS_DOUBLE(key) and SprintDoubleValue fails due to oom
r=jorendorff
2011-06-03 08:57:00 -07:00
Ed Morley
5f60af28bb Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07:00
Alon Zakai
5ea390381e Bug 644241 followup for compiler warning 2011-06-03 18:13:47 -07:00
Alon Zakai
f482160f72 Bug 644241, part 2: Disabling OOMing tests. r=igor 2011-06-03 17:54:30 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Chris Leary
ad6cf7c541 Bug 576828: Test self-referential backreference. (r=dmandelin)
--HG--
extra : rebase_source : 42b9319d8e9c5ae48a04e8f9e099ee2ea8d93294
2011-06-03 16:36:42 -07:00
Chris Leary
dae433fed7 Bug 661770: Avoid call overhead atomizing from js_AtomizeChars. (r=njn)
--HG--
extra : rebase_source : 0bcacc47c6171886e6d200c1de093df5aa326e8d
2011-06-03 15:36:07 -07:00
Chris Leary
db8f0665e7 Bug 661770: Make shell's compile builtin compile-and-go. (r=dvander)
--HG--
extra : rebase_source : d6ad31d173ff1b4c115957db23af034d3cee7ba2
2011-05-31 20:38:02 -07:00
Bill McCloskey
f7c5d49018 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Nicholas Nethercote
f54b0fa19d Bug 546477 - add explicit/js/stack memory reporter. r=luke. 2011-06-02 19:40:57 -07:00
Phil Ringnalda
0344c24e80 Interim bug 660497 bustage fix, use $(OS_TARGET) until ANDROID is usable as a makefile define 2011-05-28 20:25:30 -07:00
Luke Wagner
6beaae8ad4 Dial down recursion in new test added by abd2dcd555f4 so as to not chew up so much C stack when the mjit is disabled (r=orange) 2011-06-02 18:39:48 -07:00
Luke Wagner
07c939e83e Bug 538293 - remove inlineCallCount and this STACK_QUOTA silliness (r=dvander)
--HG--
extra : rebase_source : 724910c67423b0720ca5c3732699bca4d64324ef
2011-05-27 18:15:39 -07:00
Luke Wagner
a710729944 Bug 656171 - Just remove this mutual subsumption assertion; with document.domain it's not strictly true (r=mrbkap)
--HG--
extra : rebase_source : 78247eba80e9196c929d9136273557faa717407c
2011-06-02 16:35:31 -07:00
Bill McCloskey
c23838f371 Fix jstest timeouts caused by patch for bug 650978 2011-06-02 15:07:01 -07:00
Gregor Wagner
9ce0f0d1ba Bug 660329 - GC: add reason for GC to GCTimer. r=igor 2011-06-02 13:02:21 -07:00
Brian Hackett
a804aa88fe Fix bug 650673, r=dmandelin. 2011-06-02 12:22:39 -07:00
Igor Bukanov
8e11a702b7 bug 656261 - followup to fix compilation warning 2011-06-02 19:36:59 +02:00
Paul Biggar
0a66b46e25 Bug 660668: Fix Shape::search() assertion after OOM (r=nnethercote)
Shape::search() assumes hasTable() will be false if Shape::search() OOMs - make it so.
2011-06-02 10:06:36 -07:00
Paul Biggar
459861e42c Bug 660630: Only error once in OOM in NewCompartment (r=igor) 2011-06-02 10:06:36 -07:00
Paul Biggar
c333f22f78 Bug 660610: Don't double-free execAlloc_ after OOM. (r=nnethercote) 2011-06-02 10:06:36 -07:00
Rafael Ávila de Espíndola
f9339f6813 b=661145, r=bsmedberg Move the function declarations passed to AC_TRY_COMPILE out of the body of main. 2011-06-03 16:34:42 -04:00
Mike Hommey
df686a06f3 Bug 626035 - Modify the way arm compiler flags are set in configure. r=ted 2011-06-03 01:49:28 +02:00
Mike Hommey
1cb5d6d328 Bug 658251 - Fix MK{,C}SHLIB when using wrap-malloc. r=ted 2011-06-03 01:27:07 +02:00
Igor Bukanov
3e2ef6c4ef bug 656261 - better GC arena layout. r=wmccloskey 2011-05-19 21:01:08 +02:00
Bill McCloskey
b902b98248 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Bill McCloskey
719f0678e9 Bug 652985 - Use off-the-books malloc in DumpHeap (r=pbiggar) 2011-06-01 17:48:02 -07:00
Makoto Kato
634f7d1946 Bug 660591 - Bug 625600 causes bustage on Win64. r=dmandelin 2011-06-01 14:05:36 +09:00
Justin Lebar
be822c8496 Bug 660930 - Force InlineGetProp to be inlined. r=dmandelin 2011-05-31 19:57:36 -04:00
Igor Bukanov
875a4ed0e8 bug 660430 - do not call the security manager during GC-marking of GC wrappers. r=gal 2011-05-30 21:36:16 +02:00
Luke Wagner
b99eb46ea1 Fix jit_test.py so that -g works again (rs=dmandelin) 2011-05-27 18:19:14 -07:00
Gregor Wagner
cbb17d528d Bug 658041 - Stack based marking for JSRopes. r=igor 2011-05-27 15:17:47 -07:00
David Mandelin
88e2fc9186 Remove some stray Ctrl-M characters 2011-05-27 14:05:05 -07:00
timeless@mozdev.org
c18f5ac818 Bug 619794 DECOMPILE_CODE leaks xval on failure in Decompile
r=jorendorff
2011-05-27 10:58:28 -07:00
timeless@mozdev.org
0333a7ce54 Bug 620251 js_CurrentThread and friends should have AndLockGC in their name
r=jorendorff
2011-05-27 10:58:26 -07:00
timeless@mozdev.org
ba16ed7739 Bug 621153 Add JS_ALWAYS_TRUE markers to ValueToNumber() for cases where it should be so
r=jorendorff
2011-05-27 10:58:22 -07:00
Jan de Mooij
ef0a847b87 Bug 624298 - Add an IC for JSOP_CALLNAME. r=dvander 2011-05-27 13:56:11 +02:00
Luke Wagner
bf3e38e9d2 Bug 656490 - Fix direct-eval assert (r=dmandelin) 2011-05-26 17:23:21 -07:00
David Mandelin
2299c54162 Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
--HG--
extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
2011-05-16 16:17:19 -07:00
Chris Leary
8a58ce9072 Bug 657537: clean up jschar inflation/deflation. (r=Waldo) 2011-05-26 15:50:05 -07:00
Jim Blandy
6f5851edb8 (no bug): Fix comments referring to allocation policies defined in jstl.h --- they're now in jsalloc.h. 2011-05-26 10:55:58 -07:00
Luke Wagner
e25124700b Bug 659462 - remove no-op JS_ClearNewbornRoots and uses in xpconnect (r=mrbkap) 2011-05-13 08:56:25 -07:00
Paul Biggar
a860fb2d95 Bug 634711 - Use nanojit::BitSet instead of avmplus::BitSet. r=nnethercote. 2011-05-25 22:47:49 -07:00
Nicholas Nethercote
0a71cf8b26 Update nanojit-import-rev stamp. 2011-05-25 20:32:19 -07:00
Nicholas Nethercote
d1a041757e Bug 634711: add BitSet::resetAndAlloc(). r=pbiggar.
--HG--
extra : convert_revision : 8eec2117b714ec754c483b681acb3737f63b994c
2011-05-25 19:46:02 -07:00
Makoto Kato
a365c30cae Bug 576247 - asm_stkarg not implemented for x86_64. r=edwsmith
--HG--
extra : convert_revision : 6176f4f11b273ddde0de661a2c2de0d2219515b2
2011-05-25 17:37:27 +09:00
Paul Biggar
998c7234fe Bug 634711 - Remove BitSet implementation from avmplus.h, because it's a duplicate of the one in Containers.h. r=nnethercote.
--HG--
extra : convert_revision : 8bf26319d7f15c6d22d69557d8b6d95ff65cd381
2011-05-23 21:47:43 -07:00
Ed Morley
08e3b18da0 Bug 656017 - Re-remove WinCE ifdef from js/src/vprof/vprof.cpp (was incorrectly added by bug 644900). r=jorendorff.
--HG--
extra : convert_revision : b6b89f27651adcc38be57ef25357ccc1d2e9ea8e
2011-05-23 21:13:06 -07:00
William Maddox
9be8135422 Bug 658389 - Make sure branch and delay slot remain contiguous in function epilogue [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : 9ffbe7d3623c705593139412b82a79ba87786d08
2011-05-23 11:46:21 -07:00
Jacob Bramley
0ebf6f47d9 When NJ back-tracks _nIns in the ARM back-end, back-track _nInsAfter too. [bug 658526] [r=nnethercote]
--HG--
extra : convert_revision : 070ac9dc74702ec0658384b0ec2c44cfe10d3fdd
2011-05-23 11:37:47 +01:00
Rick Reitmaier
778c1c64ce Bug 609393 - resourceConsistencyCheck x87 stack assert can fire (r+wmaddox)
--HG--
extra : convert_revision : 87a15611dc195b0f520299c6f5f317f779eb31ba
2011-05-20 16:01:11 -07:00
David Mandelin
216d4906f0 Bug 625600 followup: attempt to fix Android build 2011-05-25 14:50:59 -07:00
David Mandelin
508233ea30 Backout merge 2011-05-25 14:50:23 -07:00
David Mandelin
bd6d662fa8 Backed out changeset 6f4ca81b13d5 -- was temporary diagnostic 2011-05-25 14:50:07 -07:00
David Mandelin
4a0a44b095 Diagnostic for failing Android build 2011-05-25 13:27:24 -07:00
Tom Schuster
34b477e3fa Bug 608823. Speed up bitops on doubles. r=dvander 2011-05-25 16:26:26 -04:00
Igor Bukanov
19e8c49c32 bug 658864 - preventing GC when reporting OOM on other threads. r=anygregor
--HG--
extra : rebase_source : 611b09f30000688eba161b12803b1ca44d7adbab
2011-05-22 20:50:08 +02:00
Ehsan Akhgari
fd57a9f752 Merge mozilla-central into mozilla-inbound 2011-06-09 18:29:16 -04:00
Ed Morley
8d9b7f227d Bug 659997 - Remove typo'd ENVIRONMENT_MAC_OS_X_VERION_MIN_REQUIRED define; r=ted 2011-06-09 12:10:42 -07:00
Ehsan Akhgari
1601471f11 Merge mozilla-central into mozilla-inbound 2011-06-09 09:26:52 -04:00
Peter Van der Beken
ae44770a16 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Rafael Ávila de Espíndola
eb595ddfc3 Bug 657653. Check for libstdc++ versions in stdc++compat.cpp; r=ted,glandium 2011-06-08 22:35:24 -04:00
Jeff Walden
87ccff3aa5 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jonathan Protzenko
6e0a823a8a Bug 658351 - Add extra assertions to jsval.h to check for malformed JSBools r=bz 2011-06-07 20:05:08 +02:00
Mook
c671b3dec1 bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Olli Pettay
744a48fa95 Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00