Commit Graph

239 Commits

Author SHA1 Message Date
Robert Sayre
b172ec27fd Merge tracemonkey to mozilla-central. 2009-07-13 18:19:51 -04:00
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Andrew Sutherland
aaeccd8701 bug 497355 - Assertion failure: STOBJ_GET_CLASS(obj) != &js_BlockClass, at /Users/moztest/comm/main/src/mozilla/js/src/jsscope.cpp:79. r=igor 2009-07-13 13:45:34 -07:00
Andreas Gal
3367fcef8e Inline FinalizeObject into js_GC() along with making Scope hold() and drop() inline, too (503461, r=dmandelin). 2009-07-12 07:38:59 -07:00
Andreas Gal
d788e5a1d4 Make CHECK_FOR_STRING_INDEX an inline function (503666, r=jwalden). 2009-07-11 15:41:32 -07:00
Brendan Eich
f60779aef5 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
David Mandelin
975f74c278 Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Andreas Gal
e06ace81ce Build fix for 502145 with JS_TRACER disabled (no bug). 2009-07-06 07:01:21 +02:00
Andreas Gal
16a60091ed Shortcut lookup flag calculation when on trace (bug 502145, r=igor). 2009-07-06 06:42:13 +02:00
Andreas Gal
84b0735487 js_GetMethod shouldn't detect (501229, r=jorendorff). 2009-06-29 15:19:37 -07:00
Jason Orendorff
71785f1019 Bug 499897 - reverse INULL in js_ComputeFilename. r=Waldo. 2009-06-25 18:03:46 -05:00
Igor Bukanov
795af78c24 bug 499570 - fixing shutdown leak of not-yet-closed JSNativeEnumerator instances. r=brendan 2009-06-23 18:52:03 +02:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05: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
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
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
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
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
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
Brendan Eich
0416e1e679 Bug 492355 - Suspected Txul regression from JS engine changes (r=igor). 2009-05-13 17:11:23 -07:00
Igor Bukanov
6c6cde911a bug 490364 - fixing bad typo in js_SetProtoOrParent. r=mrbkap 2009-05-13 15:05:28 +02: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
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
jorendorff
93c6d226d3 Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -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
Igor Bukanov
35116060a2 bug 489501 - consolidating
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -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
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
Igor Bukanov
b8405f1171 bug 487846 - optimizing shape prediction for set opcodes. r=brendan 2009-04-29 07:07:21 -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
Igor Bukanov
e4bc4e81cb bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst 2009-04-22 12:39:08 +02: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
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
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
Graydon Hoare
f97341fdf6 Bug 488363 - Missing write barrier on global object, r=jorendorff. 2009-04-17 15:25:25 -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
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
Igor Bukanov
577cb23ac0 bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-15 21:13:27 +02:00
Igor Bukanov
95c0598199 bug 488285 - fixing strict mode warnings with DOm window object. r=brendan 2009-04-15 16:09:58 +02: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
Igor Bukanov
6da0ea9b5e bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan 2009-04-11 10:11:06 +02:00