Commit Graph

611 Commits

Author SHA1 Message Date
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
Luke Wagner
facb1029e6 Bug 579183 - loosen-up StackSegment invariants - part 4 - StackSpace (r=waldo)
--HG--
extra : rebase_source : ef600f1185199cf65e251325995f772170502cca
2010-07-30 10:40:58 -07:00
David Anderson
8adb6cdddb [JAEGER] Put conservative marker in JSTracer, rather than GCMarker (bug 583149). 2010-07-29 18:46:45 -07:00
David Anderson
9621bf247c [JAEGER] Conservatively scan the JS stack (bug 583084, GC changes r=gregor). 2010-07-29 17:13:08 -07:00
Luke Wagner
bbea6273e3 Bug 579183 - loosen-up StackSegment invariants - part 3 - renaming (r=waldo)
--HG--
extra : rebase_source : 3adc886f47b9e0ae77e33cbe15dec9d831576266
2010-07-29 14:43:11 -07:00
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
Igor Bukanov
4eff9db05f bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
David Mandelin
00f96529d9 [JAEGER] Trying to get rid of build bustage and strict aliasing warnings surrounding usage of JS_ATOMIC_SET_MASK 2010-07-27 17:30:19 -07:00
Sean Stangl
22e444cff1 [JAEGER] Fix x86_64 strict aliasing warnings again.
The last merge with TraceMonkey blew away these changes.
2010-07-27 14:19:10 -07:00
Luke Wagner
271d6b6562 Bug 579183 - loosen-up StackSegment invariants - part 2 - xpconnect (r=mrbkap)
--HG--
extra : rebase_source : af3a68294495984e06db7c73a84e444f12c97a8d
2010-07-26 19:49:27 -07:00
David Mandelin
904ccc994c Merge from Tracemonkey. 2010-07-27 11:48:08 -07:00
David Mandelin
977f07340e [JAEGER] MSVC build fix, probably fallout from today's merge from TM. 2010-07-26 14:24:31 -07:00
David Mandelin
8702c2649d Merge from Tracemonkey. 2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Robert Sayre
c7bd912564 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Sean Stangl
ddd8e6e425 [JAEGER] Fix strict-aliasing bug on x86_64. 2010-07-26 00:49:48 -07:00
David Anderson
31e9292046 [JAEGER] Merge from tracemonkey. 2010-07-25 20:21:14 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Andrew Drake
0040af619a [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
David Mandelin
3c3566af26 [JAEGER] Merge from tracemonkey. 2010-07-23 18:47:24 -07:00
David Mandelin
cf0c3c24a7 Merge from tracemonkey. 2010-07-22 18:31:01 -07:00
David Mandelin
b7fa67c098 Backout merge. 2010-07-22 17:12:24 -07:00
David Mandelin
2d74ccfb40 Backed out changeset d1d52f7820f2 due to Mochitest crashes. 2010-07-22 17:11:10 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Sean Stangl
05cbb86f23 [JAEGER] Fix building without --enable-methodjit. 2010-07-21 17:25:04 -07:00
Andrew Drake
3f3b764d82 [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
Sean Stangl
5abdc6ec59 [JAEGER] Fix mac build: inlineCallCount is a uintN, not uintptr_t. 2010-07-20 23:41:46 -07:00
David Anderson
fa4e27c745 [JAEGER] Basic integration of tracing JIT and method JIT (bug 578727). 2010-07-20 18:01:16 -07:00
David Anderson
cf5a8cf505 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Peter Van der Beken
72204735c9 Fix for bug 582649 (Too-much-recursion crash with setUserData [@ * | XPCConvert::JSArray2Native]). r=mrbkap, a=bsmedberg. 2010-08-24 15:50:15 +02:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Chris Leary
1834523ed5 Bug 577708: Remove Algol-like display optimization. (r=dvander) 2010-07-11 00:57:13 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
4859d6f3af Fix build bust. Remove upper/lower case diagnostic in xpconnect 2010-07-05 14:02:41 -07:00
Luke Wagner
97d36215fd Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
Luke Wagner
d119486317 Merge from TM
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
a190b35d3a Browser build fixes (stuff still broken) 2010-07-04 12:35:21 -07:00
Luke Wagner
d52a11e637 Get merge building js shell and passing trace/ref tests. Still need to fix up browser 2010-07-04 00:12:06 -07:00
Andreas Gal
38966949eb Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Luke Wagner
15a253d499 Merge 2010-07-01 23:10:37 -07:00
Igor Bukanov
d7aedab4b6 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Andreas Gal
4e11d941dd Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Andreas Gal
a148529929 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Luke Wagner
05a3a958d0 Move jsprvtd.h above jshashtable.h include in jscntxt.h to hopefully fix msvc bustage 2010-07-26 21:52:00 -07:00
Igor Bukanov
248a67333b bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
David Anderson
a3709f170d [JAEGER] Merge from fatval branch. 2010-06-24 11:18:01 -07:00
Andrew Drake
73b4caf315 [JAEGER] Facilitate iteration over all JSStackFrames in the current stack. r=dvander 2010-06-23 21:59:23 -07:00
David Anderson
76bce82fed Backed out changeset 283566427469 2010-06-23 23:21:46 -07:00
Andrew Drake
8619e4fd69 [JAEGER] Facilitate iteration over all JSStackFrames in the current stack. r=luke 2010-06-23 21:59:23 -07:00
David Anderson
884b494c29 [JAEGER] Re-added Dave Mandelin's polymorphic inline caches for GETPROP (bug 572310). 2010-06-19 21:58:55 -07:00
Luke Wagner
ab09c2952d Switch jsids back to pointer-sized and fix a bunch of broken assumptions 2010-06-16 18:21:34 -07:00
Andreas Gal
7c91c2898c Fix warnings (no bug, r=mrbkap). 2010-06-25 17:57:53 -05:00
Andreas Gal
1efe5e2ec6 Implement runtime-wide wrap hook (574299, r=mrbkap). 2010-06-24 16:45:32 -05:00
Andreas Gal
69df940a4e Back out bug 580803. 2010-07-28 11:20:19 -07:00
Jason Orendorff
c1a1fb9be1 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Gregor Wagner
80ca0e83eb Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
David Anderson
858278d975 [JAEGER] Merge from fatval branch. 2010-06-10 14:01:11 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
David Anderson
dfa571f425 [JAEGER] Added JSOP_EXCEPTION, JSOP_SETLOCALPOP. 2010-06-09 01:32:40 -07:00
Andrew Drake
eba8539f0d Merge. 2010-06-07 23:58:42 -07:00
Andrew Drake
3f53cbb073 [JAEGER] Generalize operation callback mechanism and implement for methodjit, r=dvander 2010-06-07 23:55:13 -07:00
David Anderson
ad6f6ffb02 [JAEGER] Merge from fatval branch. 2010-06-07 19:29:40 -07:00
Luke Wagner
9814243213 xpconnect builds 2010-06-07 13:57:40 -07:00
Igor Bukanov
24dee0ab53 bug 557538 - custom GC chunk allocation. r=gal,jorendorff 2010-06-07 11:17:15 +02:00
David Anderson
8e4fe7b3e9 [JAEGER] Merge from fatval branch. 2010-06-03 23:04:57 -07:00
Luke Wagner
8f6c06b148 Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
Brendan Eich
734c3a1ba9 Back out a81f2aed9c9b due to orange. 2010-06-18 17:39:22 -07:00
Brendan Eich
157c408713 Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal). 2010-06-15 10:06:40 -07:00
Jason Orendorff
6472e34dba Bug 570169 - Part 1, preparation. Rearrange some code. r=gal. 2010-06-16 16:13:01 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Robert Sayre
09e6a02419 Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Andreas Gal
70617110b8 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Andreas Gal
64497c9a69 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-03 21:41:01 -07:00
Andreas Gal
3a5ff09808 Don't allow proxies to be fixed while handler traps execute (568473, r=igor). 2010-06-03 18:12:01 -07:00
David Anderson
38d6c177d7 [JAEGER] Merge from fatval. 2010-05-25 16:22:37 -07:00
David Anderson
0c7a8cdb75 [JAEGER] Merge from fatval. 2010-05-25 14:17:37 -07:00
Luke Wagner
5cbf1c02f9 Merge 2010-05-25 11:31:47 -07:00
Luke Wagner
2a81dc5df9 Use nan-boxing, only working on 32-bit 2010-05-25 11:20:59 -07:00
David Mandelin
8aa596de26 Fix most MSVC warnings. 2010-05-24 13:26:38 -07:00
Jason Orendorff
a1e58bc1c7 Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests. 2010-06-02 23:48:22 -07:00
Andreas Gal
c7677875dc Rip out proto cache and store prototypes in the global object (569537, r=jorendorff). 2010-06-02 20:30:45 -07:00
Andreas Gal
a17cfb3b61 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-02 20:11:56 -07:00
Jason Orendorff
b776dfabce Bug 568070 - jsapi.cpp refactoring. Part Q, CHECK_REQUEST in js_Atomize and js_AtomizeChars, as requested in reviews.
--HG--
extra : rebase_source : 33f35f7723315a96ccf15d72d23df00e5dd9a238
2010-06-02 00:23:43 -07:00
Brendan Eich
9c5f58d3ca Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff). 2010-06-01 15:01:11 -07:00