Commit graph

111 commits

Author SHA1 Message Date
Jason Orendorff
2cb53b9348 Bug 556315 part 1 - Remove GCReachableFrame. r=gal.
--HG--
extra : rebase_source : 1db26956cf3f73f1213ab222f4c3ee12637265c5
2010-03-31 17:17:20 -05:00
Blake Kaplan
52d8139de2 Bug 515496 - Eliminate extra security check when computing this. r=jorendorff. 2010-02-11 17:04:42 -08:00
Nicholas Nethercote
a1a894fc1c Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Jeff Walden
1060be6986 Readd jsdbgapi.cpp, json.cpp, jsopcode.cpp, and jstracer.cpp changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
cc578ac362 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
1066acafbb Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Jeff Walden
09fcef71f2 Bug 551007 - Make JSScopeProperty::attrs private, hide information behind accessor methods. r=jorendorff 2010-03-08 15:44:59 -07:00
Luke Wagner
c78f4378e4 Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Jeff Walden
4509038fa5 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Igor Bukanov
382035ba66 bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Mike Moening
9cab0c75a6 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Jason Orendorff
8167bb1a7c Bug 548276 - "Assertion failure: HAS_FUNCTION_CLASS(funobj), at ../jsdbgapi.cpp". r=jwalden. 2010-03-01 11:07:40 -06:00
Jason Orendorff
965ff56790 Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo. 2010-02-24 17:40:28 -08:00
Luke Wagner
bc135807f0 Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00
Luke Wagner
70b736d293 Bug 546491 - fix tracevis (r=jorendorff) 2010-02-16 13:41:40 -08:00
Jason Orendorff
99f75d684d Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Luke Wagner
742f31ca8a Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo) 2010-01-29 18:25:16 -08:00
Igor Bukanov
42951409df bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Luke Wagner
a9ec05dc01 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Jason Orendorff
aa87db6fa2 Bug 538440 - We never jit DOM workers. r=mrbkap. 2010-01-20 14:54:34 -06:00
Igor Bukanov
ed26802b5f bug 528486 - eliminating GCF_CHILDREN. r=brendan 2009-12-14 10:55:17 +03:00
Robert Sayre
151c899bb9 Merge 2009-12-01 15:51:22 -05:00
Robert Sayre
1c1ae69c8b Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Robert Sayre
bcf74f32e2 Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Blake Kaplan
d8a40bbfc4 Bug 468506 - JS_GetFrameThis needs to call js_ComputeThis in more cases. r=brendan
--HG--
extra : rebase_source : 2a107feb26544159f04b60c27508338cef8fdf7f
2009-11-30 16:05:44 -05:00
Brendan Eich
ee624984d8 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08:00
Jason Orendorff
aecd55e46e Bug 519719 - TM: crash [@ JS_GetFrameThis] - SynthesizeFrame passes partly-uninitialized JSStackFrame to callHook. r=mrbkap. 2009-11-13 11:04:23 -06:00
Igor Bukanov
6019e0bbb6 bug 527803 - avoiding unnecessary js_AddRoot. r=brendan 2009-11-12 23:13:25 +01:00
David Mandelin
3a9f926349 Bug 519363 debugging followup: strip diagnostic instrumentation, r=lw 2009-11-09 16:57:47 -08:00
Blake Kaplan
6ae86ed2d9 Bug 520572 - Set watchpoints on the object that's guaranteed to see all changes. r=brendan 2009-11-04 19:42:41 +01:00
Brendan Eich
7bbe5bcd01 Don't build a stack frame to execute empty scripts (516827, r=igor). 2009-10-18 17:41:24 -07:00
Robert Sayre
574b9316a9 Merge tracemonkey to mozilla-central. 2009-10-10 20:42:24 -05:00
Jim Blandy
2b9bcea9dc Bug 515233: Make the static level its own parameter to JSCompiler::compileScript. r=igor
Pre-patch, the initial static level at which a script should be
compiled to run is passed in the upper sixteen bits of the tcflags
parameter to JSCompiler::compileScript; because JSTreeContext::tcflags
is a uint16, while the tcflags parameter is a uint32, we know the
parameter's upper bits are free.

However, we would like to enlarge JSTreeContext::tcflags to 32 bits,
as we already have a handful of new flags that belong there.  This
patch moves the static level to its own parameter, which has a default
argument.
2009-10-08 10:29:03 -07:00
David Mandelin
fd6ac24921 Bug 519363 - topcrash [@ js_Interpret], change some code to aid in debugging efforts. r=brendan
--HG--
extra : rebase_source : 51c16011f74f154bee8d124b2dedfd5f2f5a5a62
2009-10-07 17:30:34 -07:00
Blake Kaplan
b0389d481f Bug 517041 - Instead of giving pseudo frames an sp, protect against null sps during GC. r=brendan 2009-09-16 16:13:41 -07:00
Blake Kaplan
1c44d718e1 Bug 516897 - Give the pseudo frame an sp that the GC can appreciate. r=waldo 2009-09-16 00:49:25 -07:00
Luke Wagner
5371886966 Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Jason Orendorff
714d4280ea Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Brendan Eich
77633b2ad0 JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal). 2009-09-07 00:35:27 -07:00
Igor Bukanov
8c03c81096 bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Igor Bukanov
2868bafa02 bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Jason Orendorff
234d2dcbdb Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
David Anderson
1be8ca276a Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
Igor Bukanov
5ba3decb1f bug 495061 - js_PutArgsObject and js_PutCallObject that never fail. r=brendan 2009-08-14 20:43:16 +02:00
Jason Orendorff
b9ad5fce20 Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
David Mandelin
5b023054b1 Bug 508178: guard that arguments object refers to the same frame if used on trace, r=jorendorff 2009-08-05 12:39:10 -07:00
Igor Bukanov
722e261af9 bug 507573 - followup - fixing a typo in putActivationObjects usage. 2009-08-05 16:27:54 +02:00
Igor Bukanov
18063e5ad2 bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden 2009-08-04 23:06:55 +02:00
Igor Bukanov
09801bf00f bug 507573 - put activation clenup. r=brendan 2009-08-04 12:55:58 +02:00
Mark Steele
1af5610ff2 Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff 2009-07-30 11:48:02 -07:00