Commit Graph

5988 Commits

Author SHA1 Message Date
Nicholas Nethercote
ae3ac6a734 Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith). 2009-06-22 14:48:16 +10:00
Nicholas Nethercote
a5db26a0e2 Fix assertion failure in trace-test.js with TRACEMONKEY=verbose (bug 499154, r=graydon). 2009-06-22 10:48:36 +10:00
nnethercote@mozilla.com
015cf5504c remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff). 2009-06-19 10:20:26 +01:00
Andreas Gal
887e6a5f47 Remove NativeThumb.cpp (bug 486535, hg totally sucks). 2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com
4b490c9a33 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:45:52 +01:00
Andreas Gal
ac13e56ffd Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes. 2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com
7ecc26f135 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:37:38 +01:00
Graydon Hoare
2ad590f536 Bug 497060 - Disable JIT on non-global initial scope chain, r=brendan.
--HG--
extra : rebase_source : f8052e5687bfa5fe5f9879622375c06dac647f95
2009-06-18 14:47:57 -07:00
Blake Kaplan
3cd1e79160 Bug 498993 - Don't mistake initialization for assignment when the assignment is hidden by a secon var declaration. r=brendan/jorendorff 2009-06-18 14:52:06 -07:00
Igor Bukanov
3193020246 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 15:24:06 +02:00
Igor Bukanov
e90c3cd0d5 Backed out changeset 7ab1be136cfa - that patch for bug 498899 has a bug. 2009-06-18 15:00:55 +02:00
Igor Bukanov
7d5d5e6b13 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 14:26:16 +02:00
Paritosh Aggarwal
8270114427 Bug 498926 - lirasm - Support --execute with LIR_fret. r=jorendorff. 2009-06-17 11:52:20 -05:00
Igor Bukanov
dfb15bdf9a bug 498874 - fixing GCC warnings about unsigned < 0 comparisons. r=gal 2009-06-17 13:57:03 +02:00
Jonathan Steele
822c633451 Bug 477170. Remove Windows95/98 support from configure.in. r=ted
--HG--
extra : rebase_source : cf9d5aa2347053266a63f92a27d1f23d0186a7d3
2009-06-24 21:10:47 +12:00
Andreas Gal
c175b9122e Check for end of proto chain when walking it (499169, r=mrbkap). 2009-06-23 19:22:54 -07:00
Andreas Gal
468f664495 If the result of a demoted multiplication is 0, must undemote or we lose -0 (498549, r=dvander). 2009-06-17 08:06:21 +01:00
Nicholas Nethercote
c4b939cd8f Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon 2009-06-16 14:01:31 -07:00
Graydon Hoare
8e41e3adb1 Bug 496448 - Followup to fix build, r=jorendorff.
--HG--
extra : rebase_source : b9e08e853fcd183ef88b7cfac1e70ca199feb214
2009-06-16 12:19:29 -07:00
Jason Orendorff
aae770b100 Bug 498504 - lirasm - constant jumps produce assertions. intermediates treated as labels. p=paritosh,r=me. 2009-06-16 13:05:59 -05:00
Andreas Gal
0ce2e91c33 Right hand operand must be a 32-bit signed integer if we want to demote the operation (498236, r=dvander). 2009-06-16 09:35:59 +01:00
Nicholas Nethercote
e2a97e3f4c Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan 2009-06-16 09:30:01 +01:00
David Mandelin
20478b6b72 Bug 497779: try to extend tree on inner-tree CASE_EXIT, r=gal 2009-06-16 09:10:28 +01:00
Phil Ringnalda
9c53680785 Bug 499632 - Remove run_viewer target, r=ted 2009-06-26 22:31:32 -07:00
Walter Meinl
42781281d7 Bug 494490 - make install on linux installs the system_wrappers{_js} in includedir; r=benjamin 2009-06-24 23:31:27 +02:00
Jim Blandy
38da11cf33 Bug 501760: Don't try to use mmap for JS allocation on Symbian. r=blassey 2009-07-09 14:59:54 -07:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Vladimir Vukicevic
a678e18942 b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy 2009-07-08 16:46:57 -07:00
Phil Ringnalda
a51763aea8 Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted 2009-07-07 20:24:45 -07:00
Phil Ringnalda
b6c6fef600 Bug 501586 - Remove the last vestiges of MOZ_MILESTONE_RELEASE, r=ted 2009-07-07 20:24:40 -07:00
Peter Van der Beken
876abb32f0 Fix for bug 499787 (Remove one AddRef/Release pair from GatherProtoScriptableCreateInfo). r/sr=mrbkap.
--HG--
extra : rebase_source : 2db51a8d57cf6bdb8c42e677a819e1d3687e3593
2009-06-23 12:09:13 +02:00
Olli Pettay
2e0f78e968 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Vladimir Vukicevic
b7cdc8d0ff b=403345; dtrace probes get wrong function name, filename, and line number info when native methods are involved; r=brendan 2009-06-17 13:50:03 -07:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jason Orendorff
45de8e01db Bug 498395 - "Assertion failure: !(pn->pn_dflags & flag), at ../jsparse.h". r=mrbkap, r=brendan.
--HG--
extra : rebase_source : c3d0ecfcbbbce0c7494ffd53dc240c2b69e6eb8f
2009-06-15 15:42:00 -05:00
Nicholas Nethercote
de28e96de9 NJ: fix load opcode checking, r=graydon. 2009-06-15 12:04:06 -07:00
Andreas Gal
ec254bec6f Support tracing instanceof operator (498351, r=jorendorff). 2009-06-15 16:44:30 +01:00
Andreas Gal
213c5e12a5 Remove obsolete ARM/Thumb code (no bug). 2009-06-13 20:05:28 -05:00
Brendan Eich
1bd5c5dc73 Over-parenthesize per house style and to avoid GCC warning (r=nnethercote, private communication). 2009-06-14 19:37:43 -07:00
Andreas Gal
e53b949cbf Cleanup expression filter in LIR.cpp (497935, r=edwsmith). 2009-06-13 18:04:08 -05:00
Andreas Gal
cc54d17364 Don't trace attempted setting of a constant in an active frame (495962, r=brendan). 2009-06-13 17:31:19 -05:00
Andreas Gal
848b955635 adjustCallerTypes does not aggressively undemote globals anymore (bug 496482, r=dvander). relanding 2009-06-12 17:26:56 -07:00
Andreas Gal
b43077c19f Optimize ECMA double to int32 conversion path (patch by mohammad.r.haghighat@intel.com, r=dvander). 2009-06-12 15:18:10 -07:00
Blake Kaplan
c538fe444e Bug 497998 - Remove obsolete assertion. r=brendan 2009-06-12 14:53:25 -07:00
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
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