Commit Graph

14850 Commits

Author SHA1 Message Date
arno renevier
2a67ad008c Bug 496891. Handle NSGetModule returning null. r=bzbarsky 2009-06-11 13:16:21 -04:00
Boris Zbarsky
b21221fdc8 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Brendan Eich
9159b6b3f7 Bug 492720 libgjs failed to compile with jsopcode.h of Firefox 3.5 beta 4 r=brendan 2009-06-11 14:52:06 +08:00
Andreas Gal
fb69e1940d Correctly disable conditional moves on platforms that do not support them (497455, r=graydon). 2009-06-10 15:21:10 -07:00
Brendan Eich
a92026b314 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
293dd7ac94 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
ed1bdc410d 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
18f4f502cb Wrapper automation should not apply to flat closures, plus cleanup (496790, r=igor). 2009-06-09 00:51:02 -07:00
Blake Kaplan
8880976941 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
f6c804164e LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith). 2009-06-08 15:04:19 -07:00
Benjamin Smedberg
34ef74c81f 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
b8e74e0e88 Add static analysis incantation, plus assert cx->fp for sanity (496824, r=mrbkap). 2009-06-08 13:35:43 -07:00
David Anderson
78276b0022 Fixed sideexit coalescing code not checking global count (bug 496813, r=gal). 2009-06-08 13:20:25 -07:00
Brendan Eich
8677f6b0b8 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
aa49664ee1 Bug 496245 - Assertion failure: fun->u.i.script->upvarsOffset. r=brendan/dmandelin 2009-06-08 12:13:37 -07:00
David Mandelin
76108a5d31 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
7bc62fc773 Fix delete upvar (and local var, too) analysis (496422, r=igor). 2009-06-07 13:07:16 -07:00
danderson@mozilla.com
cd083f82ce Merge global type maps at the loop nesting anchor site (496743, r=gal). 2009-06-06 14:04:23 -07:00
Nicholas Nethercote
2e703dfba9 Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith 2009-06-06 12:58:11 -04:00
Robert Sayre
b9d056f1e3 Back out bug 496134, destructuring assignment upvar fixes due to reported fuzzer problems 2009-06-06 02:20:06 -04:00
David Mandelin
e8ec5605ac Bug 496270: correct use of C++ reference returned from function, r=gal 2009-06-05 16:19:06 -07:00
Brendan Eich
389f4a26c1 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
503e7bd428 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
b78f29c528 Last gasp for 496605 (r=igor). 2009-06-05 12:24:20 -07:00
Brendan Eich
13c356d322 Fast ultimate fighting web-compat followup for 496605 (r=mrbkap). 2009-06-05 12:13:22 -07:00
Brendan Eich
3845cba8f0 Bug 496605 - Need to prevent optimized closure escape via foo.caller still (r=igor). 2009-06-05 11:41:32 -07:00
Andreas Gal
3b395d1f05 Censor block objects in addition to call objects when accessing 'this' (496507, r=mrbkap). 2009-06-04 23:25:20 -07:00
Andreas Gal
9fbda25b61 Censor call object and substitute it with global object in getThis (496325, r=mrbkap). 2009-06-04 21:04:32 -07:00
Andreas Gal
963b3d1104 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
bc58285df7 Merge. 2009-06-04 23:16:04 -04:00
Robert Sayre
e98175be6f Merge m-c to tracemonkey. 2009-06-04 23:14:49 -04:00
Andreas Gal
1199bcd4cf Merge. 2009-06-04 20:12:44 -07:00
Andreas Gal
7769ca668c Backed out changeset 2ad658e9f42a (bug 495958, re-opened). 2009-06-04 20:12:31 -07:00
Andreas Gal
9a4616e89f Merge. 2009-06-04 20:11:07 -07:00
Andreas Gal
1012dc2e87 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
3442a335eb Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap). 2009-06-04 18:58:47 -07:00
Andreas Gal
6e088c83e0 adjustCallerTypes does not aggressively undemote globals anymore (bug 496482). 2009-06-04 21:50:26 -04:00
timeless@mozdev.org
99deca10be 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
3ba45396d8 Bug 496391: trash all trees before deleting fragments in js_PurgeScriptFragments, r=graydon 2009-06-04 17:50:08 -07:00
David Mandelin
6ccab514dc Bug 496319: correctly unpack FrameInfo::argc, r=mrbkap 2009-06-04 15:19:59 -07:00
Brendan Eich
8c719ddfa0 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
e72df385e3 Merge mozilla-central to tracemonkey. 2009-06-03 23:19:45 -04:00
Blake Kaplan
e4192dd45f 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
73693dae7d 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
86fa0e0fb3 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
0907e50793 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
030e6eff11 bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap 2009-06-03 20:44:20 +02:00
David Mandelin
f84e42a660 Bug 494269: trace JSOP_LAMBDA_FC, r=brendan,gal 2009-06-03 11:19:20 -07:00
Robert Sayre
6742da9299 Merge. 2009-06-03 01:18:05 -04:00
Blake Kaplan
f131e4d920 Bug 495843 - Crash [@ js_Interpret] or Assertion failure: cg->stackDepth == stackDepth, at ../jsemit.cpp. r=brendan 2009-06-03 01:17:20 -04:00