Commit Graph

28448 Commits

Author SHA1 Message Date
Nicholas Nethercote
6b42324e2b Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Ms2ger
e4ee33fca0 Backout changeset b43d38c5c456 for build bustage. 2013-08-22 09:00:37 +02:00
Gabor Krizsanits
b8009573c0 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ryan VanderMeulen
9b9504dfc6 Backed out 2 changesets (bug 893184) for Nexus 4 startup crashes.
Backed out changeset e1b2f6bd92c4 (bug 893184)
Backed out changeset 560f18fc3ae3 (bug 893184)
2013-08-21 21:52:18 -04:00
Brian Hackett
b000e7b209 Bug 904315 - Watch for negative integers when loading maybe-hole elements from arrays, r=jandem. 2013-08-21 18:47:19 -06:00
Brian Hackett
e91bdff53e Bug 900681 - Properly clean up leaked off thread parses in the JS shell, r=billm. 2013-08-21 18:43:18 -06:00
Terrence Cole
88be2e91ba Backout 0fc0283ac2b1 for bustage on a CLOSED TREE. 2013-08-21 16:50:26 -07:00
Terrence Cole
dda380eb33 Backout 493d5d59b229 for bustage on a CLOSED TREE. 2013-08-21 16:48:55 -07:00
Terrence Cole
3408ffff5f Backout 5c4e5ee49fbe for bustage on a CLOSED TREE. 2013-08-21 16:47:19 -07:00
Jon Coppeard
3cf7b1ee7d Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Terrence Cole
0a217ccba5 Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett 2013-08-21 14:20:15 -07:00
Terrence Cole
4000600b3a Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : 4c4e371427aeb07cdf3fb478e10810204e1ece8c
2013-08-21 12:43:22 -07:00
Terrence Cole
5790ed7ce6 Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : c7f0c4dfd9a1ac7f7877e1cbe0778ac0f071e9d4
2013-08-20 13:13:21 -07:00
Eric Faust
45fcadb6a1 Bug 906035 - IonMonkey: Only generate array length GetProperty stubs with valid outputs. (r=nbp) 2013-08-21 13:38:45 -07:00
Ryan VanderMeulen
7fedae563c Backed out changeset 4d6b320897df (bug 893184) for crashes. 2013-08-21 16:35:45 -04:00
Andrew McCreight
7d570ca8f9 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Benjamin Peterson
89a4d1c167 Bug 896264 - Disable Math.hypot until spec settles down. r=jorendorff 2013-08-21 15:08:51 -05:00
Jon Coppeard
d971cf0a27 Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Ryan VanderMeulen
762fcc58bc Backed out changeset 7da415c9c566 (bug 517765) for PGO bustage.
CLOSED TREE
2013-08-21 13:56:53 -04:00
Dan Minor
ae574b36e4 Bug 858622 - Make jit-tests runnable on mobile;r=terrence 2013-08-21 12:11:41 -04:00
Ehsan Akhgari
26cfbdcee9 Bug 906119 - Enable incremental linking with Visual C++; r=glandium
--HG--
extra : rebase_source : 936287f63c95baa535a4991bc1106a3f9f59f36f
2013-08-20 18:14:44 -04:00
Andy Wingo
9e5556bcfd Bug 666399 - New Harmony syntax for generators. r=Waldo
Add a GeneratorKind enumeration, and use it in the parser and runtime to
indicate whether a function is a non-generator, a legacy generator, or a
star generator.

Always parse "yield" as TOK_YIELD, regardless of the version.  Add
TokenStream::currentName() to retrieve the current token's name, which
works for TOK_NAME or TOK_YIELD.  The parser should check the validity
of "yield" as a name, if needed, using checkYieldNameValidity().

Parse "function*" as the StarGenerator GeneratorKind, and allow star
generators to be lazily parsed.

Separate parsing of return statements from yield expressions.
2013-08-20 11:03:24 +02:00
Ian Stakenvicius
9631abf6a7 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-21 08:42:49 -04:00
Jan de Mooij
89e2f52152 Bug 906286 - Canonicalize NaN values stored to float arrays in JS_MORE_DETERMINISTIC builds. r=luke 2013-08-21 08:40:17 +02:00
Bobby Holley
84fdc4fceb Bug 907508 - Provide a mechanism for adding extra slots for XPConnect globals. r=bz
mhordecki needs this in bug 898559.
2013-08-20 21:21:01 -07:00
Bobby Holley
f6b09836a4 Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz 2013-08-20 21:21:00 -07:00
Bobby Holley
12c731ac0e Bug 907508 - Drop the number of slots on XPConnect globals from 2 to 1. r=bz
In the old world, XPConnect globals had one reserved slot, which was used to
store a private pointer to the XPCWrappedNativeScope.

Then, in the new DOM bindings landing (bug 740069), we added two slots, one
for DOM_GLOBAL_OBJECT_SLOT, and one for DOM_PROTOTYPE_SLOT.

Then, in bug 761707, we removed DOM_GLOBAL_OBJECT_SLOT, but the slot count
remained at 3.

Then, in bug 797821, we stopped storing the XPCWrappedNativeScope in the slot
on the global, and dropped the XPConnect global count from 3 to 2.

Given the above, we can safely drop it to 1, here. It's easy to check that
this is correct, because reserved slots for globals have a different offset,
which is JSCLASS_GLOBAL_SLOT_COUNT. And according to mxr, the only thing
defined in terms of that is DOM_PROTOTYPE_SLOT (which takes the same value).
This means that all subsequent slots on the global are unused.
2013-08-20 21:21:00 -07:00
Jim Blandy
60a84f53db Bug 906891: Short-circuit isSealed and isFrozen for typed arrays. r=sfink 2013-08-20 18:00:02 -07:00
Wes Kocher
92ceb858c6 Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Hannes Verschore
58a524e5b2 Bug 904759 - IonMonkey: Remove unused functions/MIR/LIR related to PolyInlineDispatch, r=djvj 2013-08-20 23:10:23 +02:00
Kan-Ru Chen (陳侃如)
7f9455d3e4 Bug 907117 - IonMonkey: Fix build failure with DEBUG turned on. r=jandem 2013-08-21 02:45:18 +08:00
Ryan VanderMeulen
c8880fc5aa Merge m-c to inbound. 2013-08-20 16:32:33 -04:00
Ryan VanderMeulen
971e3a8e52 Merge m-c to fx-team. 2013-08-20 15:33:48 -04:00
Gregory Szorc
9a4d428071 Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Ryan VanderMeulen
056b9294eb Backed out changeset ef139b6034a5 (bug 890722) for SM rootanalysis orange.
CLOSED TREE
2013-08-20 12:53:29 -04:00
Jon Coppeard
950abbed23 Bug 893184 - Intermittent jsreftest.html?test=ecma_5/JSON/parse-array-gc.js... r=till 2013-08-20 16:40:27 +01:00
Luke Wagner
e11942b6a1 Bug 907085 - Don't use GetIonContext->cx during GC (r=jandem)
--HG--
extra : rebase_source : 0c442c82e71435dd8712a67cc7f01f00010f1e41
2013-08-20 09:40:16 -05:00
Hannes Verschore
c80fcf5fa4 Bug 905396 - IonMonkey: Bailout function of LGenericCall now takes JSObject, r=sstangl 2013-08-20 17:34:50 +02:00
Hannes Verschore
20ec6d28de Bug 890722: IonMonkey: Implement JSOP_RETRVAL, JSOP_SETRVAL, JSOP_POPV, r=jandem 2013-08-20 17:34:45 +02:00
Andy Wingo
480b88b121 Bug 907072 - ES6 reftests should run with "default version", not JS 1.8.5. r=jorendorff 2013-08-20 14:54:02 +02:00
Andrew McCreight
9185144b2e Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Andrew McCreight
cc17e564e5 Bug 886176 - Clean up XPCWN's participant. r=smaug 2013-08-19 10:04:03 -07:00
Jan de Mooij
ebd0ddbefe Bug 905993 - Fix SetElementIC temp register. r=nbp 2013-08-20 12:45:31 +02:00
Phil Ringnalda
c2bad24b8d Back out 57ee0ba35de6 (bug 858622) for Windows jit-test failures
CLOSED TREE
2013-08-19 19:03:08 -07:00
Dan Gohman
6fbf2016aa Bug 906368 - IonMonkey: Define a proper CountPopulation32 function, and use it in place of manual code in RegisterSets.h. r=nbp 2013-08-19 12:32:22 -07:00
Dan Gohman
2985714af4 changeset: 143171:50fded5df4fd
tag:         tip
user:        Dan Gohman <sunfish@google.com>
summary:     Bug 906885 - IonMonkey: Don't use range::isInfinite to test whether the value can be outside the bounds implied by lower() and upper(). r=nbp
2013-08-19 17:04:09 -07:00
Mike Hommey
e529f06fd1 Bug 904740 - Add a make macro for including dependency files. r=gps 2013-08-20 09:15:43 +09:00
Mike Hommey
02afee6dad Bug 906240 - Adapt cl.py dependency output to pymake deficiencies ; also add source file to the list of dependencies. r=gps 2013-08-20 09:14:45 +09:00
Jan de Mooij
660526272a Bug 906284 - Fix Ion SetPropertyIC to pass the right value to SetProperty. r=bhackett,efaust 2013-08-20 11:09:16 +02:00