Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Anderson
d92676b53f
[JAEGER] Remove tracerecursion (bug 591539, r=luke).
2010-08-27 21:18:58 -07:00
David Mandelin
c056a07f6b
Backed out changeset 41e3e584023f -- more tinderbox bustage.
2010-08-27 18:51:14 -07:00
David Anderson
8d3e96d32e
[JAEGER] ICs for scripted calls (bug 587698, r=dmandelin).
2010-08-27 17:50:53 -07:00
Sean Stangl
ef6068d3b0
[JAEGER] Backed out changeset 1035fdc5d714. no_r=fire.
2010-08-27 10:42:10 -04:00
Jan de Mooij
5209097cb3
[JAEGER] Added fast-path for >>> (bug 589932, r=dvander).
2010-08-26 01:29:52 -04:00
David Anderson
e9aeb4b8bb
Backed out changeset ebd2b956b565.
2010-08-26 02:30:08 -04:00
David Anderson
169050a338
[JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin).
2010-08-26 01:29:52 -04:00
David Anderson
194facbde7
[JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin).
2010-08-24 22:57:35 -04:00
David Mandelin
02f201cead
[JAEGER] Merge from tracemonkey.
2010-08-23 11:35:14 -07:00
Jim Blandy
285b03968f
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
David Mandelin
6f19cd8199
[JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet
2010-08-16 15:37:15 -07:00
David Mandelin
c0001dbe3b
[JAEGER] Merge from Tracemonkey.
2010-08-16 15:31:14 -07:00
Brian Hackett
ed4defc8b5
Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw
2010-08-15 08:44:51 -04:00
Chris Leary
b725adffe8
Bug 586358: make imacpc flagged. (r=lw)
2010-08-15 04:16:54 -07:00
Jim Blandy
4e04561ee9
Revert fixes for bug 438633, bug 585803
2010-08-12 14:07:52 -07:00
Jim Blandy
ce4b4e5c9e
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-12 12:38:37 -07:00
Andrew Drake
bc97d0240e
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
Andrew Drake
ebfb6d0eca
Backed out changeset a8aeff259925 and fix due to random crashes.
2010-08-11 02:35:10 -07:00
Andrew Drake
e4ec6d69ff
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
ddcca372a7
Backed out changeset a661b26a83a1 due to tinderbox failures.
2010-08-06 11:41:28 -07:00
Andrew Drake
469286fcd4
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
Jeff Walden
443f3f510a
Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
...
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
David Mandelin
4c5a188923
[JAEGER] Merge from Tracemonkey.
2010-07-29 13:23:33 -07:00
David Mandelin
904ccc994c
Merge from Tracemonkey.
2010-07-27 11:48:08 -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
David Anderson
c86e32a060
[JAEGER] Fixed build warnings from merge fallout.
2010-07-20 13:53:24 -07:00
Robert Sayre
250c59eece
Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances.
2010-08-01 09:58:03 -07:00
Robert Sayre
9bae5e1079
Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon.
2010-07-31 14:01:26 -07:00
David Anderson
64fd3377e9
[JAEGER] Merge from fatval & TM.
2010-07-05 18:07:39 -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
Chris Leary
aa4f41d836
Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander)
2010-07-02 13:37:39 -07:00
David Anderson
9c55bbcdbc
[JAEGER] Merge from fatval.
2010-06-30 11:46:07 -07:00
Luke Wagner
f82e2f8002
Take the "Raw" out of MarkRaw and MarkGCThingRaw. It offends Andreas, and it might be a bad name
2010-06-29 23:02:23 -07:00
David Anderson
7c08affa73
[JAEGER] Make x64 tinderboxes happy.
2010-06-28 15:53:07 -07:00
Jeff Walden
173c4d1adf
Bug 531675 - Ignore the second argument of eval, except to warn once per JSScript (per function, or per global script for uses not in functions) that it's not supported. (Again.) r=mrbkap
...
--HG--
extra : rebase_source : 2a0b9670e7c2c90ab0c41d37e3ab99c3bbc4c819
2010-07-23 11:27:07 -05:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
David Mandelin
0800a12fa5
Windows browser build fixes for js/src
2010-06-23 19:01:50 -07:00
David Anderson
4d054d48ba
[JAEGER] Don't optimize escaping variables (bug 566022).
2010-06-18 11:07:15 -07:00
David Anderson
d5d0ad5d93
[JAEGER] Guard that calls have compiled code.
2010-06-17 18:36:28 -07:00
David Anderson
82d98ad449
[JAEGER] Predict unbound names as being on the global object (bug 564949).
2010-06-12 19:00:27 -07:00
Igor Bukanov
2019c722fb
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Igor Bukanov
181c2cdf3a
Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution.
2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02: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
8e4fe7b3e9
[JAEGER] Merge from fatval branch.
2010-06-03 23:04:57 -07:00
Luke Wagner
8846bb56a4
Fix failing reftests. Align consts stored in scripts
2010-06-03 18:22:37 -07:00
Luke Wagner
8f6c06b148
Remove jsboxedword, change jsid to be a jsval
2010-06-02 19:09:04 -07:00
Jeff Walden
3de322ba70
Bug 629187 - Strict mode keywords are accepted as argument names and function name for strict mode functions. r=jimb
...
--HG--
extra : rebase_source : adce872db2d58e32a53995d757a85da50c8f63a4
2011-01-26 16:46:38 -08:00
Igor Bukanov
6a2a31a624
bug 630039 - fixing JSScript size sgtatic assert. r=dmandelin
2011-02-01 14:53:35 +01:00
Chris Leary
074bd0c596
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Chris Leary
1771b7c232
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Jeff Walden
49b0d53f93
Bug 623301 - Properly root arguments names during a call to Function(). r=brendan
...
--HG--
extra : rebase_source : 4c397e75a23eca275c6fea1b50d675ff23fea2ba
2011-01-05 16:50:30 -06:00
Brendan Eich
0b7d9754dc
Get rid of JSOP_{GET,CALL}UPVAR and simplify code greatly (592202, r=jorendorff).
2010-12-29 23:46:50 -08:00
Jeff Walden
d6e9eb57fe
Back out 86285f568e0c for orange.
2011-01-07 15:03:39 -06:00
Jeff Walden
8e764445c1
Bug 623301 - Properly root arguments names during a call to Function(). r=brendan
...
--HG--
extra : rebase_source : 62f1e5d974ef8a208d8c661dfb29f292371f8c14
2011-01-05 16:50:30 -06:00
Robert Sayre
fb8e491fc9
Backed out changeset 2025b4eeca14
2011-01-06 21:40:23 -05:00
Jeff Walden
1b58ec2b7a
Bug 623301 - Properly root arguments names during a call to Function(). r=brendan
2011-01-05 16:50:30 -06:00
Nicholas Nethercote
42704598e2
Bug 610070 - Large amount of heap allocation from js::PropertyTable::init. r=brendan.
2011-01-03 17:14:55 -08:00
David Mandelin
530a85948d
Fix MSVC warnings.
2011-01-03 13:25:17 -08:00
Jeff Walden
32dfb1669c
Followup to bug 614493 to fix GCC overwarning about 'uninitialized' variables in js_XDRScript. r=warnings
...
--HG--
extra : rebase_source : ce0062c356524ee14dedf39e67c6aa1880259afb
2010-12-30 16:40:21 -06:00
Jeff Walden
f7bec8a9e8
Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan
2010-11-16 15:34:24 -08:00
Brian Hackett
be4d109005
Don't generate INITPROP/INITELEM for singleton constant initializers, bug 577359.
2010-12-30 08:07:43 -05:00
Bill McCloskey
9090d0a347
Bug 584860 - TraceMonitor cleanups (r=igor)
2010-12-22 14:00:06 -08:00
Bill McCloskey
c8eee530e2
Bug 584860 - Move TraceMonitor into compartment (r=gal)
2010-12-22 12:02:25 -08:00
David Anderson
7427ea1c19
Backed out changeset 752bab2cb85b.
2010-05-23 20:27:13 -07:00
David Anderson
51f21f92ba
Statically bind global variable references where possible (bug 561923, r=brendan).
2010-05-23 17:15:16 -07:00
David Anderson
ef81792b37
[JAEGER] Re-added JIT script releasing.
2010-05-22 17:45:52 -07:00
David Anderson
285a986008
Statically bind global variables where possible (bug 561923, r=brendan).
2010-05-22 15:38:04 -07:00
Luke Wagner
d3a3926b34
Fix bugs
2010-05-18 17:25:12 -07:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Luke Wagner
0a7c4f2ffb
convert up to jsstr
2010-05-13 14:49:26 -07:00
Luke Wagner
6c0883c94f
Merge from tracemonkey
2010-05-11 00:41:08 -07:00
Luke Wagner
4e71f5312b
(unrebased) fat value patch
2010-05-10 22:01:31 -07:00
Luke Wagner
fb7ceb4c78
Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander)
2010-03-03 18:10:13 -08:00
Luke Wagner
bddd202c18
(unrebased) remove regs
2010-03-03 18:10:13 -08:00
Luke Wagner
24a4486456
(fake) remove-regs patch
2010-03-03 18:10:13 -08:00
Jason Orendorff
08bfa47c56
Bug 553671 part 4 - RAII for JS_{LOCK,UNLOCK}_GC and JS_{KEEP,UNKEEP}_ATOMS. r=luke.
...
--HG--
extra : rebase_source : dfdfcdd3a602e12de1836068e2c9f16fce46d7b2
2010-04-08 07:54:18 -05:00
Igor Bukanov
d14ffdc7bb
bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff
2010-04-24 00:15:42 +02:00
Nicholas Nethercote
b90709d529
Bug 558714 - js_ScriptClass doesn't need a reserved slot. r=brendan.
2010-04-13 19:38:49 -07:00
Dave Herman
ed6c552bb7
Bug 558437 - rename JSCompiler to js::Parser (r=brendan).
2010-04-10 21:15:35 -07:00
Nicholas Nethercote
684396fb91
Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal.
2010-03-30 14:42:48 -07:00
Jeff Walden
3e9195e624
Readd jsiter.cpp, jsscript.cpp, jsxml.cpp changes for bug 548702.
2010-03-29 11:36:33 -07:00
Jeff Walden
0973dfd6ab
Merge.
2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3
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
Jason Orendorff
d5f9ef6c2a
Bug 500431 part 3 - Rename JSPropertyCache to js::PropertyCache and other renamings. r=brendan.
2010-03-24 21:20:44 -05:00
Chris Leary
8e0decc494
Bug 553423 - JS scanner namespacing cleanup (r=lw)
2010-03-21 16:07:48 -07:00
Luke Wagner
1e33f57b39
Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!)
2010-03-18 22:26:47 -07:00
Chris Leary
2400e09e63
Bug 553423 - JS scanner namespacing cleanup (r=lw)
2010-03-18 22:15:51 -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
Luke Wagner
a1a73dd94d
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
106fbd8085
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
Mike Moening
0373a2437d
bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor
2010-03-04 20:44:09 -08:00
Luke Wagner
fdc3899884
Bug 543057 - Drop the Script object (r=brendan)
2010-03-04 00:33:57 -08:00