Commit Graph

5838 Commits

Author SHA1 Message Date
Brendan Eich
77da9d75ed Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap). 2009-06-04 18:58:47 -07:00
Andreas Gal
c1a6a54eed adjustCallerTypes does not aggressively undemote globals anymore (bug 496482). 2009-06-04 21:50:26 -04:00
timeless@mozdev.org
6e5d8a5804 Bug 440982 To avoid calling JS at unsafe times from JS_GC, jsds_ScriptHookProc should not get the script hook unless it needs to and it is safe to call
r=brendan sr=brendan
2009-06-04 21:00:56 -04:00
David Mandelin
cce0d4d6a6 Bug 496391: trash all trees before deleting fragments in js_PurgeScriptFragments, r=graydon 2009-06-04 17:50:08 -07:00
David Mandelin
80a97eb5d3 Bug 496319: correctly unpack FrameInfo::argc, r=mrbkap 2009-06-04 15:19:59 -07:00
Brendan Eich
64f0a471ba Make @ns::attr force HEAVYWEIGHT to avoid having to analyze ns as a lexical name (hack for 496316, r=igor). 2009-06-04 10:58:06 -07:00
Robert Sayre
b7ea66606f Merge mozilla-central to tracemonkey. 2009-06-03 23:19:45 -04:00
Blake Kaplan
445fcf3242 Bug 496113 - Unwrap 'with' objects before calling into getters to restore API compatibility. r=brendan 2009-06-03 16:37:44 -07:00
Jeff Walden
9607777654 Bug 496054 - TM: Null deref [@ JITted code] involving __proto__ munging and array-like access. r=brendan 2009-06-03 16:34:37 -07:00
Boris Zbarsky
9e286af994 Bug 484459. Give SandboxClass a convert method so it doesn't end up delegating that to the prototype. r+sr=mrbkap 2009-06-03 18:49:53 -04:00
Andreas Gal
9ded7b0c3e Capture missing globals from current environment, not the tree entry map when extending a side exit (495958, r=graydon). 2009-06-03 12:43:38 -07:00
Igor Bukanov
5f8aa186ab bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap 2009-06-03 20:44:20 +02:00
David Mandelin
a90aee411c Bug 494269: trace JSOP_LAMBDA_FC, r=brendan,gal 2009-06-03 11:19:20 -07:00
Marco Pesenti Gritti
00b7763eaa Pick up the current system timezone when a Date object is created (492056, r=mrbkap). 2009-06-03 11:16:57 -04:00
Robert Sayre
305ede3fb6 Merge. 2009-06-03 01:18:05 -04:00
Blake Kaplan
931a6dcb91 Bug 495843 - Crash [@ js_Interpret] or Assertion failure: cg->stackDepth == stackDepth, at ../jsemit.cpp. r=brendan 2009-06-03 01:17:20 -04:00
Andreas Gal
9cc0784c1a Fall off trace if 'this' is a 'with' object (496057, r=mrbkap). 2009-06-02 20:03:58 -07:00
Andreas Gal
f4be60c6d3 Bug 495897 - Assertion failure: ti->typeMap.matches(ti_other->typeMap) with undeclared global. r=dvander 2009-06-02 22:28:59 -04:00
David Mandelin
5ffad30282 Bug 495907: use more reliable code to get outermost tree script nest level, r=gal 2009-06-02 11:52:24 -07:00
Robert Sayre
497c7b443a Merge mozilla-central to tracemonkey. 2009-06-02 14:31:13 -04:00
Andreas Gal
518a96a672 Inspect the scope for the right object when looking up properties on fast arrays (495844, r=jwalden). 2009-06-01 18:58:56 -07:00
Andreas Gal
5283063eab Detect global object wrapping at recording time and on trace (495699, r=mrbkap). 2009-06-01 18:52:08 -07:00
Bob Clary
bde1aa7cf1 JavaScript Tests - bug 463782, bug 476192 - fix summaries to not include string 'Assertion fail', npotb. 2009-06-01 16:41:17 -07:00
Bob Clary
83845aba1d bug 473096 - JavaScript Test - adjust test for new decompilation pattern. 2009-06-01 16:41:11 -07:00
Bob Clary
13aa297542 bug 476049 - JavaScript Test by Igor Bukanov. 2009-06-01 16:41:06 -07:00
Bob Clary
7c83eba164 bug 475971 - JavaScript Test by Igor Bukanov. 2009-06-01 16:41:00 -07:00
Bob Clary
19569e7562 bug 355829 - JavaScript Tests by Jesse Ruderman, Igor Bukanov. 2009-06-01 16:40:54 -07:00
Bob Clary
429e30fb04 bug 479110 - JavaScript Tests - disable jitstats for math-trace-tests, Andreas Gal. 2009-06-01 16:40:48 -07:00
Bob Clary
0f5dda0b6b JavaScript Tests - bug 452598, bug 458838, bug 469347, bug 473117, bug 473271, bug 479198, bug 482349, bug 482594, bug 482783, bug 483103, bug 483103, bug 483723, bug 483962, bug 484104, bug 484151, bug 484332, bug 484334, bug 484495, bug 484599, bug 484693, bug 484751, bug 485790, bug 485889, bug 486578, bug 487134, bug 487845, bug 487845, bug 491965, bug 491989, bug 492124, bug 492599, bug 493255 by Andreas Gal, Jeff Walden, David Mandelin, Jacob Bramley, Graydon Hoare, Jason Orendorff, Brendan Eich, Ben Turner, Vladimir Vukicevic, Blake Kaplan. 2009-06-01 16:40:42 -07:00
Bob Clary
17212a9b94 bug 462734 - JavaScript Tests by Gary Kwong, Igor Bukanov, Brendan Eich. 2009-06-01 16:40:37 -07:00
Bob Clary
04adeace8f bug 455981 - JavaScript Tests by Jesse Ruderman, Gary Kwong. 2009-06-01 16:40:31 -07:00
Bob Clary
4048f30b51 bug 453492 - JavaScript Test by Jesse Ruderman. 2009-06-01 16:40:24 -07:00
Bob Clary
101631d174 bug 452498 - JavaScript Tests by Gary Kwong, Jesse Ruderman, Brendan Eich. 2009-06-01 16:40:18 -07:00
Bob Clary
eddcfcb1a6 bug 436700 - JavaScript Test by Sylvain Pasche. 2009-06-01 16:40:12 -07:00
Bob Clary
99e1c47ffc bug 426827 - JavaScript Test by Jan Darmochwal. 2009-06-01 16:40:06 -07:00
Bob Clary
2c799af484 bug 416737 - JavaScript Tests by Jesse Ruderman, Igor Bukanov. 2009-06-01 16:40:00 -07:00
Bob Clary
bf74c4373d bug 375406 - JavaScript Test by Jesse Ruderman. 2009-06-01 16:39:54 -07:00
Bob Clary
2f4b77fd26 bug 495307 - JavaScript Tests - update slow-n-*.tests. 2009-06-01 16:39:36 -07:00
Bob Clary
368a66b444 bug 480680 - update comments regarding need to hg update -C to work around in tree changes. 2009-06-01 16:39:30 -07:00
David Mandelin
5baa8fe491 Bug 495773: include trace entry JSStackFrame in upvar search, also remove obsolete union from FrameInfo, r=gal 2009-06-01 14:50:02 -07:00
Andreas Gal
c70c0c7270 Bug 495396 - TM: missing early return in Nativei386 when generating LEA. r=edwsmith 2009-06-01 16:24:59 -04:00
Peter Van der Beken
580d491113 Fix for bug 495554 (crash [@ XPCNativeSet::NewInstance(XPCCallContext&, XPCNativeInterface**, unsigned short) ]). r/sr/a=jst.
--HG--
extra : rebase_source : 29b4e1b88da5e56d1c33e7c09697c9fb0a1f9936
2009-05-31 20:07:26 +02:00
Andreas Gal
fd0028e6e9 Hotfix for bug 495563. 2009-05-29 23:17:50 -07:00
Andreas Gal
1f12d31de5 Abort recording if wrapping occurs, take 2 (495563, r=brendan). 2009-05-29 20:39:13 -07:00
David Mandelin
504424ebf3 Bug 495566: fix stack offset calculations for traces that start at top level, r=gal 2009-05-29 18:50:35 -07:00
Jeff Walden
ae6248fe09 Fix bogus warnings from gcc thinking that js_GetLengthProperty doesn't always write its outparam by removing code from it and simplifying what remains -- WIN! No bug, r=gal 2009-05-29 14:57:32 -07:00
Graydon Hoare
65b5c22205 Bug 495362 - TM: disconnecting VMFragments due to script-unload leaks, r=gal. 2009-05-29 15:03:10 -07:00
Boris Zbarsky
d09fd6ef7c Bug 493246. Improve ::guard logging. r=jorendorff 2009-05-29 16:52:12 -04:00
Igor Bukanov
ffa8b1615c bug 495216 - proper accounting of args and vars for Call object. r=brendan 2009-05-29 14:23:58 +02:00
Igor Bukanov
ae04e76e20 bug 494208 - js_SetProtoOrParent must check if the object is native before locking it. r=brendan 2009-05-29 10:47:51 +02:00
Brendan Eich
d3fe4a3144 Bug 495045: test tcflags for new Function's top-level, its body, when vetoing flat closure optimization based on HEAVYWEIGHTness (r=jorendorff). 2009-05-28 17:08:06 -07:00
Jason Orendorff
74a5f6c8f5 Bug 495166 - static-analysis error in jsparse.cpp JSCompiler::compileScript: return without going through label out. r=brendan. 2009-05-28 10:08:57 -05:00
Brendan Eich
f136df48d6 Bug 494954 - JS_GetScriptLineExtent() does not returns the right value (r=mrbkap). 2009-05-27 18:53:22 -07:00
Jason Orendorff
83d855cfa1 Followup to changeset f9ad6d736430 (for bug 493232): fix a stale comment. r=brendan in IRC. 2009-05-27 17:48:39 -05:00
Jason Orendorff
70dbad9c94 Bug 493232 - Wrong variable value accessed in closure. r=brendan. 2009-05-27 15:46:03 -05:00
Andreas Gal
92ec85914f Build optimized JS shell with -O3 when using gcc (494994, r=sayrer). 2009-05-26 18:53:42 -07:00
Andreas Gal
bd43ddb1c8 Bad assert in NEXTITER exception handling (494975, r=brendan). 2009-05-26 16:39:43 -07:00
Brendan Eich
0139c85e82 Fix typo (494956, r=self, thanks to <soubok@gmail.com> for bug report). 2009-05-26 15:36:32 -07:00
Julian Seward
a61d112402 Bug 494157 - nanojit debug output uses inconsistent output channels. r=jorendorff. 2009-05-26 13:14:41 -05:00
Robert Sayre
d3c4368da3 Merge mozilla-central to tracemonkey. 2009-05-24 12:31:56 -04:00
Brendan Eich
52745d8646 Bug 494544 - Uninitialized variable undefined after assignment whose initializer is a closure capturing that var (r=mrbkap). 2009-05-23 11:01:11 -07:00
Andreas Gal
3f8dfa9e52 LIR_alloc doesn't get emitted correctly for stack args on ARM (494510, r=vlad). 2009-05-22 16:44:18 -07:00
Graydon Hoare
e4863bdb1c Bug 494084 - TM: Lower maximum LIR skip size further, r=gal. 2009-05-21 18:44:37 -07:00
Jason Orendorff
bb1a005103 Bug 493260 - js1_5/Regress/regress-344959.js - with and eval do not inhibit the flat closure optimization. r=brendan. 2009-05-21 13:00:53 -05:00
Brendan Eich
38ffcf4dc8 Bug 462704 - [jsd] incorrect lineExtent when a while loop ends a method (r=mrbkap). 2009-05-20 23:35:42 -07:00
David Mandelin
9af4ca2612 Bug 493512: correcting native stack navigation arithmetic, r=gal 2009-05-20 18:57:42 -07:00
Andreas Gal
548cbfeef5 Setting scopeChain to NULL in SynthesizeFrame breaks GetCallObject (494045, r=brendan). 2009-05-20 17:05:38 -07:00
Blake Kaplan
3ffa053fd1 Fix GCC warnings about the argument to %p not being a void *. rs=jorendorff 2009-05-20 16:30:20 -07:00
Jason Orendorff
aa37602c02 Bug 490908 - js_DumpStackFrame. r=Waldo. 2009-05-20 10:10:03 -05:00
Robert Sayre
c2fc830423 Merge tracemonkey to mozilla-central. 2009-05-22 21:21:16 -04:00
Johnny Stenback
f635245925 Re-landing backed out part of bug 483672 for parity with 1.9.1 2009-05-22 15:59:33 -07:00
Peter Van der Beken
faf20b2693 Fix for bug 494445. r/sr=mrbkap.
--HG--
extra : rebase_source : 33e2bfe1c564abf2cad000ee62fb2d0520976585
2009-05-22 22:19:25 +02:00
Jim Blandy
55b3b4bc1f Bug 492594: Add new js/src/ref-config makefile for HP-UXB.11.31. NPOB.
This makefile is only used when SpiderMonkey is built using
js/src/Makefile.ref, the standalone SM-only build system --- which is
deprecated; see bug 462542.  These files are never used by the Mozilla
build system.
2009-05-22 11:57:37 -07:00
Johnny Stenback
e58e630925 Backing out part of bug 483672 to see if this part is what caused the performance regression. 2009-05-21 20:27:30 -07:00
Benjamin Smedberg
3ebd0ea437 Bug 494172 - Static libs such as libxpcomglue_s are not shipped in the XUL SDK: revert the parts of bug 488175 which were too eager: we still use dist/sdk/lib and dist/sdk/bin, just not dist/sdk/include or dist/sdk/idl, r=ted 2009-05-21 14:12:46 -04:00
L. David Baron
3dd611372e Backed out changeset 1abeb6c87131 (Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs)) due to mochitest failures and leaks. 2009-05-21 06:54:41 -04:00
Blake Kaplan
83e011d635 Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts. 2009-05-21 01:17:51 -07:00
Vladimir Vukicevic
0d46b33593 b=494095; use -O3 for Mac builds; r=sayrer 2009-05-20 22:18:39 -07:00
Robert Sayre
594a0260f6 Merge. 2009-05-21 00:09:41 -04:00
Robert Sayre
40aa62fac2 Merge tracemonkey to mozilla-central. 2009-05-20 12:21:34 -04:00
Peter Van der Beken
e9612afa0d Fix quickstubs dependency problem, .h doesn't depend on any headers so don't add it to .dep and make .cpp depend on the interface files instead. rs=ted. 2009-05-20 14:07:20 +02:00
Andreas Gal
91dfa19e20 Wrong callee is restored when side-exiting from a trace (493657, r=brendan,mrbkap). 2009-05-20 03:54:55 -07:00
Olli Pettay
fd7e16f279 Bug 493366 - Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread, at mozilla/js/src/jsapi.cpp:5196, r+sr=mrbkap 2009-05-20 12:30:57 +03:00
Igor Bukanov
fb2b92c352 bug 493720 - using the proper assert to assert the the GC is not running. r=mrbkap 2009-05-20 10:23:56 +02:00
Graydon Hoare
daefd27739 Bug 493821 - NJ: Minimal fix to sign-extension in imm64, r=gal. 2009-05-19 22:01:24 -07:00
Graydon Hoare
606ab3ebdf Backout alignment-breaking patches for Bug 493821. 2009-05-19 20:26:31 -07:00
Brendan Eich
5c7f7e02b8 Bug 493760: the real fix for problem left in wake of patch for bug 493466 (r=mrbkap). 2009-05-19 18:40:55 -07:00
Graydon Hoare
4298aed9d3 Bug 493821 - Followup to ARM and SPARC native backends, to handle renaming, r=gal. 2009-05-19 18:42:11 -07:00
Andreas Gal
41689550b8 Bug 493821 - NJ: Fix sign-extension in imm64, r=graydon. 2009-05-19 18:27:01 -07:00
Andreas Gal
0daad677d9 Merge. 2009-05-19 18:05:46 -07:00
Andreas Gal
8ccac72ba5 Backed out changeset 8f6c242a75ff (backing out bug 493657 again). 2009-05-19 18:05:36 -07:00
Andreas Gal
30b97b28ae Merge. 2009-05-19 16:40:57 -07:00
Andreas Gal
f7137f3f27 Backed out changeset c4cea7365f4e (re-landing 493657). 2009-05-19 16:40:46 -07:00
Brendan Eich
72c8adabdb Back out patch for 493760, chrome mochitests failed. 2009-05-19 16:34:40 -07:00
Andreas Gal
78e26f90f4 Merge. 2009-05-19 14:25:47 -07:00
Andreas Gal
96f14fc4f3 Backed out changeset cec8ee353407 (bug 493657). 2009-05-19 14:25:33 -07:00
Brendan Eich
3a1c6a960c Bug 492904 - TM: Crash [@ TraceRecorder::test_property_cache] (r=gal). 2009-05-19 12:57:32 -07:00
Andreas Gal
3b5983363f Wrong callee is restored when side-exiting from a trace (493657, r=brendan). 2009-05-19 12:47:47 -07:00
Brendan Eich
41f161471d Bug 493760: fix bad typo in patch for bug 493466 (superluminal r=mrbkap). 2009-05-19 12:11:09 -07:00
Brendan Eich
d552a194d4 Bug 493466 - TM: youtube.com customization broken (r=mrbkap). 2009-05-18 18:02:51 -07:00
Robert Sayre
9a29e2628b Merge. 2009-05-18 20:14:14 -04:00
Robert Sayre
d6c962680a Bug 493586. JSON.parse replacer function doesn't elide object values correctly. r=brendan 2009-05-18 20:12:51 -04:00
Brendan Eich
2bca77fbad Back out patch for 493760, chrome mochitests failed. 2009-05-19 16:22:21 -07:00
Brendan Eich
3ab3040ff6 Bug 492904 - TM: Crash [@ TraceRecorder::test_property_cache] (r=gal). 2009-05-19 12:59:08 -07:00
Brendan Eich
04f22fb906 Bug 493760: fix bad typo in patch for bug 493466 (superluminal r=mrbkap). 2009-05-19 12:13:48 -07:00
Ben Turner
ba0f386cbd Bug 490718 - 'XPCWrappedNativeScope creates a needless cycle with its principal provider.' r=peterv, sr=jst. 2009-05-19 10:56:01 -07:00
Neil Rashbrook
c729ec8853 gmake 3.80 bustage fix for bug 488175 r=bsmedberg 2009-05-19 16:08:15 +01:00
Andreas Gal
0d2b989430 Update JSSLOT_ARRAY_COUNT when emitting array constructor code on trace (493255, r=jorendorff). 2009-05-18 15:56:11 -07:00
Robert Sayre
3aa2950f5a Merge mozilla-central to tracemonkey. 2009-05-18 13:18:48 -04:00
Robert Sayre
80463b40a5 Backout last cset. Bug 487607 is not ready yet. 2009-05-18 12:36:02 -04:00
Jacob Bramely
fe2103fafc Bug 487607 - TraceMonkey: The ARM-specific Assembler::BL method is never called. r=vlad 2009-05-18 12:23:18 -04:00
timeless@mozdev.org
b2e7596a82 Bug 491194 - fixing miscellaneous warnings. r=biesi 2009-05-18 12:43:55 +02:00
Nicholas Nethercote
c0f23c4e08 Bug 492491 - nanojit: convert some error() tests to asserts. r=edwsmith 2009-05-18 02:27:12 -04:00
Nicholas Nethercote
a03f3e7b1a Bug 492490 - nanojit: move Assembler::findVictim() from RegAlloc.cpp to Assembler.cpp 2009-05-18 02:20:59 -04:00
Nicholas Nethercote
90746fda0d Bug 490947 - nanojit: remove reservation table. r=gal,edwsmith 2009-05-18 02:15:24 -04:00
Nicholas Nethercote
6c4c7621f3 Bug 492488 - nanojit: improve handling of 64-bit constants. r=graydon 2009-05-18 01:56:25 -04:00
Nicholas Nethercote
1a33faa263 Bug 492301 - nanojit: remove some dead code. r=edwsmith 2009-05-18 01:45:46 -04:00
Nicholas Nethercote
9581ac0331 Bug 492292 - nanojit: remove duplicated LIns predicates. r=edwsmith 2009-05-18 01:38:00 -04:00
Jacob Bramley
7992b7231d Bug 490838 - TraceMonkey: Improve epilogue efficiency for ARM. r=vlad 2009-05-18 01:32:10 -04:00
Vladimir Vukicevic
f4c9d8c915 b=490296; small fixup to asm_ldr_chk -- we can do PC-relative loads as long as the offset fits in U12; r=me 2009-05-17 12:20:09 -07:00
Jacob Bramley
130a761607 b=490296; [arm] tidy misc insn generation macros; r=vlad 2009-05-17 12:11:53 -07:00
Jacob Bramley
65538201e1 b=490296; [arm] tidy ::asm_ld_imm; r=vlad 2009-05-17 12:03:33 -07:00
Andreas Gal
2ae0b58d74 Compilation fix. 2009-05-15 22:04:02 -07:00
Robert Sayre
512b464e09 Merge m-c to tracemonkey. 2009-05-16 00:42:42 -04:00
Andreas Gal
40284299a7 Fix compiler warning (493345, r=brendan). 2009-05-15 21:01:22 -07:00
Brendan Eich
75497c861c Bug 493177 - Browser crashes in loading of certain page.[@ js_Interpret] (r=mrbkap; take 2). 2009-05-15 17:38:38 -07:00
Brendan Eich
9fcdf01e99 Back out last cset. 2009-05-15 17:32:02 -07:00
Brendan Eich
4c1b058a32 Bug 493177 - Browser crashes in loading of certain page.[@ js_Interpret] (r=mrbkap). 2009-05-15 17:13:34 -07:00
Simon Fraser
9a33168aa0 Bug 74803 - Should make global data const where possible; xpconnect; r=brendan 2009-05-16 01:14:17 +02:00
Robert Sayre
d0018d9fcd Merge tracemonkey to mozilla-central. 2009-05-15 19:09:54 -04:00
Blake Kaplan
9026da602e Bug 493315 - Random cleanup in jsdbgapi.cpp. r=sayrer 2009-05-15 15:59:00 -07:00
Blake Kaplan
774d6933f4 Bug 492912 - Clean up the way that TraceRecorder::elem interacts with the rest of the world. r=gal 2009-05-15 15:41:41 -07:00
Brendan Eich
51dd82a552 Bug 489034 - let declaration getting lost in certain situations (r=mrbkap). 2009-05-15 15:32:57 -07:00
Graydon Hoare
a250100e3c Comment typo fix in tracemonkey. 2009-05-15 19:31:31 -07:00
Jason Orendorff
5504115d71 Bug 491646 - Expose js_StrictlyEqual() to consumers. r=mrbkap.
--HG--
extra : rebase_source : 620a67bca11c2e04692d3f72df8739028d0dbd21
2009-05-15 14:51:02 -05:00
Jacob Bramley
297550a6e9 Bug 490296. Tidy ::asm_fop (v2). r=vlad. 2009-05-15 14:50:53 -04:00
Jacob Bramley
8533fc53a7 Bug 490296. Tidy ::asm_ldr_chk (v2). r=vlad. 2009-05-15 14:50:00 -04:00
Jacob Bramley
8b3e87f22c Bug 490296. Tidy ::asm_prep_fcall. r=vlad. 2009-05-15 14:49:10 -04:00
Jacob Bramley
03cebed3e5 Bug 490296. Tidy ::LD32_nochk. r=vlad. 2009-05-15 14:45:42 -04:00
Jacob Bramley
e2556dd40e Bug 490296. Tidy ::asm_quad. r=vlad. 2009-05-15 14:44:39 -04:00
Jacob Bramley
acbae2432b Tidy ::asm_load64. r=vlad. 2009-05-15 14:36:58 -04:00
Jacob Bramley
c2e202b6a4 Tidy ::asm_restore. r=vlad. 2009-05-15 14:35:47 -04:00
Robert Sayre
1b25449f6a Merge. 2009-05-15 12:41:33 -04:00
Peter Van der Beken
e07ba2eafd Merge backout. 2009-05-15 16:39:20 +02:00
Benjamin Smedberg
8d53d7a7ea Bug 492113 - statically assert that we're not on trace in js_SetPropertyHelper, r=igor 2009-05-15 09:37:37 -04:00
Peter Van der Beken
a45851d286 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Peter Van der Beken
7751c0b754 Backed out changeset 3e3d2d8cc70f (bug 492483 - fixing !JS_THREADSAFE build failure.) to try to fix Tshutdown regression. 2009-05-15 14:35:14 +02:00
Igor Bukanov
0374ee3760 bug 490364 - mutating parent chain shapes only for Call objects and only when adding properties that are not parameter or var names. r=brendan 2009-05-15 11:43:19 +02:00
Graydon Hoare
c142716352 Bug 492673 - TM: Fix memory pressure measurement, r=brendan. 2009-05-14 20:12:40 -07:00
Igor Bukanov
f992869ce1 bug 492483 - fixing !JS_THREADSAFE build failure. r=mrbkap. 2009-05-14 18:39:44 +02:00
Jason Orendorff
cd986613f8 Bug 492714 - "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp" with genexp. r=brendan 2009-05-13 19:02:33 -05:00
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
Brendan Eich
6ffa7ccf08 Bug 492914 - TM: trace aborts due to flat closure analysis bug (r=mrbkap). 2009-05-13 23:01:08 -07:00
Andreas Gal
59972f7948 Only the global object has to be wrapped on trace, which we can do statically and abort on With objects used as 'this' (492028, r=mrbkap). 2009-05-13 21:57:35 -07:00
Brendan Eich
0416e1e679 Bug 492355 - Suspected Txul regression from JS engine changes (r=igor). 2009-05-13 17:11:23 -07:00
Andreas Gal
f054fa9b09 Use js_TrashTree when purging global scripts (492496, r=graydon). 2009-05-13 13:54:55 -07:00
Igor Bukanov
6c6cde911a bug 490364 - fixing bad typo in js_SetProtoOrParent. r=mrbkap 2009-05-13 15:05:28 +02:00
Robert Sayre
7d058a4a0f merge tracemonkey to mozilla-central. 2009-05-14 03:44:11 -04:00
Olli Pettay
a26f88717b Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Ginn Chen
ac039c2c65 Bug 492705 Rename jsdtracef.c to jsdtracef.cpp r=sayrer
--HG--
rename : js/src/jsdtracef.c => js/src/jsdtracef.cpp
2009-05-14 14:38:17 +08:00
Robert Sayre
faa4d10c30 Merge tracemonkey to mozilla-central. 2009-05-13 23:37:16 -04:00
Blake Kaplan
3bab9bf56c Bug 483672 - Give regular JS objects that have been reflected into C++ a security policy that follows the same-origin model. Also teach caps about "same origin" for these cases. r=jst sr=bzbarsky 2009-05-13 15:01:01 -07:00
Andreas Gal
2a013fab76 Clear temporary rooting area after native calls on trace (492693, r=jwalden). 2009-05-12 20:55:50 -07:00
Andreas Gal
4bc0d137f5 Don't try to compile more code once we are in a needFlush state (492664, r=dmandelin). 2009-05-12 20:53:43 -07:00
Andreas Gal
42d921d7fe Backed out changeset c8a74fe0f9af (bug 492664). 2009-05-12 16:44:14 -07:00
Andreas Gal
fd13172747 Don't try to compile more code once we are in a needFlush state (492664, r=dmandelin). 2009-05-12 16:42:21 -07:00
David Mandelin
4e118ecf45 Bug 492610: correctly determine when an upvar is part of the trace, r=brendan 2009-05-12 16:25:57 -07:00
Jeff Walden
24ec69f5cf Bug 492599 - Recording of JSOP_NEWARRAY doesn't update JSSLOT_ARRAY_COUNT properly. r=jorendorff 2009-05-12 14:31:44 -07:00
Jacob Bramley
1631cdbafa Bug 490296. Tidy ::asm_nongp_copy. r=vlad 2009-05-12 12:02:00 -04:00
Vladimir Vukicevic
49ed5fd2b6 Fix Windows CE from bug 487416 (arm architecture detection) 2009-05-12 10:06:39 +01:00
Josh Aas
109f956de0 Sync config.guess with latest from gnu "config" package. See bug for changelog. b=492623 r=ted 2009-05-12 23:47:03 -04:00
Robert Sayre
f3cf0427b7 Merge tracemonkey to mozilla-central. 2009-05-12 23:19:58 -04:00
Leon Sha<leon.sha@sun.com>
0c71462fb6 Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal. remove dead codes 2009-05-12 11:43:57 +08:00
Leon Sha<leon.sha@sun.com>
2e31f66b15 Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal. 2009-05-12 10:41:25 +08:00
David Mandelin
be8b0cb323 Bug 458838: updating test case to pass when we successfully trace out-of-reach upvars 2009-05-11 18:58:10 -07:00
David Mandelin
6228b80017 Fix warning for extra args to a debug printf 2009-05-11 18:44:49 -07:00
David Mandelin
112ce8b24b Bug 458838: enable tracing of upvar accesses that go outside the current trace to interpreter state, r=gal 2009-05-11 18:05:44 -07:00
Andreas Gal
4778325174 Ensure that cx->interpState is always accurate by maintaing a stack (490776, r=jorendorff). 2009-05-11 17:25:38 -07:00
David Mandelin
d6c2eeddf4 Bug 491620: make traces specialized for argc, r=gal 2009-05-11 15:57:28 -07:00
Jeff Walden
6beac46a8b Likely gmail bustage fix 2009-05-11 15:41:00 -07:00
Jeff Walden
8e5456999b Bug 486326 - Specialize array methods which modify large numbers of array elements to work efficiently on dense arrays, avoiding highly generalized get/set/delete methods and the floating-point-to-integer conversions needed solely to handle large array indexes but which are rarely necessary in practice. r=shaver 2009-05-11 14:57:18 -07:00
Andreas Gal
806e556ee1 Make sure stack frame is flagged as constructor frame when falling off trace in a slow native constructor (491965, r=graydon). 2009-05-11 14:40:42 -07:00
Andreas Gal
89e9d61d35 Fast-path for string constructors only works for new/call with a single argument (491989, r=dmandelin). 2009-05-11 14:03:29 -07:00
Andreas Gal
5f2681ef36 Bug 489836 - TM: chiptune causes Assertion failure: \!ti->typeMap.matches(ti_other->typeMap) 2009-05-11 12:20:41 -04:00
Jacob Bramley
c942893875 Bug 483962 - Remove ARM-specific code from jstracer.cpp. r=vlad 2009-05-11 12:16:01 -04:00
Brendan Eich
c244179e84 Bug 492150 - Unexpected error occurred when japascript.options.strict is true (r=mrbkap). 2009-05-10 12:52:03 -07:00
Jacob Bramley
d7dc2e67bf Bug 487416 - TraceMonkey: Improve run-time detection of ARM processor features. r=vlad 2009-05-09 16:14:38 -04:00
Jacob Bramley
7dd0b8fd55 Bug 486669 - TraceMonkey: The ARM-specific _nSlot pointer should be reset along with _nIns. r=vlad,edwsmith 2009-05-09 15:35:56 -04:00
Jacob Bramley
150373e22b Bug 486096 - TraceMonkey: ARM BKPT instructions are not properly encoded. r=vlad 2009-05-09 15:32:29 -04:00
Nicholas Nethercote
9df38f0476 Bug 488775 - TM: widen LIR instructions. r=graydon,edwsmith 2009-05-09 14:38:34 -04:00
Robert Sayre
ae309b6a1d Merge mozilla central to tracemonkey. 2009-05-09 12:45:33 -04:00
Brendan Eich
0391b49734 Bug 490191 - "Assertion failure: slot < fp->script->nslots, at ../jsinterp.cpp" with defineGetter, eval (r=mrbkap). 2009-05-08 16:20:46 -07:00
Graydon Hoare
3330967d8a Bug 492124 - TM: unit tests should gc() before each, to purge JIT state, r=brendan. 2009-05-08 17:02:37 -07:00
Brendan Eich
86967b457a Bug 452189 - regression (from firefox 2): prototype setters not called by inline cache for [[put]] (r=mrbkap). 2009-05-08 14:04:10 -07:00
Brendan Eich
3e23fdaa48 Bug 490818 - Packed JS that works in Firefox 3.0 and all other browsers fails in Firefox 3.5 (r=mrbkap). 2009-05-08 14:00:56 -07:00
Benjamin Smedberg
ffb8f2e94e Bug 492040 - js_Execute must bail off trace, r=jorendorff a=josh for CLOSED TREE checkin 2009-05-08 16:32:35 -04:00
Benjamin Smedberg
154f21ccdd Bug 492040 - js_Execute must bail off trace, r=jorendorff a=josh for CLOSED TREE checkin 2009-05-08 16:32:35 -04:00
Jeff Walden
55db400c70 Bug 482266 - E4X and imacros don't mix. r=graydon 2009-05-08 13:48:05 -07:00
Brendan Eich
9eb1ab4a95 Bug 471703 - Don't optimize group assignment given holey RHS (r=igor). 2009-05-07 21:50:32 -07:00
Brendan Eich
6106136652 Bug 471703 - Don't optimize group assignment given holey RHS (r=igor). 2009-05-07 21:49:53 -07:00