Robert Sayre
d819a61312
Merge tracemonkey to mozilla-central
2009-05-05 11:36:48 -07:00
Robert Kaiser
bd6c3d47f2
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
5c46154ce5
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
Jim Blandy
89eac144c6
Bug 488018: Avoid 'may be used uninitialized' error. (no r)
2009-05-04 16:46:15 -07:00
Andreas Gal
a31bcae6e1
Backed out changeset 6534f8b9aa74 (bug 491013, assert on startup).
2009-05-04 15:07:53 -07:00
Igor Bukanov
41e6bdf416
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
20d86db12c
bug 491115 - asserting in js_SetProtoOrParent only when not detecting cycles. r=brendan
2009-05-02 20:49:45 +02:00
Brendan Eich
18c4dc1df6
ug 490741 - Crash [@ js_GetUpvar] on datepick (r=mrbkap).
2009-05-01 18:55:26 -07:00
Igor Bukanov
233d97e50f
bug 489501 - consolidating
...
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Blake Kaplan
c16eaa63ca
Bug 491017 - Allow easy building of Narcissus through the autoconf build system. r=jimb
2009-05-01 10:47:08 -07:00
Igor Bukanov
1aba3fde59
bug - 488607
...
- fixing test_property_cache asserts. r=brendan
2009-05-01 07:10:25 -07:00
Jim Blandy
b73b00c649
Bug 488018: Fix bustage: any function using TRACE_2 needs an 'error' label.
2009-04-30 17:54:20 -07:00
Jim Blandy
ec2b6b679e
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
9ad9b9310a
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
6428788ecd
Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap).
2009-04-29 16:46:43 -07:00
Igor Bukanov
be78d4f651
bug 487846 - optimizing shape prediction for set opcodes. r=brendan
2009-04-29 07:07:21 -07:00
Andreas Gal
0b53b598fb
Eliminate test_property_cache_direct_hit (490370, r=jorendorff).
2009-04-27 16:01:52 -07:00
Brendan Eich
cbf6351cc3
Bug 490339 - Unexpected ReferenceError when using "new Function()" (r=mrbkap).
2009-04-27 14:43:49 -07:00
Graydon Hoare
dbf7bafea1
Backout a seemingly problematic line of cset d8c2060b0f9b.
2009-04-24 23:13:27 -07:00
Graydon Hoare
22ec51480b
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
1c65581971
js_NewInstance locks ctor on trace (490092, r=brendan).
2009-04-24 19:41:36 -07:00
Andreas Gal
4334ae2b6b
Compilation fix for 489899.
2009-04-24 16:35:42 -07:00
Andreas Gal
96613ebf64
Stay on trace when reading holes from dense arrays (489899, r=brendan).
2009-04-24 16:28:21 -07:00
Graydon Hoare
a2d7971b07
Bug 470964 - Simulate CFG in imacro assembler and decompiler, r=brendan.
2009-04-24 09:07:49 -07:00
Graydon Hoare
ce82f02bfb
Bug 488967 - TM: Add global size check to global shape check, r=gal.
2009-04-23 20:46:40 -07:00
Jeff Walden
98fd9993dd
Bug 488989 - Don't go slow if we don't have to. r=jorendorff
2009-04-23 13:34:18 -07:00
Brendan Eich
c5be1193ac
Bug 488842 - Local Scope Variables are not displayed by default (r=mrbkap).
2009-04-22 23:22:42 -07:00
Andreas Gal
99f110b4ab
Remove dead code inside #if 0 from JSOP_GENERATOR (cleanup, no bug).
2009-04-22 17:58:51 -07:00
Andreas Gal
c077e2fa60
Fix burning PowerPC builds.
2009-04-22 17:16:26 -07:00
Andreas Gal
821490e6c0
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
322cc486f4
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
0f5ebd46bc
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
38f7a4b9dc
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
1547d376ef
bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst
2009-04-22 12:39:08 +02:00
Leon Sha
1c070295ee
Bug 488639 - SPARC jit: testIntOverflow, testIntUnderflow failed. r=gal.
2009-04-22 16:06:45 +08:00
Brendan Eich
27440304fd
Shoot me now (489089).
2009-04-21 22:50:51 -07:00
jimb
500e37ed07
Bug 469237: Only trace where BINDNAME will choose the global object.
2009-04-21 22:42:43 -07:00
Andreas Gal
8dfa6db1cb
Trace getting String.length (484332, r=brendan).
2009-04-21 18:56:24 -07:00
Brendan Eich
b0de6bb32f
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
61706f737d
Oh for crying out loud (489089).
2009-04-21 18:09:44 -07:00
Daniel Holbert
0f75918ede
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
fb5beba7fe
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
963db92d85
Bug 488963 - "Assertion failure: cg->lexdeps.lookup(atom), at ../jsemit.cpp" (tachyonal r=mrbkap).
2009-04-20 18:46:46 -07:00
jorendorff
c71311b9f7
Leaving outermost request should js_LeaveTrace (480301, r=brendan).
2009-04-20 18:22:00 -07:00
Brendan Eich
ace0dfc25e
Fix dangling JS_PROPERTY_CACHE_METERING bits broken by patch for bug 489171.
2009-04-20 17:32:36 -07:00
igor
48f646c851
js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan).
2009-04-20 17:00:59 -07:00
Brendan Eich
217324444b
Bug 488690 - "Assertion failure: dn->pn_defn, at ../jsemit.cpp" (r=mrbkap).
2009-04-20 15:51:27 -07:00
Blake Kaplan
5261542e7a
Bug 488843 - Restore missing check for un-optimiziable frames. r=brendan
2009-04-20 15:40:58 -07:00
Jeff Walden
982c8c51cf
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
bedb16288d
Bug 488925 - Check for string indexes in the API entry points. r=brendan
2009-04-20 12:21:44 -07:00