Nicholas Nethercote
795d4b8ad2
Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan.
2010-03-31 22:13:51 -07:00
Robert Sayre
baeb2d1edf
Merge mozilla-central to tracemonkey.
2010-03-30 21:13:01 -07:00
Blake Kaplan
95202e3175
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
6231f35ccd
bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap
2010-03-17 10:29:37 +03:00
Luke Wagner
81068bf894
Add argv bounds check in js shell's EvalInFrame (no bug, r=me)
2010-03-16 09:45:07 -07:00
Nicholas Nethercote
af2a645261
Fix GCC warning. Follow-up to bug 552248. r=me.
2010-03-16 15:06:04 +11:00
Luke Wagner
116a193009
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
431c00210e
Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb
2010-03-15 16:42:06 -07:00
Nicholas Nethercote
93befc3c5e
Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal.
2010-03-12 17:33:54 +11:00
Chris Leary
82a9895df9
Bug 549971 - Add compile() function to JS shell. r=jorendorff.
2010-03-05 16:42:06 -06:00
Brendan Eich
9c8234d49b
Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap).
2010-03-02 17:30:54 -08:00
Ginn Chen
e152a98890
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
bd22a432d9
Bug 542864 - Convert the right variable to an id. r=jorendorff
2010-02-26 17:06:23 -08:00
Luke Wagner
87a5e61db3
Bug 546491 - fix tracevis (r=jorendorff)
2010-02-16 13:41:40 -08:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Jason Orendorff
ec026e759a
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
c7ce498f03
Merge mozilla-central to tracemonkey.
2010-01-29 09:51:21 -08:00
Luke Wagner
2645ecd2da
Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff)
2010-01-22 14:49:18 -08:00
Brendan Eich
9a805a7cae
Disassemble function upvars a bit (496921, r=mrbkap).
2010-01-04 16:56:25 -08:00
Brian Crowder
d54cb40dda
# 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
Igor Bukanov
a9c4fac55a
bug 534590 - eliminating GCF_LOCK flag. r=brendan
2009-12-24 12:31:07 +03:00
Ben Turner
319b99a47b
Bug 534308 - 'Request needed for jsshell'. r=jorendorff.
2009-12-15 16:07:04 -08:00
Brendan Eich
d8d7d789d5
Fix uninitialized var bug (529679, r=jorendorff).
2009-11-18 15:56:34 -08:00
Blake Kaplan
f3b7e0182c
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
fe9d4ed1fa
bug 454435 - optimizing allocation of doubles. r=brendan
2009-10-08 20:08:00 +04:00
Blake Kaplan
4a42334b38
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
f3527c52c4
Bug 516715 - js shell should uneval results for display in interactive mode. r=brendan.
2009-09-15 14:54:48 -05:00
Jeff Walden
9d39c0d549
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
0fcb7aaa76
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
b53824855d
Bug 513119 - Change JSScript macros to methods. r=Waldo.
2009-09-09 18:52:55 -05:00
Julian Seward
b8505fdfae
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
fd61e1b61a
Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff).
2009-09-04 16:27:17 -07:00
Luke Wagner
6bfe9f9329
Bug 460904 - rename/tweak JSTraceableFunction (take 2)
2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d
Backed out changeset 94da2f68afdb
2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2
Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff)
2009-09-03 11:57:14 -07:00
Jason Orendorff
dafc9b5d2a
Bug 508685 - Remove last parameter of defineProperty op. r=brendan.
2009-08-26 14:28:36 -07:00
Andreas Gal
030a8114b2
Backed out changeset 9b6b17a275ec (bug 506125).
2009-08-25 14:42:42 -07:00
Andreas Gal
f808b9ca98
Memory-pressure based GC scheduler (506125, r=igor,jwalden).
2009-08-24 18:24:52 -07:00
Andreas Gal
c438241025
Backout bug 506125.
2009-08-18 17:30:05 -07:00
Andreas Gal
57285268f7
Schedule GC based on process memory pressure (506125, r=igor,waldo).
2009-08-18 16:38:02 -07:00
Jason Orendorff
8384b1e239
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan.
2009-08-13 16:18:33 -05:00
Robert Sayre
c8a923e58e
Merge mozilla-central to tracemonkey.
2009-08-12 12:18:38 -07:00
timeless@mozdev.org
191308c5ea
Bug 505838 JS_GetStringBytes(JS_ValueToString(...)..) is a bad pattern
...
r=jorendorff
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
ccd14cb0e0
Bug 505771 double free [@ JS_free - snarf] in jsshell
...
r=gal
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
354de8a330
Bug 505568 jsshell should use the public api for property iteration
...
r=mrbkap
2009-08-12 11:49:53 +02:00
Jason Orendorff
9dc4a54a5d
Bug 498488 - Change some JSObject macros to methods. r=Waldo.
2009-08-11 15:05:44 -05:00
Andreas Gal
9c938dd547
Backout bug 506125 due to talos failures.
2009-08-04 18:42:53 -07:00
Andreas Gal
06ad033ff2
Memory-pressure based GC scheduler (506125, r=igor).
2009-08-04 14:58:21 -07:00
Robert Sayre
a181aec2ed
Merge mozilla-central to tracemonkey.
2009-07-23 16:49:14 -04:00
Igor Bukanov
9534c3d315
bug 504033 - avoiding calling JSFinalizeStub. r=brendan
2009-07-22 18:23:21 +02:00
timeless@mozdev.org
145236e39f
Bug 504474 JS_ValueToBoolean is void
...
r=brendan
2009-07-22 17:31:04 -05:00
Blake Kaplan
0a6a7cef0c
Fix Windows build bustage. rs=brendan
2009-07-16 13:53:36 -07:00
Brendan Eich
f60779aef5
Bug 503343 - Change JSScope macros to methods. r=jorendorff
2009-07-09 15:27:21 -05:00
Johnny Stenback
a511964116
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
e2a97e3f4c
Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan
2009-06-16 09:30:01 +01:00
Jason Orendorff
52fe5a97ba
Bug 497618 - Change JSString macros to methods. r=Waldo.
2009-06-10 20:29:44 -05:00
Jim Blandy
8c8b80b16e
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
5f8aa186ab
bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap
2009-06-03 20:44:20 +02:00
Graydon Hoare
3330967d8a
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
33a65e9684
Merge tracemonkey to mozilla-central.
2009-04-28 20:33:18 -04:00
Andreas Gal
a51f22dbdf
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
1c5e6afeac
Bug 487684 - Store the last trace PC to pass into the decompiler. r=igor
2009-04-10 14:06:28 -07:00
Jason Orendorff
e8a9ce3fda
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
d7754d986a
Merge tracemonkey to mozilla-central.
2009-04-07 03:04:17 -04:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Robert Sayre
2d22be3f01
Merge tracemonkey to mozilla-central
2009-04-05 21:24:42 -04:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Jim Blandy
02252a653d
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
c32792f55e
backing out 273c85c827e1
2009-03-27 16:42:49 -07:00
Vladimir Vukicevic
2a8f257f6d
b=484599; add calling convention tests to trace-tests and js shell; r=mrbkap
2009-03-27 14:35:46 -07:00
Igor Bukanov
474bffab88
bug 485178 - proper stack limits for scatter threads. r=mrbkap
2009-03-26 17:06:49 +01:00
Igor Bukanov
a184e8f37e
Backed out changeset 0b36bddcefe4 for bug 485178 to fix compiletaion errors on some platforms.
2009-03-26 16:14:07 +01:00
Igor Bukanov
5652e9c9b3
bug 485178 - proper stack limits for scatter threads. r=mrbkap
2009-03-25 19:06:31 +01:00
Ben Turner
7660fa19f9
Bug 484796 - 'Add properties with getters and setters to the shell'. r=gal.
2009-03-24 21:30:23 -07:00
Robert Sayre
91c79aee06
Merge tracemonkey to mozilla-central.
2010-05-24 16:27:35 -07:00
timeless@mozdev.org
b5a03652d7
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
9be2078d7e
b=488608; enable jemalloc on CE6; r+sr=stuart
2009-04-24 10:31:18 -07:00
Vladimir Vukicevic
801b1f9b61
Backed out changeset 1eec75c27e2f
2009-04-24 10:43:19 -07:00
Vladimir Vukicevic
aa56e5c711
b=488608; enable jemalloc on CE6; r+sr=stuart
2009-04-24 10:31:18 -07:00
Brad Lassey
183b8bf73f
bug 485227 - Don't force link jemalloc on windows ce r=ted, crowder
2009-03-31 12:27:25 -04:00
Ted Mielczarek
d0e46c0bc4
bug 480144 - fix spidermonkey to compile on mingw. r=bsmedberg,jorendorff
2009-03-11 11:56:58 -04:00
Igor Bukanov
7f8a45e9f9
bug 479430 - adding mixing operation callback calls. r=gal
2009-03-02 14:32:27 +01:00
Jason Orendorff
ed15261253
Bug 480199 - Add assertEq function to JS shell. r=mrbkap.
2009-02-27 14:14:28 -06:00
Jason Orendorff
44263bbd33
Bug 479551 - Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread, at js/src/jsapi.cpp:957 after typing EOF at js shell prompt. r=igor and mrbkap.
...
--HG--
extra : rebase_source : 56a0fc0823e7a9500befc65da530d86bba564a97
2009-02-23 17:28:46 -06:00
Robert Sayre
12943580cf
Merge m-c to tracemonkey.
2009-02-23 12:44:23 -05:00
Igor Bukanov
45a09793e2
bug 479701 - single-threaded js shell now compiles on Windows again (regression from bug 479252)
2009-02-22 21:21:16 +01:00
Igor Bukanov
fe9a728583
bug 479252 - avoiding watchdog ticks when idle in jsshell. r=gal
2009-02-20 13:47:46 +01:00
Nicholas Nethercote
bf6590048b
Bug 478340 - TM: kill many of the warnings when building 'js'. r=mrbkap
2009-02-19 11:17:31 -08:00
Jason Orendorff
e84dbf81b7
Bug 432361 - "Assertion failure: script->code[offset] == JSOP_NOP" with trap, dis. r=crowder.
2009-02-18 18:33:09 -06:00
Robert Sayre
695b4646c3
Merge tm to mc
2009-02-19 11:48:08 -05:00
Jim Blandy
ede7e6d142
Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
...
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more. In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.
Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h. The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Robert Sayre
a3ab3a989e
Merge tm to m-c.
2009-02-17 20:08:01 -05:00
Leon Sha<leon.sha@sun.com>
3b110ae248
Bug 477187 - Eliminate operationCount. Add signal.h to include files. gal: review+
2009-02-12 09:37:41 +08:00
Andreas Gal
fd4421f8bd
Don't try to align fragment entry with nopl since some processors do not support it (473552, r=graydon).
2009-02-10 17:18:57 -08:00
Andreas Gal
93eb39269d
Substitute operation counting with a watchdog thread (477187, 3nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 14:07:01 -08:00
Andreas Gal
474d0d308f
Backout bug 477187.
2009-02-10 09:54:14 -08:00
Andreas Gal
f796bcd60a
Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de
Backing out bug 477187. Breaks xpcshell.
2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac
Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-09 18:20:50 -08:00