Граф коммитов

390 Коммитов

Автор SHA1 Сообщение Дата
David Mandelin 0ba9605dff Merge from Tracemonkey. 2010-07-26 11:52:26 -07:00
Chris Leary e55446d747 Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
David Mandelin 708f64efec Merge from tracemonkey. 2010-07-22 18:31:01 -07:00
David Mandelin af0a438d7b [JAEGER] Now using an environment variable to turn off crash dialog 2010-07-20 16:04:13 -07:00
David Anderson 625de2abf9 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Blake Kaplan 6993978ba0 Bug 577750 - Make computing global this a little simpler. r=jorendorff 2010-07-15 23:49:13 -07:00
Tom Austin f72bcb11bf Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Andrew Drake 5ffb7cccfd [JAEGER] Add assertion that function JITs. r=dvander, r=jorendorff, b=579145 2010-07-15 14:48:35 -07:00
Igor Bukanov 38e7ca75d4 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
David Anderson 80a267c9a9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner 0ba02c8e85 Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
Luke Wagner 37d4e500dc 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 dc772a1471 Get merge building js shell and passing trace/ref tests. Still need to fix up browser 2010-07-04 00:12:06 -07:00
Sean Stangl 5c53bd52c2 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Andreas Gal 4cabcc15b3 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Chris Leary 6013915100 Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander) 2010-07-02 13:37:39 -07:00
Luke Wagner dbc03ac46a Merge 2010-07-01 23:10:37 -07:00
Luke Wagner 264a7e69fa Double browser max heap size. Change shell heap size so it matches. 2010-06-30 20:02:00 -07:00
David Anderson d4943a0d8e [JAEGER] Merge from fatval. 2010-06-29 11:54:42 -07:00
Luke Wagner 47bd0c5268 Change runtime size to 128MB from 64MB. It seems like we are running up to this limit with v8-splay and so we spend a lot more time GC'ing. Need to see if we should do this for the browser as well. 2010-06-29 02:35:39 -07:00
David Anderson 66d88cfd60 [JAEGER] Merge from fatval. 2010-06-28 15:53:37 -07:00
David Anderson f08316a13c Fixed Linux 64-bit opt build. 2010-06-28 15:51:50 -07:00
Igor Bukanov 51ee6cf970 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
Luke Wagner ad475468cd Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Chris Leary 934a814f9b Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary 63cafa8360 Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
David Anderson 63c36bb9b8 [JAEGER] Merge from fatval branch. 2010-06-24 11:18:01 -07:00
Andrew Drake 234db1ca17 [JAEGER] Fix build on pedantic compilers, fix win32 shell. r=dvander 2010-06-22 19:11:50 -07:00
Luke Wagner e84c523750 Switch jsids back to pointer-sized and fix a bunch of broken assumptions 2010-06-16 18:21:34 -07:00
Dave Herman b185439bab bug 533874, r=jimb: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Chris Leary 4378946723 Update |dis| docs in the shell. (r=me) 2010-06-30 00:18:38 -07:00
Chris Leary 0580daf4bf Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red) 2010-06-26 18:09:07 -07:00
Chris Leary 07a90b8aa9 Bug 559408: Turn arena pool macros into methods. (r=gal) 2010-06-26 17:55:00 -07:00
Jason Orendorff 22c8bcfc79 Fix horrible bug in EvalInContext when the result is an object. rs=mrbkap. 2010-06-25 15:49:17 -05:00
Jason Orendorff 32b2497ff6 Bug 574320 - Tweaks to compartments API. r=gal. 2010-06-24 16:44:18 -05:00
Andreas Gal 2e963a06c6 Implement runtime-wide wrap hook (574299, r=mrbkap). 2010-06-24 16:45:32 -05:00
Jason Orendorff d2e82b75bd Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Igor Bukanov b7a9c7ba4e bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov a902a030c8 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Jeff Walden a08845bca9 Bug 581744 - Deprecate JSFUN_GETTER and JSFUN_SETTER; they never did much, and they're very nearly dead code already. r=brendan 2010-07-26 16:11:37 -07:00
Jason Orendorff 8ed1fc90b6 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
David Anderson 79d8c800d2 [JAEGER] Merge from fatval branch. 2010-06-10 14:01:11 -07:00
Luke Wagner c385bf93f5 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
Luke Wagner 1581c6693c Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
David Anderson 167fb64b1a [JAEGER] Merge from fatval. 2010-06-05 03:35:52 -07:00
David Anderson de25658fc2 Unbroke opt build. 2010-06-05 03:34:53 -07:00
David Anderson 3599d9ab76 [JAEGER] Merge from fatval branch. 2010-06-04 22:21:00 -07:00
David Anderson b4c0c260ab Fixed js_Disassemble1 decoding JOF_ATOM+JSOP_DOUBLE as astom (bug 570285). 2010-06-04 22:19:53 -07:00
David Anderson 4cdc84153a [JAEGER] Merge from fatval branch. 2010-06-04 22:11:53 -07:00
Luke Wagner ae26cfb5ae Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling 2010-06-04 16:55:08 -07:00
David Anderson 01c5a3c27c [JAEGER] Merge from fatval branch. 2010-06-03 23:04:57 -07:00
Luke Wagner a82f47cf8d Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
David Mandelin 9638251c64 Makefile changes to force pointers to 32 bits on OSX--this is just a stopgap for testing and shell development 2010-06-01 19:06:54 -07:00
David Anderson a3fff55ce3 [JAEGER] Merge from fatval. 2010-05-30 20:07:48 -07:00
Chris Leary 08c44ba8d5 Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Dave Herman 4c29abba51 bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
David Mandelin b547e2d6c4 Fix build for js shell 2010-05-26 15:35:52 -07:00
Robert Sayre c2dc9a473f Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Andreas Gal 5c0607d7f7 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Andreas Gal 747cb2177c Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary). 2010-06-03 15:27:29 -07:00
Andreas Gal bf2543ac9c Rip out proto cache and store prototypes in the global object (569537, r=jorendorff). 2010-06-02 20:30:45 -07:00
Andreas Gal b467ce3ba5 Must resolve standard classes even when assigning (568826, r=jorendorff). 2010-05-29 18:59:50 -07:00
David Anderson 044faf8261 Import method JIT 'outer' framework. 2010-05-22 17:09:52 -07:00
Luke Wagner 69f4dd5ffc Tighten checking with JSID, fix bug 2010-05-21 14:11:15 -07:00
Luke Wagner e7f85fb2db Up js shell gc limit so that splay fits 2010-05-21 11:34:05 -07:00
Jason Orendorff bcd051568e Bug 566549 - Crash [@ js_AllocSlot] or "Assertion failure: obj->map->ops->defineProperty == js_DefineProperty" with evalcx. r=brendan. 2010-05-19 13:23:53 -05:00
Igor Bukanov 991bd4709a bug 237006 - automatic detection of the native thread stack base. The patch is based on the initial patches for bug 516832 by gal and gregor. r=gregor 2010-05-19 10:29:05 +02:00
Andreas Gal 11fd8abaee Implement ES Harmony Proxies (bug 546590, r=mrbkap). 2010-05-18 19:21:43 -07:00
Jeff Walden 3895f0192e Null-check the parent before attempting to outerize. rs=brendan 2010-05-18 14:13:22 -07:00
Luke Wagner 7dd65fdb7a It compiles and links. Time to make it run 2010-05-17 21:21:44 -07:00
Luke Wagner 8de0e900b7 Fixing shell/js 2010-05-17 18:49:58 -07:00
Luke Wagner 6deef52726 Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander) 2010-03-03 18:10:13 -08:00
Luke Wagner 18ce0430d9 (fake) remove-regs patch 2010-03-03 18:10:13 -08:00
Luke Wagner 39a9e616c8 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner ccf6d88bac Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner bcb76e9891 (fake) contiguous patch 2010-03-03 17:52:26 -08:00
Andreas Gal 6a9d5642e1 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
David Mandelin 63d3f423f5 Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan 2010-05-04 18:06:30 -07:00
Jeff Walden b788714b36 Slightly better single-thread fix to parent() in jsshell. r=foopy 2010-05-04 19:50:53 -07:00
Chris Leary 15cbc5ef08 Fix shell build break on non-threadsafe. (r=me) 2010-05-04 19:34:21 -07:00
Jeff Walden f5a8913aa6 Fix bustage from not renaming a variable appropriately in a copy-paste. r=red 2010-05-04 18:27:50 -07:00
Jeff Walden 2565d74df2 Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Jeff Walden b54dc35195 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Luke Wagner 9c2aa20b22 Bug 563167 - propagate error out of Parse (r=cdleary) 2010-05-02 10:24:17 -07:00
Luke Wagner 48ef5714a2 Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan) 2010-04-30 17:34:54 -07:00
David Mandelin d67ef5b796 No bug, fixing a new MSVC warnings, no_r=me 2010-04-29 16:31:45 -07:00
Chris Leary 7dd25d05b6 Bug 558846 - Update parsemark to use js::Parser directly. r=jorendorff. 2010-04-15 10:53:27 -05:00
Luke Wagner b4cfe93147 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Jason Orendorff 735b4b66f1 Backed out changeset 8cb8888c68d3 due to failing mochitests. 2010-05-12 09:34:03 -05:00
Jason Orendorff ab890a859e Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap. 2010-05-12 08:15:49 -05:00
Robert Sayre 429925eb08 Backed out changeset 919950c7f0f0 2010-05-11 11:52:17 -04:00
Chris Leary e4b7af2e8e Bug 559408: Arena pool macros to methods. (r=gal) 2010-05-10 21:46:52 -07:00
Luke Wagner 9dd34c2056 Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo) 2010-04-08 11:22:04 -07:00
Luke Wagner 2b7a0bb15b Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Jason Orendorff b83a31d0a1 Fix Windows build failures (and a warning) due to rev 2d43edce33a2. No review. 2010-04-06 10:22:28 -05:00
Jason Orendorff 4c246345b7 Bug 545962 - Workers for the js shell. r=igor. 2010-04-06 08:15:15 -05:00
Dan Witte 64df6bef20 Bug 538324 - Move ctypes into js/src. Part 9: Add ctypes to jsshell. r=gal 2010-04-02 13:34:19 -07:00
Nicholas Nethercote c25c46cac5 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Robert Sayre a3f8c60900 Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Blake Kaplan 6e16081370 Bug 542858 - Don't pretend that the complex global object is a function. r=jorendorff 2010-03-22 16:43:08 -07:00
Igor Bukanov 3007509e8e bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Luke Wagner 1a5ac8dffa Add argv bounds check in js shell's EvalInFrame (no bug, r=me) 2010-03-16 09:45:07 -07:00
Nicholas Nethercote e5ae88ea3d Fix GCC warning. Follow-up to bug 552248. r=me. 2010-03-16 15:06:04 +11:00
Luke Wagner bc13ace285 Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo) 2010-03-15 19:24:08 -07:00
Chris Leary af83aebdec Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb 2010-03-15 16:42:06 -07:00
Nicholas Nethercote 19ef603530 Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal. 2010-03-12 17:33:54 +11:00
Chris Leary 38aba820b9 Bug 549971 - Add compile() function to JS shell. r=jorendorff. 2010-03-05 16:42:06 -06:00
Brendan Eich bab7b73c86 Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap). 2010-03-02 17:30:54 -08:00
Ginn Chen 65ec3b10bb Bug 543709 trace-test/tests/basic/bug529130.js failed with debug version on Solaris r=jimb 2010-03-29 17:27:51 +08:00
Blake Kaplan 6c657f301c Bug 542864 - Convert the right variable to an id. r=jorendorff 2010-02-26 17:06:23 -08:00
Luke Wagner a6fd25c981 Bug 546491 - fix tracevis (r=jorendorff) 2010-02-16 13:41:40 -08:00
Jason Orendorff 0029d63ded Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Jason Orendorff 24b5b3b5a4 In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
Robert Sayre 2896d8f55c Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Luke Wagner e8bbcd4204 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Brendan Eich 9a4df01be2 Disassemble function upvars a bit (496921, r=mrbkap). 2010-01-04 16:56:25 -08:00
Brian Crowder 963437a3d6 # vim: se ft=diff :
Bug 519843 - "JS shell on WinCE should run as if it NEVER has a tty, not as if it ALWAYS does" [r=mrbkap]
2009-09-30 15:41:00 -07:00
Jeff Walden 1d0194191d Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Jason Orendorff af6d5dde32 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal 05528526b6 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Igor Bukanov 5f0b26a266 bug 534590 - eliminating GCF_LOCK flag. r=brendan 2009-12-24 12:31:07 +03:00
Ben Turner fc5164fd73 Bug 534308 - 'Request needed for jsshell'. r=jorendorff. 2009-12-15 16:07:04 -08:00
Brendan Eich 70e6d55140 Fix uninitialized var bug (529679, r=jorendorff). 2009-11-18 15:56:34 -08:00
Blake Kaplan 92cf585dd1 Bug 520572 - Test watch() on an outer object. r=brendan/bc
--HG--
extra : rebase_source : e675a97028a914de51f39962b6865e2bf59f80fd
2009-11-18 12:58:28 +01:00
Igor Bukanov a221a8cebf bug 454435 - optimizing allocation of doubles. r=brendan 2009-10-08 20:08:00 +04:00
Blake Kaplan 327cb8ae4b Bug 516815 - Give shell JS a way to tell if the given object is an inner or outer object. Also correctly outerize in the shell for the thisObject hook. r=jorendorff 2009-09-15 15:16:36 -07:00
Jason Orendorff 041e1ae4b7 Bug 516715 - js shell should uneval results for display in interactive mode. r=brendan. 2009-09-15 14:54:48 -05:00
Jeff Walden 80c7edbe4f Bug 515285 - Implement JS_SameValue, and make assertEq use it rather than JS_StrictlyEqual. r=jorendorff 2009-09-09 11:51:52 -07:00
David Mandelin 2e0e4cf0a5 Bug 500857: show JIT reset events in tracevis, r=nnethercote
--HG--
extra : rebase_source : a9be775abf15badf980e3be3535e99b30ce5c235
2009-09-10 16:06:34 -07:00
Jason Orendorff a1b64df791 Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Julian Seward b896fa22b7 Bug 514647 - Fix space leaks in JS shell, r=gal.
--HG--
extra : rebase_source : 33073aa3fa68c69adaaf3516dc568b691a6573b5
2009-09-09 14:21:18 -07:00
Brendan Eich f8f42b0d5c Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff). 2009-09-04 16:27:17 -07:00
Luke Wagner fe4c179abc Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner d9cc89f4b8 Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner 7ee3ef9aad Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
Jason Orendorff 97bbf29bab Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Andreas Gal 362596e500 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
Andreas Gal eda2e34b81 Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -07:00
Andreas Gal e54edf011c Backout bug 506125. 2009-08-18 17:30:05 -07:00
Andreas Gal 2081aaca3a Schedule GC based on process memory pressure (506125, r=igor,waldo). 2009-08-18 16:38:02 -07:00
Jason Orendorff e8f352ea61 Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan. 2009-08-13 16:18:33 -05:00
Robert Sayre 6a5882b9c2 Merge mozilla-central to tracemonkey. 2009-08-12 12:18:38 -07:00
timeless@mozdev.org a9c29a01da Bug 505838 JS_GetStringBytes(JS_ValueToString(...)..) is a bad pattern
r=jorendorff
2009-08-12 11:49:53 +02:00
timeless@mozdev.org b83de1e706 Bug 505771 double free [@ JS_free - snarf] in jsshell
r=gal
2009-08-12 11:49:53 +02:00
timeless@mozdev.org 479170b7b5 Bug 505568 jsshell should use the public api for property iteration
r=mrbkap
2009-08-12 11:49:53 +02:00
Jason Orendorff 8dfeff71b5 Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Andreas Gal 3efe4f6d9d Backout bug 506125 due to talos failures. 2009-08-04 18:42:53 -07:00
Andreas Gal 41ac1aacfa Memory-pressure based GC scheduler (506125, r=igor). 2009-08-04 14:58:21 -07:00
Robert Sayre 69902e8154 Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Igor Bukanov 30e6654a6f bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
timeless@mozdev.org 21998de2d0 Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
Blake Kaplan d29b421047 Fix Windows build bustage. rs=brendan 2009-07-16 13:53:36 -07:00
Brendan Eich 18b6d80494 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
Johnny Stenback fae33caf0b Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Nicholas Nethercote b3e7c965b3 Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan 2009-06-16 09:30:01 +01:00
Jason Orendorff ed84c6a07b Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jim Blandy ef67809c16 Bug 503476: Use configure to decide whether to call sbrk. r=jorendorff
Symbian claims to be XP_UNIX, but doesn't have sbrk.
2009-08-04 11:38:51 -07:00
Igor Bukanov 04525b330e bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap 2009-06-03 20:44:20 +02:00
Graydon Hoare 92671cf336 Bug 492124 - TM: unit tests should gc() before each, to purge JIT state, r=brendan. 2009-05-08 17:02:37 -07:00
Robert Sayre f526a1c63a Merge tracemonkey to mozilla-central. 2009-04-28 20:33:18 -04:00
Andreas Gal 8db3034381 Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap). 2009-04-22 16:52:59 -07:00
Blake Kaplan 5f7e99d1f3 Bug 487684 - Store the last trace PC to pass into the decompiler. r=igor 2009-04-10 14:06:28 -07:00
Jason Orendorff a7fda7125c Bug 487413 - Delete unnecessary fast natives in js shell. r=gal.
--HG--
extra : rebase_source : f9bddb69e037871b9b3b85bf8ab6e181f771bab9
2009-04-09 16:30:10 -05:00
Robert Sayre 2e69946f94 Merge tracemonkey to mozilla-central. 2009-04-07 03:04:17 -04:00
Brendan Eich beddd6b688 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Robert Sayre 79fa88a5b2 Merge tracemonkey to mozilla-central 2009-04-05 21:24:42 -04:00
Andreas Gal 289afb7c03 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich e87b5e377f upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Jim Blandy 9b2409de8d 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
Vladimir Vukicevic 0859736f5f backing out 273c85c827e1 2009-03-27 16:42:49 -07:00
Vladimir Vukicevic b720a89399 b=484599; add calling convention tests to trace-tests and js shell; r=mrbkap 2009-03-27 14:35:46 -07:00
Igor Bukanov c790012b89 bug 485178 - proper stack limits for scatter threads. r=mrbkap 2009-03-26 17:06:49 +01:00
Igor Bukanov 0b45f43e1b Backed out changeset 0b36bddcefe4 for bug 485178 to fix compiletaion errors on some platforms. 2009-03-26 16:14:07 +01:00
Igor Bukanov 8907bff6d5 bug 485178 - proper stack limits for scatter threads. r=mrbkap 2009-03-25 19:06:31 +01:00
Ben Turner d298dff039 Bug 484796 - 'Add properties with getters and setters to the shell'. r=gal. 2009-03-24 21:30:23 -07:00
Robert Sayre 427567947e Merge tracemonkey to mozilla-central. 2010-05-24 16:27:35 -07:00
timeless@mozdev.org 7c9fd54c8e Bug 565593 crash [@ js_DestroyContext] if JS_NewContext fails in CancelExecution. r=jorendorff
--HG--
extra : rebase_source : a3d5e11c53a042e786560b90c2039f9183329a22
2010-05-23 15:37:31 -07:00
Vladimir Vukicevic c1e96bec22 b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Vladimir Vukicevic 208e4266b7 Backed out changeset 1eec75c27e2f 2009-04-24 10:43:19 -07:00
Vladimir Vukicevic 3611c48168 b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Brad Lassey ebd64f0158 bug 485227 - Don't force link jemalloc on windows ce r=ted, crowder 2009-03-31 12:27:25 -04:00
Jeff Walden 47f2bd4c31 Bug 396512 - Provide a way to get disassembly output. Original patch by crowder, back in the day, when everything was more hardcore. r=mrbkap 2009-01-28 15:31:30 -08:00
Bill McCloskey cf846e5f97 Bug 569422 - Miscellaneous fixes for GCed shapes (r=brendan) 2011-03-23 11:57:19 -07:00
Luke Wagner 2c5916ee4c Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Nicholas Nethercote 5221ca30e5 Fix warnings-as-errors breakage for bug 609523. 2011-03-21 21:52:39 -07:00
Nicholas Nethercote c4ac37ee42 Bug 609532 - Stop checking in code with warnings. r=dwitte. 2011-03-21 20:32:28 -07:00
Paul Biggar 7a5d0bf814 Bug 642327 - Add OOM regression checking to the shell via |make check|. (r=nnethercote)
In a known test file, there are 129 OOM errors. This adds a script which checks
the number of unhandled OOMs, and fails if it is not exactly 129. If we
accidentally increase the number of unhandled OOMs, this should catch it. If we
reduce the number of unhandled OOMs (which is the plan), then adjust this
number in Makefile.in.
2011-01-17 15:15:00 -08:00
Paul Biggar 392e612b8b Bug 640085 - Fix segfault in shark builds (r=gal) 2011-03-09 15:52:21 -08:00
Jeff Walden 8d5733e175 Bug 637905 - Add (asserted-infallible) append methods to js::Vector, for use when the vector in question has previously had space reserved, and use them a bunch of places. r=luke
--HG--
extra : rebase_source : 89002f1cb5160d89e90a22e54bdca1d57bf9deda
2011-02-18 18:32:29 -08:00
Andreas Gal dcec7b4da6 Remove ObjectOps trace hook (bug 639227, r=dvander). 2011-03-06 22:31:43 -08:00
Andreas Gal 8ae5cdf51d Backout bug 639227 due to orange. 2011-03-06 21:37:13 -08:00
Andreas Gal b0b0805245 Remove ObjectOps trace hook (bug 639227, r=dvander). 2011-03-06 20:49:54 -08:00
Andreas Gal 435098a75e Remove obsolete JSMarkOp API (bug 638291, r=jorendorff). 2011-03-05 14:50:11 -08:00
Nicholas Nethercote d71fd93c20 Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin. 2011-03-03 19:59:00 -08:00
Jason Orendorff 977ac70f66 Fix GCC warning about space character in printf format. No bug, rs=sfink. 2011-03-03 14:14:26 -06:00
Steve Fink ae7cbc0c4b Bug 612368 - add headers, line numbers to source note dump (r=dmandelin)
--HG--
extra : rebase_source : 11e88670e6f207875be76e54d8eb5ac802d88c92
2010-11-15 12:35:03 -08:00
Igor Bukanov a3480bf7f5 bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff 2011-02-03 14:06:21 +01:00
Ted Mielczarek ed228ee392 bug 480144 - fix spidermonkey to compile on mingw. r=bsmedberg,jorendorff 2009-03-11 11:56:58 -04:00
Igor Bukanov 3204383e5b bug 479430 - adding mixing operation callback calls. r=gal 2009-03-02 14:32:27 +01:00
Jason Orendorff e0aaca80e8 Bug 480199 - Add assertEq function to JS shell. r=mrbkap. 2009-02-27 14:14:28 -06:00