Commit Graph

305 Commits

Author SHA1 Message Date
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
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
Sean Stangl
bcde0f1fc6 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Luke Wagner
15a253d499 Merge 2010-07-01 23:10:37 -07:00
Luke Wagner
68403a872a Get narcissus compiling 2010-06-30 16:32:44 -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
Luke Wagner
19f7cefc18 Drop the distinction in js::Value of funobj vs. nonfunobj. Instead, values can just have JSVAL_TYPE_OBJECT. The trace-jit still uses funobj/nonfunobj and translates as necessary. 2010-06-29 22:33:52 -07:00
David Anderson
b9fd0759f7 [JAEGER] Merge from fatval. 2010-06-28 18:16:12 -07:00
Luke Wagner
ab3a0d3ffa Add 64-bit tracing support 2010-06-28 18:08:28 -07:00
Luke Wagner
fdd5b33385 Bug 579140 - Address review comments in xdr and xpconnect (r=igor,mrbkap) 2010-07-15 18:19:50 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Jeff Walden
8dd21fe50e Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -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
Jeff Walden
b13001e602 Bug 509733 - ES5: arguments.toString() === "[object Arguments]". r=brendan 2010-07-13 16:39:03 -05:00
David Anderson
a3709f170d [JAEGER] Merge from fatval branch. 2010-06-24 11:18:01 -07:00
Luke Wagner
f536e360bf Take advantage of value representation in the tracer when mapping values to and from trace types 2010-06-22 09:43:21 -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
Jason Orendorff
4119c39520 Bug 568886 - Instead of severing the stack in SJOW, function.caller should refuse to return an object from a different compartment. r=gal, r=mrbkap.
--HG--
extra : rebase_source : 83ee4482377769b8f59c72171acc62edc481fe7a
2010-06-30 18:09:38 -05:00
David Anderson
b4060da2c5 Bug 567577 - new Math.sin is NaN, not an object, in interpreter only. r=Waldo. 2010-06-28 14:49:12 -05:00
Chris Leary
908f8ec587 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
52608d352b Bug 559408: Turn arena pool macros into methods. (r=gal) 2010-06-26 17:55:00 -07:00
Andreas Gal
7c91c2898c Fix warnings (no bug, r=mrbkap). 2010-06-25 17:57:53 -05:00
Andreas Gal
47613b6fab Function.prototype.toString shouldn't crash on function proxies (574294, r=brendan). 2010-06-24 13:25:09 -05:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov
a69fd0a49f bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Nicholas Nethercote
9dfbe8877d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
David Anderson
a2bfe74bbb [JAEGER] Merge from fatval branch. 2010-06-10 21:58:13 -07:00
David Mandelin
f242431382 Bug 569766: Make tracing work with fat values 2010-06-10 17:20:26 -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
David Anderson
858278d975 [JAEGER] Merge from fatval branch. 2010-06-10 14:01:11 -07:00
Luke Wagner
e6f9490099 Simplify code now that Value is copyable 2010-06-10 10:09:05 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
David Anderson
87d142550e [JAEGER] Merge from fatval branch. 2010-06-04 22:11:53 -07:00
Luke Wagner
7b81a5dc24 Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling 2010-06-04 16:55:08 -07: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
Blake Kaplan
a2ac6b938e Remove incorrect return. rs=lumpy 2010-06-18 17:45:33 -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
Jeff Walden
2a8187e20b Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -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
Andreas Gal
3026562007 Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan). 2010-05-29 19:04:01 -07: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
285a986008 Statically bind global variables where possible (bug 561923, r=brendan). 2010-05-22 15:38:04 -07:00
Luke Wagner
6836687a5e jsapi-tests pass 2010-05-19 18:40:27 -07:00
Luke Wagner
d3a3926b34 Fix bugs 2010-05-18 17:25:12 -07:00
Luke Wagner
19c9bbad15 Turns out function objects can be on parent chains 2010-05-18 14:23:23 -07:00
Luke Wagner
e374a37e1c Remove explicit copy, ObjPtr 2010-05-17 22:15:51 -07:00
Luke Wagner
b3c6d771b1 Fixing shell/js 2010-05-17 18:49:58 -07:00
Luke Wagner
6d87e93eef 30% through jsstr 2010-05-13 18:55:25 -07:00
Luke Wagner
db5b99989b convert jsnum, touch up jsobj 2010-05-13 02:03:08 -07:00
Luke Wagner
4e6c52c52b New Tag scheme, no SetObject silliness 2010-05-12 16:36:10 -07:00
Chris Leary
94f23c0a06 Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423 Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
Luke Wagner
bd3571c1b5 Still recovering from rebase 2010-05-11 19:00:59 -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
Luke Wagner
9b49d62378 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner
6a6afd60ce Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner
c82711e2b5 (unrebased) contiguous patch 2010-03-03 17:52:26 -08:00
Brendan Eich
9c357658b7 Back out patch for 557969 due to orange. 2010-04-08 11:31:03 -07:00
Brendan Eich
edcf471ddb Named native functions lacking JSFUN_BOUND_METHOD entrain the global of the object in which they are bound, not the binding object itself, via parent (557969, r=mrbkap). 2010-04-08 10:55:22 -07:00
Luke Wagner
b9f8c249e6 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Nicholas Nethercote
26d8277a75 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Luke Wagner
0e23d73f7a (fake) contiguous patch 2010-03-03 17:52:26 -08:00
Luke Wagner
500101d1a4 Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor) 2010-05-04 18:24:13 -07:00
Nicholas Nethercote
1cd832e8d3 Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan. 2010-05-02 21:42:09 -07:00
Andreas Gal
4f28c42447 Remove lingering defaultValue calls with hint JSTYPE_OBJECT or JSTYPE_FUNCTION (554550, r=brendan). 2010-04-11 20:55:22 -07:00
Nicholas Nethercote
6bcbe2ea63 Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan. 2010-04-11 16:45:20 -07:00
Dave Herman
ed6c552bb7 Bug 558437 - rename JSCompiler to js::Parser (r=brendan). 2010-04-10 21:15:35 -07:00
Brendan Eich
1a7721a4d3 Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander). 2010-04-10 20:53:11 -07:00
Andreas Gal
a887d81302 Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Luke Wagner
98a7dc9ea6 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Robert Sayre
a354ba1cfc Backed out changeset 919950c7f0f0 2010-05-11 11:52:17 -04:00
Chris Leary
299dd52ca1 Bug 559408: Arena pool macros to methods. (r=gal) 2010-05-10 21:46:52 -07:00
Luke Wagner
876f5eac9f Bug 586335 - remove dead value-to-function code (r=waldo) 2010-08-17 09:44:41 -07:00
Robert Sayre
596f6ceff5 Bug 554850: silence JSBool -> bool conversion warnings in msvc. r=waldo 2010-04-01 16:54:57 -04:00
Nicholas Nethercote
795d4b8ad2 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Nicholas Nethercote
684396fb91 Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Brendan Eich
34b1a91d97 Fix arguments objects to share a runtime-wide empty scope, instead of each getting a differently shaped own scope at birth (554626, r=igor). 2010-03-30 00:44:28 -07:00
Jeff Walden
09969174d8 Readd bug 548702's changes to jsapi.cpp, jsexn.cpp, jsfun.cpp, jsnum.cpp, and jsstr.cpp. 2010-03-28 22:05:50 -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
Jim Blandy
e82e0c1ee6 Bug 554102: Cleanup: switch from global TokenStream functions to methods. a=cdleary, r=jimb 2010-03-23 17:30:36 -07: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
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