Commit Graph

5759 Commits

Author SHA1 Message Date
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
Boris Zbarsky
eb5f032de5 Bug 495167. Make XPCOMUtils.generateQI deal with string interface names. r+sr=bsmedberg 2009-06-15 16:06:20 -07:00
Phil Ringnalda
26321c717e Bug 494851 - Kill the makefile.win that prevents CVS warnings, since we're pretty well past CVS warnings now, r=jorendorff 2009-06-13 11:53:38 -07:00
Blake Kaplan
d60fe273bf Bug 497998 - Remove obsolete assertion. r=brendan
--HG--
extra : transplant_source : %9B%0Eh%C28%EB%B4%80%5DQ%ED%A8%92%23%0C%86%28%9D%9E%D8
2009-06-12 14:53:25 -07:00
Blake Kaplan
982c6e4162 Bug 496486 - Don't let our wrapped natives get garbage collected out from under us. r+sr=bzbarsky 2009-06-12 14:35:35 -07:00
Siddharth Agarwal
5ddd4ecd0e Bug 489579 -- Use -FI (force include) for MSVC instead of passing defines via the command line. r=ted
--HG--
extra : rebase_source : 3ac723088c40af8840dc5ff26a1cbde457e5c65f
2009-05-11 16:09:33 +05:30
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
Blake Kaplan
7ffb0fe3f9 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
--HG--
extra : transplant_source : %05E%E4%F1/K%60%B9%3B%B6%BFq%B1%22i%2A%BD%A4%BC%EE
2009-06-11 14:12:23 -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
Graydon Hoare
9188f47f3a Backout a seemingly problematic line of cset d8c2060b0f9b. 2009-04-24 23:13:27 -07:00
Graydon Hoare
bb4177dccd Bug 490044 - TM: Add deep-bailing write barrier to global shape change code, r=brendan. 2009-04-24 17:47:32 -07:00
Andreas Gal
e58ef54027 js_NewInstance locks ctor on trace (490092, r=brendan). 2009-04-24 19:41:36 -07:00
Andreas Gal
214ea26d91 Compilation fix for 489899. 2009-04-24 16:35:42 -07:00
Andreas Gal
a89bbaad23 Stay on trace when reading holes from dense arrays (489899, r=brendan). 2009-04-24 16:28:21 -07:00
Graydon Hoare
3471a48ea3 Bug 470964 - Simulate CFG in imacro assembler and decompiler, r=brendan. 2009-04-24 09:07:49 -07:00
Graydon Hoare
76accb1b4f Bug 488967 - TM: Add global size check to global shape check, r=gal. 2009-04-23 20:46:40 -07:00
Jeff Walden
d19e88a97f Bug 488989 - Don't go slow if we don't have to. r=jorendorff 2009-04-23 13:34:18 -07:00
Brendan Eich
52153f3522 Bug 488842 - Local Scope Variables are not displayed by default (r=mrbkap). 2009-04-22 23:22:42 -07:00
Andreas Gal
92ed04cddc Remove dead code inside #if 0 from JSOP_GENERATOR (cleanup, no bug). 2009-04-22 17:58:51 -07:00
Andreas Gal
9471e12092 Fix burning PowerPC builds. 2009-04-22 17:16:26 -07:00
Andreas Gal
a51f22dbdf Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap). 2009-04-22 16:52:59 -07:00
Brendan Eich
b554a4c785 Bug 489552 - Earth Day Recycling for Fun Kids - Assertion failure: RecycleFuncNameKids, at ../jsparse.cpp:444 (r=mrbkap). 2009-04-22 15:30:36 -07:00
Jason Orendorff
4ea515fa8b Bug 488874 - Change tm.onTrace to tm.tracecx. r=brendan.
--HG--
extra : rebase_source : bf683bee5e518cf5bfea8113c17685b8301d72c9
2009-04-22 15:07:55 -05:00
Andreas Gal
b3d5ba6b16 JSOP_BINDNAME wrongful abort due to fp->fun instead of fp->callee usage (489644, r=brendan). 2009-04-22 12:52:35 -07:00
Igor Bukanov
e4bc4e81cb bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst 2009-04-22 12:39:08 +02:00
Leon Sha<leon.sha@sun.com>
b8845d61de Bug 488639 - SPARC jit: testIntOverflow, testIntUnderflow failed. r=gal. 2009-04-22 16:06:45 +08:00
Brendan Eich
50b885546d Shoot me now (489089). 2009-04-21 22:50:51 -07:00
jimb
b861fed2d3 Bug 469237: Only trace where BINDNAME will choose the global object. 2009-04-21 22:42:43 -07:00
Andreas Gal
c5c7bd2f6c Trace getting String.length (484332, r=brendan). 2009-04-21 18:56:24 -07:00
Brendan Eich
b2edd9eb0c Bug 489079 - Google Calendars disappear with latest trunk of Shredder [Error: Error parsing XML streamReferenceError: gCal is not defined] (r=mrbkap). 2009-04-21 18:20:21 -07:00
Brendan Eich
a27f8153f6 Oh for crying out loud (489089). 2009-04-21 18:09:44 -07:00
Brendan Eich
0aadb94a7b Bug 489089 - JSON.parse is way slower than it needs to be (r=igor/sayrer). 2009-04-21 12:09:27 -07:00
Brendan Eich
af27492080 Bug 488963 - "Assertion failure: cg->lexdeps.lookup(atom), at ../jsemit.cpp" (tachyonal r=mrbkap). 2009-04-20 18:46:46 -07:00
jorendorff
e1b8077e65 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-20 18:22:00 -07:00
Brendan Eich
7f4de719f8 Fix dangling JS_PROPERTY_CACHE_METERING bits broken by patch for bug 489171. 2009-04-20 17:32:36 -07:00
igor
48c3925a9a js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan). 2009-04-20 17:00:59 -07:00
Brendan Eich
be23b17c5d Bug 488690 - "Assertion failure: dn->pn_defn, at ../jsemit.cpp" (r=mrbkap). 2009-04-20 15:51:27 -07:00
Blake Kaplan
3224ee7ee8 Bug 488843 - Restore missing check for un-optimiziable frames. r=brendan 2009-04-20 15:40:58 -07:00
Jeff Walden
ac7bbee9e5 Bug 489124 - Remove an unnecessary guard, specialize tracing of typeof for functions now that JSVAL_TFUN exists. r=gal 2009-04-20 12:25:43 -07:00
Blake Kaplan
f3d1280a04 Bug 488925 - Check for string indexes in the API entry points. r=brendan 2009-04-20 12:21:44 -07:00
Andreas Gal
b3ec5b0f4d Abort trace if the global object gets wrapped and we already hold a reference to the unwrapped object (489007, r=brendan). 2009-04-20 11:30:32 -07:00
Andreas Gal
26a670957d Remove bogus assert (489040, r=brendan). 2009-04-20 09:52:56 -07:00
Igor Bukanov
4ad2e764fa bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal 2009-04-20 12:10:29 +02:00
Igor Bukanov
fd49b19773 Backed out changeset f4662701526b (bug 488414) to fix !JS_THREADSAFE compilation errors 2009-04-20 11:59:36 +02:00
Igor Bukanov
56547f8087 bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal 2009-04-20 10:17:28 +02:00
Jeff Walden
f10c82d6e3 Kick tinderboxen out of a Linux orange that looks bogus 2009-04-18 22:09:37 -07:00
Jeff Walden
628e407f3f Bug 488781 - Followup readability fix to rearrange the ordering of cases in various type-switch statements to correspond to numeric values; this makes it much easier (for me at least) to see that such switches are properly exhaustive. r=gal 2009-04-18 16:47:24 -07:00
Jeff Walden
830e81a336 Bug 488781 - Add a trace-time type to differentiate functions from objects. r=brendan 2009-04-18 16:47:23 -07:00
Jeff Walden
c9680230c4 Bug 473117 - Rejigger how guards use side exits, and fix an erroneous comment. r=graydon 2009-04-18 16:47:23 -07:00
Igor Bukanov
ba556afe6d bug 487039 - caching only white-listed non-globals on the scope chain. r=brendan 2009-04-18 20:10:59 +02:00
Igor Bukanov
ac71be6d66 bug 487204 - NativeGet caching fixes. r=brendan 2009-04-18 19:56:53 +02:00
David Mandelin
e57983f598 Bug 488808: crash due to JSString INIT macros stomping deflated flag, r=brendan 2009-04-17 19:30:26 -07:00
Andreas Gal
ffd13ceb8b During trecording detect null 'this' object before wrapping it (488816, r=brendan). 2009-04-17 19:24:54 -07:00
Robert Sayre
dc86a73387 Merge mozilla-central to tracemonkey. 2009-04-17 21:35:32 -04:00
Blake Kaplan
38b83aefae Bug 485868 - Remove code duplication in xpcjsruntime.cpp. r=jst sr=brendan
--HG--
extra : rebase_source : 68dbe531ff1dca8b436ae938be763ff3921a1c9a
2009-04-17 16:52:15 -07:00
Blake Kaplan
da5b280a51 Bug 484180 - Don't call the class getter (especially not the scriptable helper!) for functions. r+sr=jst
--HG--
extra : rebase_source : 15e927e3a4281a0d5ffd54b528c9c90c76b7c6ee
2009-04-17 16:52:10 -07:00
Jason Orendorff
cc87745ec4 Bug 488693 - TM: "Assertion failure: !JS_TRACE_MONITOR(cx).needFlush, at ../jstracer.cpp". r=gal.
--HG--
extra : rebase_source : 4ff76dfc6418e818c7cabba6a7d87e5b49123540
2009-04-17 18:22:16 -05:00
Graydon Hoare
f97341fdf6 Bug 488363 - Missing write barrier on global object, r=jorendorff. 2009-04-17 15:25:25 -07:00
Andreas Gal
adc0da147c Merge. 2009-04-17 12:44:37 -07:00
Andreas Gal
da0094a55c Backed out changeset 324bb9dc8372 (bug 487204 is implicated in top site failures). 2009-04-17 12:41:00 -07:00
Blake Kaplan
f4e59bf91a Bug 479560, r+sr=jst 2009-04-17 12:41:42 +01:00
Andreas Gal
6520b20732 Backed out changeset 5bd116148175 (attempting to re-land bug 487204). 2009-04-16 17:56:18 -07:00
Andreas Gal
3b10c56019 Backed out changeset d1a4ee3d0c59 (bug 487204, due to possible leak). 2009-04-16 12:19:24 -07:00
Jason Orendorff
390c860d16 Fix "unused variable tm" warning I introduced a few days ago. No bug#, r=shaver. 2009-04-15 19:44:25 -05:00
Jason Orendorff
b02039ae3d Merge backout. 2009-04-17 14:17:21 -05:00
Jason Orendorff
e021a73170 Backed out changeset a6071b1aa626 due to trace-test.js failures. 2009-04-17 14:16:56 -05:00
Jason Orendorff
e62f4c079b Fix static-analysis-tracemonkey burning due to a6071b1aa626. 2009-04-17 11:22:57 -05:00
Jason Orendorff
2e2f8535f0 Bug 488693 - TM: "Assertion failure: !JS_TRACE_MONITOR(cx).needFlush, at ../jstracer.cpp". r=gal. 2009-04-16 18:28:57 -05:00
Igor Bukanov
b59b15388d bug 487546 - updating the tests to rfelect the new restriction on the maximum string length. r=bclary 2009-04-17 14:37:53 +02:00
Igor Bukanov
94a3d7329c bug 487930 - removal of JSSLOT_ARRAY_LOOKUP_HOLDER. r=mrbkap 2009-04-17 11:37:59 +02:00
Brendan Eich
fc377191d1 Bug 488802 - Crash at [@js_Interpret] on YOMIURI ONLINE (r=mrbkap). 2009-04-16 23:35:58 -07:00
David Mandelin
9c8203f872 Bug 487546 fixup: adding needed macro parens 2009-04-16 19:06:11 -07:00
David Mandelin
803163441c Bug 487546: Fix shell bustage, r=brendan 2009-04-16 17:23:43 -07:00
David Mandelin
874ab2823f Bug 487546: avoid unnecessary js_PurgeDeflatedStringCache calls, additional patch to address igor's review issues, r=igor 2009-04-16 16:23:46 -07:00
Andreas Gal
d9f8074374 Be less paranoid about jit stats for testNestedExitStackOuter since it doesn't seem to be stable. 2009-04-16 16:01:27 -07:00
Andreas Gal
34e554c496 Merge. 2009-04-16 15:56:46 -07:00
Andreas Gal
4fae4b8ce2 When allocating strings, only report error if we can leave trace, otherwise just return NULL (488764, r=jwalden). 2009-04-16 15:56:24 -07:00
Andreas Gal
5b284aaa5a Remove unsafe RegExp.test traceable native, the generic fast native mechanism can take care of it (488703, r=jorendorff). 2009-04-16 15:34:14 -07:00
Igor Bukanov
80295c64d7 bug 488699 - proper rooting of DeclEnv instance. r=brendan 2009-04-17 00:26:26 +02:00
David Mandelin
beb147a958 Bug 487546: call expensive JSString finalizers only if needed, r=brendan 2009-04-16 15:00:13 -07:00
Andreas Gal
51c5e8d189 Properly calculate 'this' object on trace and side exit if we have to wrap (488203, r=mrbkap,jorendorff). 2009-04-16 12:21:45 -07:00
Andreas Gal
c6e4da316b Backed out changeset 062ea62f9bda (backed out bug 488203 again). 2009-04-16 12:18:46 -07:00
Andreas Gal
69d6e84fc4 Backed out changeset 64d7df1fe160 (re-landing 488203). 2009-04-16 10:16:14 -07:00
Andreas Gal
a943161ace Backed out changeset e8c23c42db7f (bug 488203) to see whether it causes the leak. 2009-04-16 10:07:53 -07:00
Andreas Gal
53d87f13a2 Properly calculate 'this' object on trace and side exit if we have to wrap (488203, r=mrbkap). 2009-04-15 17:54:37 -07:00
Igor Bukanov
5836717df3 bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-16 02:36:14 +02:00
Igor Bukanov
907592f765 bug 477627 - avoiding deadlocks in ClaimTitle. r=brendan 2009-04-16 00:01:24 +02:00
Igor Bukanov
30ebeb6d1d merge after backout for bug 480301 2009-04-15 23:34:59 +02:00
Igor Bukanov
e2941e5370 Backed out changeset f97f196dcb58 - bug 480301 needs more work 2009-04-15 23:33:46 +02:00
Andreas Gal
05faccf228 Backed out changeset d1a4ee3d0c59 due to build fail, test fail, and perf regressions. 2009-04-15 14:20:52 -07:00
Igor Bukanov
577cb23ac0 bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-15 21:13:27 +02:00
Jason Orendorff
4dd9ad09ef Bug 487845 - TM: After deep-bailing, we can lirbuf->rewind() and then return to a dead code page. r=gal.
--HG--
extra : rebase_source : b7de71b526d45c7caed1982fba80c65763a0a9c6
2009-04-15 09:47:02 -05:00
Brendan Eich
237a2b7d5a Bug 488421 - Crash [@ js_ValueToString] or Crash [@ js_ValueToBoolean] or "Assertion failure: slot < fp->script->nslots, at ../jsinterp.cpp" (r=mrbkap). 2009-04-15 10:49:11 -07:00
Brendan Eich
9d4a42aeba Bug 488475 - "Assertion failure: \!(pn->pn_dflags & flag), at ../jsparse.h" (r=me). 2009-04-15 09:30:46 -07:00
Igor Bukanov
95c0598199 bug 488285 - fixing strict mode warnings with DOm window object. r=brendan 2009-04-15 16:09:58 +02:00
Brendan Eich
7b9f2ffb1f Bug 488015 - Crash [@ js_GetUpvar ] (also bogus JS errors, also probably Crash [@js_Interpret]) (future r=mrbkap, see bug). 2009-04-15 01:57:13 -07:00
Andreas Gal
4c09e7eb02 Backed out bug 488203. 2009-04-14 23:44:34 -07:00
Andreas Gal
7567cbb762 Merge. 2009-04-14 21:28:57 -07:00
Andreas Gal
c11974bb60 Backed out changeset 4c157cfe2289 (bug 487845). 2009-04-14 21:28:40 -07:00
Andreas Gal
6160744b13 Add missing FASTCALL declaration. 2009-04-14 20:54:22 -07:00
Andreas Gal
5f739a7156 Fix static analysis. It is ok for ComputeThis_tn to see a stale cx->fp since we just want to ensure the global object is wrapped. 2009-04-14 20:15:43 -07:00
Andreas Gal
e01cfd34c3 Properly compute 'this' object on trace and wrap if necessary (488203, r=mrbkap). 2009-04-14 19:52:09 -07:00
Brendan Eich
8f9886f858 Bug 488272 - Crash [@ RebindLets] (r=mrbkap). 2009-04-14 17:52:13 -07:00
Brendan Eich
898204a579 Back out bad patch for 488272. 2009-04-14 17:20:12 -07:00
jorendorff
7a9b1b6e92 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-14 17:15:38 -07:00
Jason Orendorff
a68535ead5 Bug 487550 - "Assertion failure: cx->bailExit" with {__proto__: window}. r=brendan. 2009-04-14 16:59:55 -05:00
Brendan Eich
288ee8ccdd Bug 488272 - Crash [@ RebindLets] (r=mrbkap). 2009-04-14 11:34:05 -07:00
Blake Kaplan
b008d59d4c Bug 487430 - call_enumerate doesn't take upvars into account. r=brendan 2009-04-14 11:29:34 -07:00
Jason Orendorff
0616f91d10 Bug 487845 - TM: After deep-bailing, we can lirbuf->rewind() and then return to a dead code page. r=gal. 2009-04-14 08:45:37 -05:00
Igor Bukanov
225dc1322f bug 488029 - fixing bindname optimization regression from the bug 462734 plus creating js_DeclEnvClass instances together with Call objects. r=brendan 2009-04-14 12:54:37 +02:00
Robert Sayre
abf41f7685 Merge tracemonkey to mozilla-central 2009-05-05 11:36:48 -07:00
Robert Kaiser
783e9416cf bug 316387, followup - copy changes to js/src/config as well to fix JS test bustage 2009-05-05 20:32:59 +02:00
Daniel Holbert
be953ead7a Bug 491325: Redirect stderr of 'cat' to /dev/null in configure.in's check for GCC pipe support. r=ted 2009-05-05 10:54:38 -07:00
Daniel Holbert
f91679f7b6 Bug 478438 trivial follow-up: remove unneeded 'typedef' keyword to fix compile warning. r=bnewman sr=mrbkap 2009-05-04 13:08:48 -07:00
Brendan Eich
848fbcd8ef Bug 488050 - upvar2: incorrect optimization of delete function_name (r=igor). 2009-04-13 17:13:21 -07:00
Andreas Gal
2866c6d091 Remove amd64 code (will be replaced with tamarin's new amd64 backend, 487981, r=danderson). 2009-04-13 16:16:10 -07:00
Brendan Eich
b151e17a91 ug 490741 - Crash [@ js_GetUpvar] on datepick (r=mrbkap). 2009-05-02 11:40:22 -07:00
Jeff Walden
b282a2b89b Import http://hg.mozilla.org/mozilla-central/rev/a94142e82a0d to TM since it seems to be horking my shell builds (but not a browser build? odd, I thought I'd tested both) 2009-04-11 15:01:17 -07:00
Brendan Eich
025b3510e0 Bug 487968 - TM: shutdown leak of rt->builtinFunctions (r=jorendorff). 2009-04-13 14:22:01 -07:00
Brendan Eich
a83511d2b1 Bug 488034 - Crash [@ js_GetUpvar] or "Assertion failure: (script)->upvarsOffset != 0, at ../jsinterp.cpp" (r=mrbkap). 2009-04-13 14:16:15 -07:00
Andreas Gal
c62dc9de92 Update ip in recycled branch fragments (487531, r=graydon). 2009-04-13 13:24:17 -07:00
L. David Baron
c7409a6be6 Fix occasional leak of either array or hashtable entrystore allocated in js_AddLocal by accounting for fun->u.i.upvars in DestroyLocalNames. (Bug 487967) r=brendan 2009-04-11 16:03:13 -07:00
Igor Bukanov
6da0ea9b5e bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan 2009-04-11 10:11:06 +02:00
Igor Bukanov
d738892163 Backed out changeset 595ebe7b82fa - it had wrong patch 2009-04-11 10:07:42 +02:00
Igor Bukanov
de22fe3e47 bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan 2009-04-11 10:04:24 +02:00
Jeff Walden
61aee1746d Bug 473096 - js1_5/Regress/regress-366601.js - Internal Error: script too large. r=brendan 2009-04-10 17:41:13 -07:00
Blake Kaplan
1c5e6afeac Bug 487684 - Store the last trace PC to pass into the decompiler. r=igor 2009-04-10 14:06:28 -07:00
Igor Bukanov
fd755722cc bug 486713 - fixing flag propagation to generator expression function. r=brendan 2009-04-10 20:50:47 +02:00
Brendan Eich
c77da042f2 Fix JS_LONE_INTERPRET-mislocated js_GetUpvar prototype (487563). 2009-04-09 19:19:21 -07:00
Brendan Eich
26a5b7f3fc Bug 487563 - Crash [@ js_Interpret] (r=mrbkap). 2009-04-09 18:44:54 -07:00
Robert Sayre
c05dbc60ec Merge mozilla-central to tracemonkey. 2009-04-09 21:24:00 -04:00
Jason Orendorff
b5d4ba583e Bug 487676 - Nesting deep-aborting trace calls don't work. r=gal.
--HG--
extra : rebase_source : 436164485bd5e981e5ae8997eed2c371f3ecd77b
2009-04-09 18:07:00 -05:00
Jason Orendorff
e8a9ce3fda Bug 487413 - Delete unnecessary fast natives in js shell. r=gal.
--HG--
extra : rebase_source : f9bddb69e037871b9b3b85bf8ab6e181f771bab9
2009-04-09 16:30:10 -05:00
Brendan Eich
e29805bd5a Bug 487561 - More cleanup from bug 452498 and bug 487271 patches (r=mrbkap/igor, and this fixes bug 487570). 2009-04-09 15:05:12 -07:00
Jim Blandy
89a4b5bcff Bug 469237: Avoid warnings in jstracer.cpp. r=igor
../jstracer.cpp: In member function ‘void TraceRecorder::guard(bool, nanojit::LIns*, nanojit::LIns*)’:
../jstracer.cpp:2301: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘nanojit::SideExit*’
../jstracer.cpp: In function ‘bool js_AttemptToExtendTree(JSContext*, VMSideExit*, VMSideExit*, jsbytecode*)’:
../jstracer.cpp:3624: warning: suggest parentheses around ‘&&’ within ‘||’
2009-04-09 13:10:22 -07:00
Jim Blandy
1d133ec6ba Bug 469237: Assert that we never add properties to lexical blocks. r=igor 2009-04-09 13:07:27 -07:00
Brendan Eich
b9323a1394 Bug 487209 - erroneous redeclaration of let ... with try {...} catch(e) {var e...} (r=mrbkap). 2009-04-08 18:42:20 -07:00
Brendan Eich
0b6ed95284 Bug 487538 - bug 487271 left three tests broken in its wake (r=mrbkap). 2009-04-08 18:27:44 -07:00
Jeff Walden
0582793992 Bug 487534 - TM: "Assertion failure: JSVAL_IS_NULL(v)" with function/regexp used as index. The other half of bug 484120, poorly reviewed by me -- no soup for me! r=graydon 2009-04-08 17:45:17 -07:00
Brendan Eich
3f4a58e4f0 Bug 487271 - Crash [@ js_Invoke ], and missing google-maps background, at padmapper.com (r=mrbkap). 2009-04-08 13:14:02 -07:00
Robert Sayre
e45bf4929a Merge tracemonkey to mozilla-central. 2009-04-08 23:55:18 -04:00
Brendan Eich
240c326a21 Bug 487320 - named function objects can escape without detection by the upvar analysis (r=mrbkap). 2009-04-07 17:10:33 -07:00
David Mandelin
ab16a824b1 Bug 487173: Making undefined use stub getter/setter so use of global undefined can be traced, r=mrbkap 2009-04-07 17:01:20 -07:00
Robert Sayre
51f43ccd72 Merge mozilla-central to tracemonkey. 2009-04-07 19:04:17 -04:00
Andreas Gal
f7f0ad16bc Bug 484693 - Cap size of global object, r=graydon. 2009-04-07 15:53:08 -07:00
Blake Kaplan
d17152f491 Bug 487215 - A lambda expression that uses arguments might escape, so don't clear the funarg flag. r=brendan 2009-04-07 15:48:16 -07:00
Jim Blandy
065b4086c2 Bug 469237: Use offsetof instead of a magic constant. r=jorendorff 2009-04-07 15:41:47 -07:00
Jason Orendorff
cbb1d7f51f Merge backout. 2009-04-07 17:07:40 -05:00
Jason Orendorff
a613c0d579 Backout changeset 143e997c858e (bug 484693) because it caused crashes on Mac tinderboxen. 2009-04-07 17:07:11 -05:00
Jason Orendorff
d6c3321108 Merge. 2009-04-07 16:42:38 -05:00
Jason Orendorff
e42a325f6e Bug 487216 - TM: Other builtins that call JS_malloc. r=gal. 2009-04-07 16:26:13 -05:00
Jason Orendorff
d24fe77d94 Backed out changeset e201de53e918 in favor of a different approach. 2009-04-07 16:15:34 -05:00
Graydon Hoare
163d74068e Bug 484693 - Remove uses of alloca, r=gal. 2009-04-07 13:47:36 -07:00
Brendan Eich
c1db7f391d Bug 487251 - imacros.c.out generation fails: Error: .igroup/.end name mismatch (r=mrbkap). 2009-04-07 13:32:24 -07:00
Brendan Eich
2270357832 Bug 487251 - imacros.c.out generation fails: Error: .igroup/.end name mismatch (r=mrbkap). 2009-04-07 13:30:59 -07:00
Robert Sayre
30f9238dfd Merge tracemonkey to mozilla-central. 2009-04-07 13:21:29 -04:00
Jason Orendorff
8978ecf87d Bug 482015 - TM: Assertion failure: cx->bailExit due to _RETRY builtins that call JS_malloc. r=gal, r=igor. 2009-04-07 11:42:50 -05:00
Andreas Gal
4f7fe5afa4 Bug 485959 - TM: Recording continues across loop edge. r=jorendorff 2009-04-07 00:45:49 -07:00
Andreas Gal
ca62b9e9e3 backout Bug 485959, disable-jit bustage. 2009-04-07 03:34:06 -04:00
Andreas Gal
fd3fd2676a Bug 485959 - TM: Recording continues across loop edge. r=jorendorff 2009-04-07 03:25:29 -04:00
Jason Orendorff
32b58a38be Thread-safety comment for bug 479198. r=brendan. 2009-04-06 16:43:45 -05:00
Jason Orendorff
81f9c93dec Bug 479198 - "Deep" property cache entries not invalidated when shadowed (TIBCO General Interface regression). r=brendan. 2009-04-06 13:24:20 -05:00
Brendan Eich
fa172251b0 Bug 481514 - PurgeScopeChain should not deep-bail quite so eagerly (r=jorendorff, a=sayrer). 2009-04-06 13:24:34 -07:00
Brendan Eich
862f9eb6d3 Test for upvar2 dup/dep bug 473271, from comment 8; also remove print noise from testPropagatedFunArgs crash test. 2009-04-06 11:18:10 -07:00
Brad Lassey
073360a19a bug 487515 - PRMJ_Now needs better granularity for panning in fennec r=crowder, robarnold 2009-04-16 12:03:56 -04:00
Brad Lassey
c99035f3ef Bug 392274 - should _tzset on Win32, follow up to fix windows ce bustage r=crowder 2009-04-15 20:14:42 -04:00
Shawn Wilsher
97acb35fee Merging mozilla-central to tracemonkey. Should fix the red on talos tinderbox. 2009-04-15 20:10:48 -04:00
Robert Sayre
cad48ee840 Merge tracemonkey to mozilla-central. 2009-04-15 17:40:19 -04:00
Jim Blandy
c92b04fdc1 Bug 479585: jsfile.cpp and jsgc.cpp fixes for Symbian patch=Harry.Li r=jimb 2009-04-15 14:07:35 -07:00
Brian Crowder
bb79ea7392 Bug 392274 - _tzset on Win32, patch my Mike Perry <mikeperry.unused@gmail.com>, r=crowder 2009-04-15 14:06:39 -07:00
Benjamin Smedberg
c2ec582f57 Fix the PYTHONPATH bits of bug 436062 in a not-hacky way by using a script which can set up the path and then forward to the real script we're trying to run, r=ted 2009-04-15 09:06:09 -04:00
Robert Sayre
f483fe38c9 Merge. 2009-04-14 22:45:25 -04:00
Ben Newman
17a2ceeaca Bug 484107 - XPCSafeJSObjectWrapper allows regexp variables to be clobbered. r=mrbkap+sr=brendan 2009-04-14 19:32:17 -07:00
Robert Sayre
3be11e8591 Merge tracemonkey to mozilla-central. 2009-04-14 12:21:03 -04:00
Ginn Chen
0f7ef1fa64 Back out bug 487602 2009-04-14 17:04:43 +08:00
Ginn Chen
a9f1c99903 Bug 487602 failed to compile firefox on Solaris r=bsmedberg 2009-04-14 16:42:50 +08:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Peter Van der Beken
8a43b9d5cc Fix for bug 486585 ("ASSERTION: bad!" in XPCCallContext::XPCCallContext with feed in frame, gc). r/sr=mrbkap.
--HG--
extra : rebase_source : c0977ba2150e1369b8397c45839058f542510ffd
2009-04-06 14:58:45 +02:00
Robert Sayre
d7754d986a Merge tracemonkey to mozilla-central. 2009-04-07 03:04:17 -04:00
Jacob Bramley
3c4a821492 bug 486675 - always using setError to set _err 2009-04-06 13:32:46 +02:00
Jeff Walden
129dfb1b25 Style nit to kick a red tinderbox and hopefully avoid graph server fail a second time around, r=red this time 2009-04-06 01:06:34 -07:00
Jeff Walden
7bd23208f1 Update trace-test.js jitstats for testThinLoopDemote to account for upvar2, although there's still some wonkiness here being tracked in bug 486820. r=orange 2009-04-05 22:29:18 -07:00
Brendan Eich
ec9f3ae4a0 Another static analysis patch (I hope the last; for 452498). 2009-04-05 21:51:42 -07:00
Brendan Eich
382a5ca261 Remove stale JS_REQUIRES_STACK for js_CloneFunctionObject prototype (452498 followup to fix static analysis tbox). 2009-04-05 21:32:06 -07:00
Brendan Eich
962b187fe5 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Robert Sayre
2d22be3f01 Merge tracemonkey to mozilla-central 2009-04-05 21:24:42 -04:00
Jeff Walden
399b60b6e0 More typo fixes to kick some tinderboxen 2009-04-04 23:29:15 -07:00
Jeff Walden
a89f043904 Grammar fix to kick a rando-orange box to green 2009-04-04 19:41:50 -07:00
Jeff Walden
14e879800f Bug 486578 - TM: "Assertion failure: scope->object == pobj" with function, __proto__, length. r=gal 2009-04-04 16:55:51 -07:00
Andreas Gal
fa2e6466b2 Bug 479110 - TM: avoid frequent mismatch exits. r=brendan 2009-04-04 17:23:34 -04:00
Andreas Gal
3c19b8b7fc Merge. 2009-04-04 10:15:04 -07:00
Andreas Gal
706120c0fb Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
7485baa00c Merge. 2009-04-04 10:07:44 +01:00
Brendan Eich
5f4d9ff474 upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Andreas Gal
7a45fb2c9a Merge. 2009-04-04 01:06:18 -07:00
Andreas Gal
8787072e96 Backed out changeset b512be855093 (bug 484693). See bug for details. 2009-04-04 01:06:04 -07:00
Graydon Hoare
377d59d4d8 Typo-fix in comment, cycle unit tester. 2009-04-03 23:01:24 -07:00
Andreas Gal
742aa29f7d TraceRecorder::prop sets stack on some return paths, not on final path (486798, r=brendan). 2009-04-03 19:31:17 -07:00
Graydon Hoare
a2d4d5a779 Bug 484693 - Remove uses of alloca, r=gal. 2009-04-03 16:30:46 -07:00
Igor Bukanov
a572accd66 bug 419662 - nested function definitions must come after destructuring argument initializer. r=mrbkap 2009-04-03 10:02:27 +02:00
Igor Bukanov
f48629a9d6 bug 486139 - removal of JSProperty struct definition. r=mrbkap 2009-04-03 09:53:17 +02:00
Igor Bukanov
09ffabb7a1 bug 485164 - fixing sharp semantic regressions. r=mrbkap 2009-04-03 09:53:02 +02:00
Andreas Gal
a4f3bf56a6 Don't try to abort tracing after a successful compilation (486436, r=brendan). 2009-04-02 14:47:57 -07:00
Jason Orendorff
cd0fe70742 Bug 483179 - TM: JIT embeds stale closure in trace for JSOP_DEFLOCALFUN. r=mrbkap 2009-04-02 14:08:48 -07:00
Igor Bukanov
fdf059f766 bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan 2009-04-02 16:31:54 +02:00
Benjamin Smedberg
614ee0fc2d Bustage fix from last-minute rework of bug 481350 2009-04-08 10:31:33 -04:00
Benjamin Smedberg
5000827e05 Bug 481350 - Fail when imacros.c.out is out of date, r=jorendorff/ted 2009-04-08 10:18:25 -04:00
Jim Blandy
b34fbbe457 Bug 482743: Compute opcode stack usage correctly. r=igor 2009-04-01 11:02:52 -07:00
Jim Blandy
02252a653d Bug 482743: Fix up bytecode execution tracing. Allow tracing to file. r=igor
js_TraceOpcode: Remember the last bytecode we traced explicitly,
instead of subtracting 'len' from regs.pc, which isn't reliable.
Decline to trace values in script prologues (between 'code' and
'main').  Decline to walk off the bottom of the stack when the 'last
bytecode' is misleading.  Flush the stream after each bytecode.

Use the TRACE_OPCODE macro in both threaded and non-threaded
interpreters.  Take care to make threaded and non-threaded
interpreters produce the same traces.

In the shell's 'tracing' function, use JS_ValueToBoolean to recognize
all sorts of booleans, and treat a string as the name of a file to
write the trace to.
2009-04-01 08:50:57 -07:00
Igor Bukanov
4df05a423c bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap 2009-04-01 14:32:51 +02:00
Igor Bukanov
7548565a13 bug 486124 - removal of unused TCF_HAS_DEFXMLNS. r=mrbkap 2009-04-01 10:33:43 +02:00
Graydon Hoare
5689ffc3f8 Bug 474529 - Avoid artificial OOM conditions, r=gal. 2009-03-31 20:51:01 -07:00
Graydon Hoare
485f0c5d62 Bug 479553 - Property tree forking heuristic improvement, r=brendan. 2009-03-31 17:55:43 -07:00
Graydon Hoare
3e481f618d Bug 484751 - Followup patch to fix crash in initial checkin, r=mrbkap. 2009-03-31 19:34:32 -07:00
Blake Kaplan
249922d337 printf warning police 2009-03-31 18:38:28 -07:00
Jeff Walden
3e189b0822 Bug 484751 - TM: "Assertion failure: !OBJ_GET_CLASS(cx, proto)->getObjectOps, at ../jsobj.cpp". r=mrbkap 2009-03-31 14:24:01 -07:00
Robert Sayre
6afa909c12 Merge m-c to tracemonkey. 2009-03-31 12:59:36 -07:00
Igor Bukanov
0e62709153 bug 486106 - restoring JS*Lookup API compatibility with fast arrays. r=shaver 2009-03-31 21:42:31 +02:00
Andreas Gal
78ced670dd specialize code for a specific global object, not just a global object shape (480905, r=graydon). 2009-03-31 11:49:44 -07:00
Andreas Gal
bd810801e3 maintain globalShape in VMFragment only (486049, r=graydon). 2009-03-31 11:43:30 -07:00
Jason Orendorff
22f1bdf5d6 Bug 483473 - Make JSObjectOps private. r=brendan.
--HG--
extra : rebase_source : 3240cb1f5c047dc92f8d1b525963bcb27e0a3521
2009-03-31 09:02:20 -05:00
Benjamin Smedberg
b7dbb7cee0 Bug 485264 - Not enough quotes in mozprog.m4 when suggestions contain spaces r=ted 2009-03-31 08:41:50 -04:00
Graydon Hoare
27d0e6f091 Bug 479553 - Minimize forking of property tree, r=brendan. 2009-03-30 18:02:13 -07:00
Andreas Gal
79baa5db23 Guard that object is a dense array when skipping to its prototype during property lookup (485790, r=brendan). 2009-03-30 17:19:04 -07:00
Jeff Walden
c8f309e4e5 Bug 485889 - Incorrect null checking/assignment? (with xpcshell test case). r=gal 2009-03-30 17:15:42 -07:00