Commit Graph

50 Commits

Author SHA1 Message Date
Nick Fitzgerald
c1a6375ba8 Bug 1277338 - Part 2: Refactor CallArgs to avoid zero-sized base classes; r=sfink
Zero-sized base classes are a particular pain point for bindgen. When used as a
base class they can be truly zero sized, but when used directly they have to
have a byte inserted to enable C++'s distinct-objects-have-distinct-addresses
rule. Bindgen could generate two different struct definitions for such cases,
but then users need to know which to use at which time and its simpler to just
avoid zero sized base classes.
2017-04-13 13:22:20 -07:00
Tooru Fujisawa
b072f306bc Bug 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value. r=jandem 2017-03-05 03:17:22 +09:00
Boris Zbarsky
e3d6f3c0a4 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
Boris Zbarsky
6c7787df36 Backed out changeset c1978f7d49c4 for build failures.
MozReview-Commit-ID: FOwcGtykkXR
2017-03-11 00:10:36 -05:00
Boris Zbarsky
09244ad037 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink
MozReview-Commit-ID: 264vsCvhh9Z
2017-03-10 23:52:55 -05:00
Jon Coppeard
6087cad8ce Bug 1343590 - Improve CallArgs gray marking assertions r=sfink 2017-03-02 10:23:15 +00:00
Jon Coppeard
84d08ee0ab Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Jan de Mooij
ad35ff3340 Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Tooru Fujisawa
bfb2734f9d Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Terrence Cole
c40027427b Bug 1291776 - Assert that we don't create gray arguments; r=sfink 2016-09-15 13:50:03 -07:00
Jeff Walden
d9851f59f9 Bug 1270076 - Make CallArgs's JS_DEBUG-only handling of asserting proper rval()/calleev() sequencing work without using enumerated types, for Servo bindings. r=nox/r=jwalden tag-team effort 2016-06-07 16:55:49 -07:00
Jeff Walden
65ec2ca2c6 Bug 1270977 - Remove JS::CallReceiver. r=efaust 2016-05-26 20:14:39 -07:00
Jeff Walden
05a8a5e913 Bug 1270977 - Modify BoxNonStrictThis to not use CallReceiver. r=efaust 2016-05-26 14:49:46 -07:00
Till Schneidereit
8c438b1a94 Bug 1198193 - Change all functions taking CallArgs to take const CallArgs& instead. r=Waldo 2015-08-27 21:18:37 +02:00
Eric Faust
415fa4eb81 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Carsten "Tomcat" Book
7ce74c457c Backed out changeset d038c5da19b0 (bug 1141865) 2015-06-03 12:44:59 +02:00
Eric Faust
5d84eb21cd Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Wes Kocher
8e5645b783 Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Eric Faust
241e7a2be7 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-01 15:03:32 -07:00
Jan de Mooij
c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Lars T Hansen
0b179f41aa Bug 1119230 - remove lingering JIT code for PJS. r=shu 2015-01-14 09:21:59 +01:00
Nick Fitzgerald
e342ce6fab Bug 993085 - Part 1: Add the Debugger.Memory.prototype.trackingAllocationSites accessor property r=jimb 2014-07-21 18:16:13 -07:00
Nicholas Nethercote
22241fec6d Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till. 2014-04-27 20:27:54 -07:00
Nicholas Nethercote
2aae5772c2 Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till. 2014-04-27 19:58:52 -07:00
Birunthan Mohanathas
c21501c75a Bug 845478 - Part 9: Remove JS_{CALLEE,ARGV,RVAL,SET_RVAL}. r=evilpie 2014-03-25 14:42:34 -04:00
Shu-yu Guo
b5e45e2e91 Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix) 2014-01-31 14:57:57 -08:00
Sean Stangl
34032f2d84 Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff 2013-12-06 15:03:08 -08:00
Wes Kocher
9c1ce2e3f1 Backed out changeset e807ddf2965f (bug 688852) for test bustage 2013-10-11 18:07:40 -07:00
Terrence Cole
a489372341 Bug 688852 - Rewrite Array.prototype.concat to use spec steps; r=Waldo 2013-01-03 17:34:34 -08:00
Shu-yu Guo
0aae1b4d3d Bug 921325 - Return bool from PJS VM functions and use the fatal bit on ForkJoinSlice to signal fatal vs retry. (r=nmatsakis) 2013-10-10 20:02:32 -07:00
Nicholas Nethercote
d0f640378a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke. 2013-08-27 19:59:14 -07:00
Nicholas Nethercote
f7d6f07d24 Bug 898914 (part 1) - Remove JSBool. 2013-08-08 15:53:04 -07:00
Nicholas Nethercote
966f6b5ff2 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz. 2013-08-02 00:41:57 -07:00
Terrence Cole
dda068b13b Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz 2013-06-26 16:26:45 -07:00
Shu-yu Guo
5b02361dc1 Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
804f2b86e9 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Steve Fink
2450695c99 Bug 890076 - Move isConstructing to CallArgs, r=Waldo 2013-07-03 22:59:43 -07:00
Emanuel Hoogeveen
7618e9b9a6 Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn. 2013-06-19 17:59:09 -07:00
Terrence Cole
998ab9977e Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett 2013-06-03 16:30:00 -07:00
Boris Zbarsky
76423b5afb Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo 2013-05-30 17:47:00 -04:00
Ms2ger
e1d9fedfae Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Sean Stangl
4c46a9aa7c Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
4f94bac4a1 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
9596836ecf Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda
978110175c Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
999eb7bab9 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Ms2ger
6bf1b0d862 Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Jeff Walden
03fca33494 Bug 846976 - Move CallArgs into its own header for better readability. r=jorendorff, f=bz, f=bholley 2013-02-28 20:07:23 -08:00