Commit Graph

5992 Commits

Author SHA1 Message Date
Blake Kaplan
dda0e2bd98 Bug 497119 - Don't assume that we have a cx->fp (or that fp is on cx->fp at all). Set up display as it would have been when fp was active, though. r=brendan 2009-06-11 14:12:23 -07:00
Jeff Walden
8b7bef6dd0 Bug 497207 - Define |enum JSTraceType| and stop overloading JSVAL_* for trace-time types. r=jorendorff
--HG--
extra : rebase_source : bb72ca3ad8fab4d0b2affca611630bf5a9559531
2009-06-10 16:58:02 -07:00
Andreas Gal
a0182c819c Correctly disable conditional moves on platforms that do not support them (497455, r=graydon). 2009-06-10 15:21:10 -07:00
Brendan Eich
324ed984a8 Cast to int16 when tagging slot as an int jsval to satisfy an assertion (497146, r=igor from the future). 2009-06-10 12:15:01 -07:00
David Mandelin
3b5dd194d2 Bug 497015: correctly account for tracing/interpreter differences in layout of slots/stack for upvars in top-level frame, r=gal 2009-06-09 17:18:42 -07:00
David Mandelin
3db63853e3 Bug 496922: do upvars correctly when the function defining the upvar was called with extra args, r=brendan,gal 2009-06-09 11:49:53 -07:00
Brendan Eich
51fe52e6f9 Wrapper automation should not apply to flat closures, plus cleanup (496790, r=igor). 2009-06-09 00:51:02 -07:00
Blake Kaplan
ce23324f11 Bug 496870 - Emit JSOP_STARTXMLEXPR before potentially emitting any LC nodes in a list. r=Waldo 2009-06-08 16:48:30 -07:00
ikezoe@clear-code.com
2e4dab02a1 LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith). 2009-06-08 15:04:19 -07:00
Benjamin Smedberg
040c645b55 Followup to bug 496824 - reverse the order of the asserts so that we know accessing cx->fp is safe 2009-06-08 17:07:26 -04:00
Brendan Eich
ad476aa98c Add static analysis incantation, plus assert cx->fp for sanity (496824, r=mrbkap). 2009-06-08 13:35:43 -07:00
David Anderson
7b60d9f172 Fixed sideexit coalescing code not checking global count (bug 496813, r=gal). 2009-06-08 13:20:25 -07:00
Brendan Eich
a08c609235 Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap; take 2). 2009-06-08 13:03:50 -07:00
Blake Kaplan
d7a368c426 Bug 496245 - Assertion failure: fun->u.i.script->upvarsOffset. r=brendan/dmandelin 2009-06-08 12:13:37 -07:00
David Mandelin
344e868872 Bug 496251: use up-to-date typemap when getting upvar from trace entry native frame, r=gal 2009-06-08 10:48:18 -07:00
Brendan Eich
046d89233e Fix delete upvar (and local var, too) analysis (496422, r=igor). 2009-06-07 13:07:16 -07:00
danderson@mozilla.com
d73e0f0bbf Merge global type maps at the loop nesting anchor site (496743, r=gal). 2009-06-06 14:04:23 -07:00
Nicholas Nethercote
96dd8702a9 Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith 2009-06-06 12:58:11 -04:00
Robert Sayre
f44a576277 Back out bug 496134, destructuring assignment upvar fixes due to reported fuzzer problems 2009-06-06 02:20:06 -04:00
David Mandelin
1e04a40929 Bug 496270: correct use of C++ reference returned from function, r=gal 2009-06-05 16:19:06 -07:00
Brendan Eich
05f8dc2692 Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap). 2009-06-05 16:14:00 -07:00
Brendan Eich
b95d489795 Skip let binding not in scope (in let head, e.g.) and find any shadowed binding (496532, r=mrbkap). 2009-06-05 13:55:51 -07:00
Brendan Eich
d39f51fdcb Last gasp for 496605 (r=igor). 2009-06-05 12:24:20 -07:00
Brendan Eich
4d75d6bce0 Fast ultimate fighting web-compat followup for 496605 (r=mrbkap). 2009-06-05 12:13:22 -07:00
Brendan Eich
a356c92db2 Bug 496605 - Need to prevent optimized closure escape via foo.caller still (r=igor). 2009-06-05 11:41:32 -07:00
Andreas Gal
52fad9c62a Censor block objects in addition to call objects when accessing 'this' (496507, r=mrbkap). 2009-06-04 23:25:20 -07:00
Andreas Gal
9ad02efbdf Censor call object and substitute it with global object in getThis (496325, r=mrbkap). 2009-06-04 21:04:32 -07:00
Andreas Gal
7b098dc9e7 When merging type maps in a side exit, use the inner tree's globals (495958, r=dvander). 2009-06-04 20:42:56 -07:00
Robert Sayre
3821d57bc6 Merge. 2009-06-04 23:16:04 -04:00
Robert Sayre
e3e6558191 Merge m-c to tracemonkey. 2009-06-04 23:14:49 -04:00
Andreas Gal
3882ad59b6 Merge. 2009-06-04 20:12:44 -07:00
Andreas Gal
7d8559c586 Backed out changeset 2ad658e9f42a (bug 495958, re-opened). 2009-06-04 20:12:31 -07:00
Andreas Gal
6d7d5ebee0 Merge. 2009-06-04 20:11:07 -07:00
Andreas Gal
27fd01b67d Backed out changeset 17664f5cab40 (bug 496482, also backing out the bug that introduced this bug). 2009-06-04 20:10:55 -07:00
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
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
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
romaxa
b659d4cf02 Bug 487782. Add hildon-mime.h to system headers list. r=sdwilsh 2009-07-04 21:59:05 +12:00
Blake Kaplan
6307e86103 Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst 2009-07-02 17:00:21 -07:00
Blake Kaplan
9b28e7922b Bug 501577 - Add a missing call to Release in nsXPCWrappedJS::GetNewOrUsed. Also remove a hack needed to get around the missing release. r+sr=peterv 2009-07-02 17:00:20 -07:00
Blake Kaplan
3f48024026 Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky 2009-07-01 16:43:50 -07:00
Blake Kaplan
434bedc0de Bug 496441 - Random cleanup: only calculate the callee once. r+sr=jst 2009-07-01 12:12:04 -07:00
Blake Kaplan
2f5c19b4ba Bug 496441 - Some random cleanup: remove an unnecessary macro. r+sr=jst 2009-07-01 12:12:04 -07:00
Blake Kaplan
8cddc0e049 Bug 498000 - Throw a better error when toString is called cross-origin on an XPCNativeWrapper from an unprivileged context. r+sr=bzbarsky 2009-07-01 12:12:04 -07:00
Blake Kaplan
e70a8f1ac4 Merge backout. 2009-06-30 16:22:43 -07:00
Blake Kaplan
aac9f0431d Backed out changeset 291552e67a3b due to leaks. 2009-06-30 16:22:20 -07:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Blake Kaplan
920e1cabfe Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst
--HG--
extra : rebase_source : 5f73d1e92b912cf88c8a45a3ccd53de35c7b1e3d
2009-06-30 13:49:46 -07:00
Robert Sayre
5248dd661e Merge tracemonkey to mozilla-central. 2009-06-30 12:19:07 -07:00
Benjamin Smedberg
62e1988110 Add headers to system-headers which we're using in electrolysis (trivial change)
--HG--
extra : rebase_source : b057f7d6cdb6c5eb737b229ccc7ac7a812c24648
2009-06-29 15:41:40 -04:00
Jason Duell
b92a22ef0f Bug 483689. Add fflush to print() and dump() in xpcshell, and do some cleanup. r=mrbkap
--HG--
extra : rebase_source : 4ad9ed9ddada4d6b6705c1f8a4a84c39213bf2f8
2009-06-29 11:01:42 +12:00
Olli Pettay
b0eab11c98 Bug 497780 - onmouseout's MouseEvent.relatedTarget is a chrome element and is completely inaccessible, r=mrbkap@gmail.com, sr=bz 2009-06-28 22:46:52 +03:00
Dão Gottwald
71d33aa9f3 Backed out changeset 4ceba37b3b22 2009-06-28 12:52:22 +02: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
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
Brendan Eich
0eb877e672 Bug 491806 - "Assertion failure: (uintN)i < ss->top, at ../jsopcode.cpp" with uneval, for, yield (r=mrbkap). 2009-05-07 21:32:58 -07:00
Brendan Eich
e05a9f255d Bug 491806 - "Assertion failure: (uintN)i < ss->top, at ../jsopcode.cpp" with uneval, for, yield (r=mrbkap). 2009-05-07 21:31:42 -07:00
Robert Sayre
2c3a8f145c Merge tracemonkey to mozilla-central. 2009-05-07 19:22:53 -07:00
Robert Sayre
e381e4649f Fix up whitespace. CLOSED TREE 2009-05-07 17:22:33 -07:00
Graydon Hoare
afda8de41a Bug 491929 - TM: Oracle bit vector allocation not thread-safe, r=gal. 2009-05-07 17:29:26 -07:00
Graydon Hoare
2a50d488f5 Bug 489615 - TM: Store recording attempts in a long-lived hashtable rather than fragments, r=brendan. 2009-05-07 15:49:44 -07:00
Robert Sayre
8b3982769a Bug 442059 - [native JSON] allow to blacklist keys by name when encoding to JSON. r=brendan 2009-05-07 13:28:21 -07:00
danderson@mozilla.com
e5e1dcffb4 Partial typemap in loop exit can lead to maltyped nested trees (489682, r=gal). 2009-05-07 12:16:12 -07:00
Peter Van der Beken
98633d5f16 Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Igor Bukanov
70247e8f5b bug 492483 - fixing !JS_THREADSAFE build failure. r=mrbkap. 2009-05-14 18:39:44 +02:00
Peter Van der Beken
e267b828d9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Robert Sayre
3c9325480e Merge tracemonkey to mozilla-central. 2009-05-16 13:04:50 -04:00
Peter Van der Beken
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Honza Bambas
b1ee7471c1 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Peter Van der Beken
b865be6ac9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Vladimir Vukicevic
cefc7025fc bug 487416; JS Windows CE bustage fix 2009-05-10 15:49:24 -07:00
Robert Sayre
7cce9201aa Merge. 2009-05-19 04:14:51 -04:00
Blake Kaplan
0163278d15 Bug 491219 - Make SOWs wrap more deeply. r+sr=jst 2009-05-18 16:52:12 -07:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Jim Blandy
d4637280de Bug 485141: Build fixes for Symbian in js/src patch=harry.li r=jimb 2009-05-18 11:07:39 -07:00
Robert Sayre
dad9597989 Merge mozilla-central to tracemonkey 2009-05-06 20:49:50 -07:00
Graydon Hoare
ed4b20f51c Bug 491514 - Followup, change from sizeof(LIns*) to sizeof(LIns), r=gal. 2009-05-06 17:41:52 -07:00
Andreas Gal
79f3ebed61 We don't constant fold math on doubles and ints (465286, r=edwsmith). 2009-05-06 16:48:41 -07:00
Igor Bukanov
3597961095 bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-06 20:33:10 -02:30
Graydon Hoare
cb7f2307ba Bug 491514 - Lower skip limit in tracer, r=gal. 2009-05-06 15:19:50 -07:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Robert Sayre
89a3a2d114 Merge mozilla-central to tracemonkey. 2009-05-06 11:16:59 -07:00
Blake Kaplan
1b02d35dc1 Bug 491617 - Expose this as a friendly API. r=gal 2009-05-05 18:09:24 -07:00
Andreas Gal
736876c48b Follow-up fix for 479888. 2009-05-05 17:49:29 -07:00
nnethercote@mozilla.com
1f7e5c0ef5 kill builtins.tbl (479888, r=jorendorff). 2009-05-05 17:36:26 -07:00
Andreas Gal
8d50d1bf9f Fix burning static analysis tinderbox (no bug). 2009-05-05 14:51:35 -07:00
jorendorff
93c6d226d3 Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -07:00
Jim Blandy
5d00dc901f Bug 488018: Avoid 'may be used uninitialized' error. (no r) 2009-05-04 16:46:15 -07:00
Andreas Gal
fe1ed6adb9 Backed out changeset 6534f8b9aa74 (bug 491013, assert on startup). 2009-05-04 15:07:53 -07:00
Igor Bukanov
d77b8664fb bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-03 20:43:55 -04:00
Igor Bukanov
227ef1efd3 bug 491115 - asserting in js_SetProtoOrParent only when not detecting cycles. r=brendan 2009-05-02 20:49:45 +02:00
Brendan Eich
24a0ac90ef ug 490741 - Crash [@ js_GetUpvar] on datepick (r=mrbkap). 2009-05-01 18:55:26 -07:00
Igor Bukanov
35116060a2 bug 489501 - consolidating
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Blake Kaplan
2bd59c5615 Bug 491017 - Allow easy building of Narcissus through the autoconf build system. r=jimb 2009-05-01 10:47:08 -07:00
Igor Bukanov
40475ad940 bug - 488607
- fixing test_property_cache asserts. r=brendan
2009-05-01 07:10:25 -07:00
Jim Blandy
d9e9626654 Bug 488018: Fix bustage: any function using TRACE_2 needs an 'error' label. 2009-04-30 17:54:20 -07:00
Jim Blandy
56af1e088d Bug 488018: Propagate errors from tracer to interpreter. r=igor
Rename JSMonitorRecordingStatus to JSRecordingStatus.  The JSMRS_
prefix becomes JSRS_, accordingly.

Make 'record_' functions return JSRecordingStatus, not bool.  'false'
becomes 'JSRS_STOP'; 'true' becomes 'JSRS_CONTINUE'.  Since subsequent
patches will begin to use more than two values (the next assigns
meaning to JSRS_IMACRO), take care to propagate values to callers
accurately.

Define a new recording status, JSRS_ERROR.  Return it from recording
functions when appropriate.  Check for it at appropriate bottlenecks
in tracer and interpreter.

ABORT_TRACE becomes one of:
. ABORT_TRACE, for when we're simply aborting the recording process
. ABORT_TRACE_ERROR, for aborting due to an error
. ABORT_TRACE_CV, for producing an error message and returning something
  other than JSRS_STOP --- some contexts require boolean values.

Conditionally provide an alternative definition for the
JSRecordingStatus type that cannot be converted to 'bool', so that we
can use the C++ compiler to catch improperly converted code.

Use recording function return value for imacro invocation.  Eliminate
the JSFRAME_IMACRO_START frame flag.  Instead, return JSRS_IMACRO
directly from recording functions.
2009-04-30 17:30:46 -07:00
Andreas Gal
cafa156d52 We don't cache access to shared properties in the property cache (490666, r=igor,brendan). 2009-04-30 15:52:13 -07:00
Brendan Eich
e9db6fcb64 Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap). 2009-04-29 16:46:43 -07:00
Robert Sayre
75bb19d6c8 Merge tracemonkey to mozilla-central. 2009-05-14 21:37:49 -04:00
Igor Bukanov
b8405f1171 bug 487846 - optimizing shape prediction for set opcodes. r=brendan 2009-04-29 07:07:21 -07:00
Andreas Gal
776395aee0 Eliminate test_property_cache_direct_hit (490370, r=jorendorff). 2009-04-27 16:01:52 -07:00
Brendan Eich
040f6baa77 Bug 490339 - Unexpected ReferenceError when using "new Function()" (r=mrbkap). 2009-04-27 14:43:49 -07:00