Commit Graph

28975 Commits

Author SHA1 Message Date
Graydon Hoare
6a44d94f4f Bug 484142 - Standalone LIR assembler, r=jorendorff. 2009-06-12 11:33:08 -07:00
Andreas Gal
659a7a9b6c Implement oracle-based speculative fmod/fdiv/fmul demotion (474443, r=graydon,dvander). 2009-06-12 08:33:32 -07:00
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
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
Andreas Gal
d02c8da186 Merge. 2009-06-08 15:05:41 -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
e01f5a8eda Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04: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
Brendan Eich
377bb1eeb9 [mq]: bug496817 2009-06-07 11:27:37 -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
Boris Zbarsky
b95fee7491 Adding test for bug 443616 2009-06-06 00:27:04 -04:00
Robert Sayre
9dc67d6876 Merge tracemonkey to mozilla-central. 2009-06-05 23:48:21 -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
Robert Sayre
ae50c2dd17 Merge 2009-06-05 04:41:12 -04: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
Robert Sayre
39463dea69 Merge tracemonkey to mozilla-central. 2009-06-05 00:07:02 -04: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
Aiko
0955e8bb2e Bug 495982. Fix refcounting error that can lead to leaks. r+sr=roc 2009-06-04 23:16:58 -04: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
Kev Needham
ae516c5e6d Bug 496409. Change the en-US Yahoo! search plugin fr code. r=beltzner 2009-06-04 21:20:48 -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