Jan de Mooij
22b86d4fe0
Bug 704356 - Remove the JS property cache. r=njn, sr=luke
...
--HG--
extra : rebase_source : 67079f154c13fd401388792ec1410adb04157092
2013-06-18 09:16:57 +02:00
Gregory Szorc
c71253e0de
Bug 879809 - Don't export MOZBUILD_BACKEND_CHECKED to independent build systems; r=ted
2013-06-18 12:22:56 -07:00
Olli Pettay
ce64a01652
Bug 847611 - Paris bindings for autogenerated events, r=peterv
2013-06-18 21:48:45 +03:00
Nathan Froyd
c6742b25b1
Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
...
Author: Nathan Froyd <froydnj@gmail.com>
--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Hannes Verschore
195cac3f15
Bug 883626: Skip looking to inactive Activations, r=luke
2013-06-18 17:53:57 +02:00
Nicholas Nethercote
6e1bfca609
Bug 634839 (part 2) - Remove more unnecessary #includes from SpiderMonkey. r=jorendorff.
...
--HG--
extra : rebase_source : 32a4ee649fe206ddb966527eb0f6275c076cbea2
2013-06-06 21:35:53 -07:00
Boris Zbarsky
6425009b7f
Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till
2013-06-17 16:31:04 -04:00
Dan Gohman
55d23f9696
Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies
2013-06-17 18:31:47 -07:00
Dan Gohman
196cf87c5f
Bug 883569 - X86 assembly spew fixes r=sstangl
2013-06-17 14:00:50 -07:00
Terrence Cole
5e5844dee7
Bug 883466 - Followup fix for failure on TBPL that does not reproduce locally; r=njn
...
--HG--
extra : rebase_source : bb2f18dd6acee248070a05998bdc541e7eeedbab
2013-06-17 17:54:55 -07:00
Brian Hackett
82dd37e6f6
Bug 883973 - Try disabling PGO around InlineFrameIteratorMaybeGC::findNextFrame, r=djvj.
2013-06-17 18:51:38 -06:00
Till Schneidereit
988ebfc132
Bug 882468 - Simplify BooleanGetPrimitiveValue. r=waldo,evilpie
...
--HG--
extra : rebase_source : a3fd6b6aed8e214235c139f532d8ba4c50e48c9f
2013-06-13 00:58:21 +02:00
Jon Coppeard
12a68e0693
Bug 884371 - Remove JSMutableHandleXXX from the js/src directory r=terrence
2013-06-19 11:32:27 +01:00
Jon Coppeard
fb1219b24e
Bug 884371 - Remove JSMutableHandleXXX from the js directory r=bholley
2013-06-19 11:32:27 +01:00
Jon Coppeard
281d96245b
Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence
2013-06-19 11:32:26 +01:00
Jan de Mooij
a424cfafc8
Bug 883171 - Remove JSContext::fp() and JSContext::regs(). r=luke
2013-06-19 11:33:13 +02:00
Terrence Cole
2f5927340f
Bug 883466 - Fix build failure in GGC caused by jsobjinlines.h reorganization; r=njn
...
--HG--
extra : rebase_source : 7fe3ba7e1d7efbd650d6b88f9bc8cea46f8dadac
2013-06-17 11:46:50 -07:00
Ryan VanderMeulen
c8233b1b9b
Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
...
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Hannes Verschore
1492ea51d7
Bug 883490: Add annotation to testfile it returns a type error, r=philor
2013-06-17 23:30:37 +02:00
David Zbarsky
7a6db2c997
Fix a typo, no bug
2013-06-17 14:28:11 -07:00
Nicholas Nethercote
a5f58e8384
Bug 884649 (part 2) - Remove jsdhash.{h,cpp}. r=luke.
2013-06-19 16:57:11 -07:00
Nicholas Nethercote
a43808353f
Bug 884649 (part 1) - Used PLDHash instead of JSDHash in xpconnect. r=mccr8.
...
--HG--
extra : rebase_source : 7a206a6dfba19d8678ef9aee7517b4833c2a4f00
2013-06-19 16:15:21 -07:00
Emanuel Hoogeveen
40fb2a63ac
Bug 883697 (part 5) - Make include guards consistent in js/src/ion/. r=njn.
...
--HG--
extra : rebase_source : bdd84890437618d2ce85b4825b1f66d08e824daf
2013-06-19 18:06:37 -07:00
Emanuel Hoogeveen
9ee6f1a635
Bug 883697 (part 4b) - Make include guards consistent in js/src/yarr/. r=njn.
...
--HG--
extra : rebase_source : e0f023d29eabfbb28e614f73d8eabb817d74a11a
2013-06-19 18:06:22 -07:00
Emanuel Hoogeveen
15f800b924
Bug 883697 (part 4a) - Make include guards consistent in still more of js/src/. r=njn.
...
--HG--
extra : rebase_source : 4095ac207c0468df9bd3975d49edc6848043403b
2013-06-19 18:04:28 -07:00
Emanuel Hoogeveen
1be2fcf560
Bug 883697 (part 3) - Make include guards consistent in some more of js/src/. r=njn.
...
--HG--
extra : rebase_source : 7103c57165f3ed54d94b4c05837281a35224f706
2013-06-19 18:01:23 -07:00
Emanuel Hoogeveen
1bcd8af54f
Bug 883697 (part 2) - Make include guards consistent in some of js/src/. r=njn.
...
--HG--
extra : rebase_source : 86e3e36e1711191a6e8a01bc44f01cffc6b48b96
2013-06-19 17:59:46 -07:00
Emanuel Hoogeveen
3e91a47df7
Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
...
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Hannes Verschore
416a9a74b1
Bug 883490: OdinMonkey: FFI call should look to the return value for ion errors, r=luke
2013-06-17 22:58:21 +02:00
Terrence Cole
43aaa0c666
Bug 883383 - Fix some more static root analysis failures in SpiderMonkey; r=sfink
...
--HG--
extra : rebase_source : b43a23b00233c0f53f8506eef300f941093f113d
2013-06-14 14:28:26 -07:00
Boris Zbarsky
6e04e3fe14
Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till
2013-06-17 16:31:04 -04:00
Boris Zbarsky
cf49b7e92e
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Brian Hackett
85c5f51ac5
Bug 883661 - Fix and document numeric comparator invariants.
2013-06-17 10:51:16 -06:00
Jason Orendorff
5fcb706473
Bug 883523 - Regression: 'if(1) /a/.test("a")' causes a SyntaxError after landing bug 872735. r=till.
2013-06-17 11:27:33 -05:00
Brian Hackett
4259e38b37
Bug 883661 - Handle lazy functions when doing higher order fast invokes and in numeric comparator pattern matching, r=luke.
2013-06-17 10:14:33 -06:00
Brian Hackett
61bb2dc013
Bug 883656 - Handle lazy functions in b[a] lambda pattern matching, r=luke.
2013-06-17 10:12:36 -06:00
Dan Gohman
7dfc55df89
Bug 883571 - Since label() calls spew, call it once and reuse the result instead of calling it multiple times. r=mrosenberg
2013-06-17 07:41:21 -07:00
Nicholas Nethercote
048f24d739
Bug 880041 (part 14) - Use JSObject::{is,as} for DeclEnvObject. r=evilpies.
...
--HG--
extra : rebase_source : f4b916ae894c1ed1eefe31d82abd459181621f69
2013-06-16 19:02:10 -07:00
Nicholas Nethercote
006d6d5f60
Bug 880041 (part 13) - Use JSObject::{is,as} for CallObject. r=evilpies.
...
--HG--
extra : rebase_source : 6d7f5171a03d5cd963ac869566b7661bb7ddbc2d
2013-06-16 18:46:36 -07:00
Nicholas Nethercote
80f8b2c55e
Bug 880041 (part 12) - Use JSObject::{is,as} for BlockObject. r=evilpies.
...
--HG--
extra : rebase_source : c41de9544c966c8859a429a8a0c63875c7d00b71
2013-06-16 18:40:16 -07:00
Nicholas Nethercote
fe57abd6a0
Bug 880041 (part 11) - Use JSObject::{is,as} for SetIteratorObject. r=evilpies.
...
--HG--
extra : rebase_source : de562a03da15209322232e0c9f00d1f0c07abbfb
2013-06-16 18:07:08 -07:00
Nicholas Nethercote
ea491c6ca7
Bug 880041 (part 10) - Use JSObject::{is,as} for ScriptSourceObject. r=evilpies.
...
--HG--
extra : rebase_source : d55f1fa65735074b96e8006a76939defc5f40379
2013-06-16 18:07:07 -07:00
Nicholas Nethercote
31bd984125
Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject. r=sfink.
...
--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
2013-06-16 17:39:43 -07:00
Nicholas Nethercote
ea95c4669f
Bug 880041 (part 8) - Use JSObject::{is,as} for PropertyIteratorObject. r=sfink.
...
--HG--
extra : rebase_source : 07cb730830bc8f61d6c28148c8c1e7e3ee94a6c8
2013-06-16 17:34:45 -07:00
Nicholas Nethercote
bdd2bfeecb
Bug 880041 (part 7) - Remove JSObject::isPrimitive, because it's dead. r=sfink.
...
--HG--
extra : rebase_source : 1e71fe2261b01b3769ecbb4377f8ef19d3a813da
2013-06-16 17:28:41 -07:00
Nicholas Nethercote
a388bcd855
Bug 880041 (part 6) - Use JSObject::{is,as} for MapIteratorObject. r=sfink.
...
--HG--
extra : rebase_source : 32577e3ec9c0aebc94dfedd46e7af29d8475c927
2013-06-16 17:27:16 -07:00
Nicholas Nethercote
a548ec558b
Bug 880041 (part 5) - Use JSObject::{is,as} for ElementIteratorObject. r=sfink.
...
--HG--
extra : rebase_source : 0f71366ff461d7c4d021e1d0381dad1b45462342
2013-06-16 17:24:34 -07:00
Nicholas Nethercote
b0fe8ad0a3
Bug 880041 (part 4) - Use JSObject::{is,as} for DataViewObject. r=luke.
...
--HG--
extra : rebase_source : 07ff2585a6e592d0ae0ec9716556d61165eb6a50
2013-06-16 17:19:53 -07:00
Nicholas Nethercote
dafcf11da6
Bug 880041 (part 3) - Use JSObject::{is,as} for ArrayBufferObject. r=luke.
...
--HG--
extra : rebase_source : 0c37996aa68c943451a52e819d6c6fb71eb0a7b4
2013-06-16 17:07:35 -07:00
Nicholas Nethercote
81d8dd7ce4
Bug 880041 (part 2) - Use JSObject::{is,as} for {Normal,Strict,}ArgumentsObjects. r=luke.
...
--HG--
extra : rebase_source : 1648dd8eae1d1fdcc28644b9865960560ba301f8
2013-06-16 17:06:04 -07:00
Jason Orendorff
db3e4b947b
Bug 880041 (part 1) - Introduce JSObject::{is,as} template functions, and use them for ModuleObject. r=nnethercote.
...
--HG--
extra : rebase_source : 46a475d54d29fd8a20ca3f201368b350b6d69008
2013-06-16 16:47:30 -07:00
Kyle Machulis
bd7fe8d24f
Bug 877859 - Change configure.in for new valgrind include path; r=mwu
2013-06-18 21:26:22 -07:00
Nicholas Nethercote
006d7fcd2f
Bug 881579 - Use the canonical #ifndef wrapper form in SpiderMonkey headers so that GCC and clang can avoid including them more than once per compilation unit. r=benjamin.
...
--HG--
extra : rebase_source : f9d2b33defe07837da4828a57c66fe0ea6772bae
2013-06-16 16:11:24 -07:00
Nicholas Nethercote
d3e40e9f87
Bug 883691 - Fix some simple clang warnings in SpiderMonkey. r=bhackett.
...
--HG--
extra : rebase_source : 168fe0710a42ebf3f90c14ecb12de32305987586
2013-06-16 18:12:35 -07:00
Douglas Crosher
6db97e321e
Bug 883106 - IonMonkey: avoid emitting zero length perf Jit map entries, r=nmatsakis
2013-06-14 21:03:19 +10:00
Douglas Crosher
35a7b33021
Bug 883108 - Asm.js: re-enable Ion Spew, r=nmatsakis
2013-06-14 21:16:55 +10:00
Brian Hackett
41d5c93ef4
Bug 883562 - Check for lazy functions when bailing out from Ion to Baseline.
2013-06-16 10:37:56 -06:00
Brian Hackett
9a5791cb47
Bug 883630 - Watch for lazy functions when iterating inline Ion frames, clean up methods for accessing function scripts.
2013-06-16 10:24:45 -06:00
Brian Hackett
aebd81764e
Bug 883623 - Check free variables within eval'ed code before restarting processing of top level statements in the eval.
2013-06-16 07:12:20 -06:00
Ryan VanderMeulen
90792a0ded
Merge inbound and m-c.
2013-06-15 21:34:21 -04:00
Ryan VanderMeulen
2fc043a1b3
Bug 809306 - Fix Win64 bustage.
2013-06-14 22:23:21 -04:00
Jason Orendorff
1aac86dee3
Bug 881056 - Remove unused hasFunctionStmt parameter from some Parser methods. r=bhackett.
2013-06-14 16:30:40 -05:00
Jason Orendorff
463f5d3324
Bug 872735, part 5 - Remove newNullary from the ParseHandler protocol. It is only used for array holes; replace it with a newElision method. Add PNK_ELISION to distinguish elisions from sequence expressions (which use PNK_COMMA). r=Waldo.
2013-06-14 16:30:40 -05:00
Jason Orendorff
46e13cc41f
Bug 872735, part 4 - Remove setBinaryRHS from the ParseHandler protocol. It was only used in parsing switch statements. It is replaced by a newCaseOrDefault method. r=Waldo.
2013-06-14 16:30:40 -05:00
Jason Orendorff
118dd2bbcc
Bug 872735, part 3 - Add PNK_LABEL for labeled statement nodes. Remove ForgetUse. r=Waldo.
2013-06-14 16:30:40 -05:00
Jason Orendorff
c9be19a7bf
Bug 872735, part 2a - Rename ParseNode::noteLValue -> markAsAssigned and add an assertion about pn_op, as requested in review. rs=Waldo.
2013-06-14 16:30:39 -05:00
Jason Orendorff
fcbdc08888
Bug 872735, part 2 - Remove noteLValue from the handler protocol. The main point of this change is to remove the noteLValue method from SyntaxParseHandler, because who knows what that is supposed to mean (anyway it is never called). r=Waldo.
2013-06-14 16:30:39 -05:00
Jason Orendorff
38579bc067
Bug 872735, part 1 - Remove isEmptySemicolon from the ParseHandler protocol. It was only used for a warning about "if (foo);". r=Waldo.
2013-06-14 16:30:39 -05:00
Nicholas Nethercote
5057007762
Bug 880565 (part 2) - Remove unnecessary #includes in jsobjinlines.h. r=benjamin.
...
--HG--
extra : rebase_source : 0a447cc5ed0f06ce8f01fdce799660f98b2ff780
2013-06-06 17:48:12 -07:00
Nicholas Nethercote
c823ce690f
Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
...
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Vladimir Vukicevic
9e17b8825a
b=882906; remove EXTRA_DSO_LIBS; r=ted
2013-06-13 22:58:22 -04:00
Tom Schuster
9a2adfaa12
Bug 867771: Make Debugger.Object.prototype.getClass switch compartments correctly. r=jorendorff
2013-06-14 11:59:27 -07:00
Marty Rosenberg
e1b8543f5c
bug 882486: The truncate instruction should saturate to the full range of integers on receiving an out of bounds input (r=h4writer)
2013-06-14 14:25:17 -04:00
Marty Rosenberg
bec5fae05e
bug 871290: If there someone takes a reference into the instruction stream, then a pool is placed, make sure we step over this pool when trying to patch code. (r=jbramley)
2013-06-14 14:25:16 -04:00
Terrence Cole
32fb124297
Bug 883234 - Fix GGC oranges caused by lazy parsing; r=bhackett
...
Lazy parsing allows a new function clone site to flow into scripts. This site
needs to create its functions tenured.
--HG--
extra : rebase_source : fecc7ff5de3994b0fc8eda01c13b8cd9f00d1d52
2013-06-14 11:09:56 -07:00
Trevor Saunders
1461cee026
bug 809306 - fix a bunch of static initializers caused by ion monkey's assembler headers r=dvander
2013-06-07 15:49:03 -04:00
Luke Wagner
6d1dd5e546
Bug 881882 - OdinMonkey: take the percentage back out (it's wrong and misleading with parallel compilation) (r=me)
...
--HG--
extra : rebase_source : 1bec8d8901fbaeb7929b1ca390cfeeae39ef1b0a
2013-06-14 10:09:18 -07:00
Peter Van der Beken
1ad10a867b
Bug 851465 - Remove slim wrappers - rename WRAPPER_MULTISLOT. r=bholley.
2013-06-13 16:55:40 +02:00
Brian Hackett
4f8a47da4e
Bug 883524 - Don't assume a non-lazy script when analyzing a 'new' script's properties.
2013-06-15 16:00:04 -06:00
Brian Hackett
598c88cc57
Bug 883544 - Watch for orphaned lazy scripts when delazifying for debug mode.
2013-06-15 15:57:41 -06:00
Dan Gohman
1c99a61d12
Bug 881412 - Add a pass to unsplit critical edges after all other optimization is done. r=bhackett
2013-06-15 11:42:13 -07:00
Hannes Verschore
261725cdde
Bug 882565 - IonMonkey: Only skip resumepoints during truncation when no uses where removed, r=jandem
2013-06-15 17:05:02 +02:00
Brian Hackett
40a8843722
Bug 883439 - Lazily parse scripts defined within catch blocks, r=luke.
2013-06-15 07:54:22 -06:00
Jan de Mooij
3e64ea7a5e
Bug 874974. r=bhackett
2013-06-15 14:42:36 +02:00
Jesse Ruderman
5607dd8747
Bug 882877 - test eval('arguments'), not the no-op eval(arguments). r=jorendorff
2013-06-15 01:06:26 -07:00
Phil Ringnalda
7741fb273a
Back out 02fad60002a9 (bug 811404) for PGO bustage
...
CLOSED TREE
2013-06-14 21:35:27 -07:00
Nils Maier
82984fe6e0
Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn
2013-06-14 22:48:28 -04:00
Dan Minor (dminor@mozilla.com)
3d36dc133c
Bug 811404 - Include C++ unit tests and harness in test package. r=ted
2013-06-14 13:07:34 -04:00
Peter Van der Beken
ef9e24aa33
Bug 851465 - Remove slim wrappers - remove slim wrapper macros and rename WN macros. r=bholley.
2013-04-19 21:58:30 +02:00
Peter Van der Beken
7d1069ede0
Bug 851465 - Remove slim wrappers - whitespace changes. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
70822c5a47
Bug 851465 - Remove slim wrappers - remove slim wrapper proto code and logging code. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
cffa62184d
Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley.
2013-04-19 21:57:18 +02:00
Peter Van der Beken
ed705d5d38
Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley.
2013-04-19 21:57:15 +02:00
Peter Van der Beken
8cd1dfca20
Bug 851465 - Remove slim wrappers - stop constructing slim wrappers. r=bholley.
2013-03-25 11:36:24 +01:00
Kannan Vijayan
5fbefaa95a
Bug 882925 - Fix ICUnaryArith_Double stub kind. r=h4writer
2013-06-14 10:39:10 -04:00
Brian Hackett
4733f44eea
Bug 678037 - Enable lazy JS parsing and fix various bugs, r=waldo,evilpie,nobody.
2013-06-14 05:58:28 -06:00
Nicholas D. Matsakis
99bd1bc42d
Bug 880208 - Add UnsafeGet and UnsafeGetImmutable intrinsics r=djvj
2013-06-06 11:01:15 -04:00
Ed Morley
c87b3f9147
Merge mozilla-central and inbound
2013-06-14 09:58:22 +01:00
Ed Morley
6870d9d30f
Merge latest green birch changeset and mozilla-central
2013-06-14 09:55:54 +01:00
Jan de Mooij
91229642aa
Bug 882111 part 1 - Some js::Interpret cleanup. r=luke
2013-06-14 09:46:28 +02:00
Edgar Chen
c846841173
Bug 860585 - Part 1: Move cardLock API from mozMobileConnection to mozIccManager (IDL). r=allstars.chh. sr=sicking
...
--HG--
rename : dom/icc/interfaces/nsIDOMICCCardLockErrorEvent.idl => dom/icc/interfaces/nsIDOMIccCardLockErrorEvent.idl
2013-04-11 11:19:36 +08:00
Jan de Mooij
a2afaa46e8
Bug 881461 - Fix INITPROP/INITELEM GETTER/SETTER ops to leave values on the stack for the decompiler. r=bhackett
2013-06-13 16:00:35 +02:00
Nicholas D. Matsakis
8322355ab8
Bug 872352 - Simplify edges/liquid-resize benchmarks rs=tests
2013-06-12 22:17:30 -04:00
Landry Breuil
65a8cf4cec
Bug 807492 Part 10 - Add err.h and xlocale.h to system-headers for WebRTC on BSD r=ted
2013-06-13 08:54:44 +02:00
Jesse Ruderman
fc32eb81a0
Bug 882037 - Fix incorrectly escaped %, and use semicolons after comma-separated lists. r=luke
2013-06-12 22:24:06 -07:00
Boris Zbarsky
65c0969f7c
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Nicholas Nethercote
5c0a0c7f4f
Bug 882520 - Two minor tweaks to the memory reporting paths. r=bhackett.
...
--HG--
extra : rebase_source : b6176cd0b0314c2216ccc79f76a34fd558876092
2013-06-12 20:14:52 -07:00
Terrence Cole
f5b104f7b9
Bug 880886 - Always allocate AsmJS's JSFunction in tenured; r=bhackett
...
--HG--
extra : rebase_source : 756c4326cedc0dfda0d1f83573fe2c277ff38073
2013-06-11 10:53:25 -07:00
Terrence Cole
ec525ea7a7
Bug 880816 - Mark IonCode embedded pointers during MinorGC if they may be Nursery things; r=bhackett
...
--HG--
extra : rebase_source : 2c2e6320671e38fde041fcb350730e6bd7f86f8e
2013-06-10 11:16:57 -07:00
Terrence Cole
d4696b6e54
Bug 880816 - Allow the store buffer to store and mark whole IonCodes; r=billm
...
--HG--
extra : rebase_source : 91f13fe33baecd74051126136060977e209bda22
2013-06-13 10:34:40 -07:00
Terrence Cole
b937e3404f
No Bug - Fix an out-of-date comment in Ion about JM compilation; r=bhackett
...
--HG--
extra : rebase_source : 62d580d82808312c12444cb2c9163b1b569bd945
2013-06-13 15:14:59 -07:00
Terrence Cole
7526bb9486
No Bug - Assert that our Rooting ABI is correct; r=sfink
...
--HG--
extra : rebase_source : 3247d6a22f73d278ae4e6904dff28a1b727e5169
2013-06-13 15:14:44 -07:00
Trevor Saunders
ca9910808a
bug 877937 - placate clang when building the jseng as c++11 r=waldo
2013-06-14 02:50:53 -04:00
Trevor Saunders
f54dfa4c58
bug 877937 - make js embedders build as c++11 when we do r=ted f=waldo
2013-06-05 18:55:17 -04:00
Trevor Saunders
b913561275
bug 877937 - build the js engine in c++11 mode when we do that for the rest of the tree r=ted
2013-05-30 21:21:18 -04:00
Benjamin Bouvier
9da6bbc967
Bug 882012: Provide Use to right hand side in CheckStoreArray; r=luke
2013-06-12 15:47:26 -07:00
Luke Wagner
4b8935fe96
Bug 881882 - OdinMonkey: report compile time and slow functions in asm.js success message (r=sstangl)
...
--HG--
extra : rebase_source : b72090feaf9e250e5085dcb8731edf4a1ff0daec
2013-06-12 16:29:47 -07:00
Luke Wagner
31025066ec
Bug 881882 - rm JS_ASMJS (r=sstangl)
...
--HG--
extra : rebase_source : 9b848e6206b471fef6e57432697d6c28b68e80c2
2013-06-12 16:29:09 -07:00
Ryan VanderMeulen
917e565db3
Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
...
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Benjamin Bouvier
17414be6e0
Bug 878501: Forbid variable declarations without var keyword in asm.js; r=luke
2013-06-13 11:54:25 -07:00
Benjamin Bouvier
4cab13438a
Bug 882514: Don't try to enable Ion on functions with no script; r=h4writer
2013-06-13 11:47:09 -07:00
Terrence Cole
bcece3c36a
Bug 882482 - Do not use the store buffer off the main thread; r=nmatsakis
...
--HG--
extra : rebase_source : c557b8d5c27bfc55f86cae2898fc5744fc74214f
2013-06-12 17:58:59 -07:00
Dan Gohman
4a424e1707
Bug 875910 - Trim trailing whitespace. r=sstangl
2013-06-13 10:23:30 -07:00
Dan Gohman
c44f9d9dc5
Bug 875917 - Add braces to an if which has braces on its else. r=sstangl
2013-06-13 10:23:21 -07:00
Bobby Holley
032d78be94
Bug 880917 - Remove AutoVersionAPI. r=luke
...
This doesn't do anything anymore. The compile options should generally carry
the right version through, with the exception of eval, which will end up using
the version of the running script anyway.
2013-06-13 10:09:28 -07:00
Bobby Holley
2017cd5761
Bug 880917 - Hoist defaultVersion into the runtime and remove it from the JSContext. r=luke
2013-06-13 10:09:27 -07:00
Bobby Holley
4487e98c37
Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
...
\o/
2013-06-13 10:09:27 -07:00
Bobby Holley
dc72ab031b
Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke
2013-06-13 10:09:27 -07:00
Bobby Holley
b2dea5685a
Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke
2013-06-13 10:09:26 -07:00
Bobby Holley
4a9c4097a1
Bug 880917 - Remove XPConnect version munging test. r=luke
...
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-13 10:09:26 -07:00
Bobby Holley
824c9ddd7a
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-13 10:09:26 -07:00
Bobby Holley
2ff95d98aa
Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
...
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-13 10:09:26 -07:00
Bobby Holley
aba517db69
Bug 880917 - Remove testVersion.cpp. r=luke
...
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-13 10:09:25 -07:00
Bobby Holley
bbc3e00570
Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
...
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-13 10:09:25 -07:00
Bobby Holley
670e4b4d9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
Bobby Holley
38dc3cc59d
Bug 880917 - Remove support for munging JS versions from JSD. r=luke
...
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-13 10:09:24 -07:00
Hannes Verschore
f9b6b6c50b
Bug 881470. r=jandem
2013-06-14 17:26:28 -07:00
Gary Kwong
cfef0f4308
Backout rev 18c1fd169792 for causing issues with the fuzzers. r=luke in-person
2013-06-14 17:00:49 -07:00
Terrence Cole
ff1f05b181
Bug 883381 - SpiderMonkey does not yet support C++11; r=Waldo
...
--HG--
extra : rebase_source : 009192000c3e9f6229c53694aab23e508e661f52
2013-06-14 14:24:10 -07:00
Benoit Girard
945cb3c483
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Terrence Cole
302cbbbed5
Bug 877473 - Expose tools to help fuzz generational GC; r=billm
...
--HG--
extra : rebase_source : 46dd430429e31ab380b61ef8b0019fc20a411961
2013-05-30 10:55:15 -07:00
Matt Brubeck
986a98a293
Back out 3dbc486831a4 (bug 882012) for jit-test failures on a CLOSED TREE
2013-06-12 17:02:04 -07:00
Benjamin Bouvier
5de42a56f9
Bug 882012: Provide Use to right hand side in CheckStoreArray; r=luke
...
--HG--
extra : rebase_source : 01caa88a90ca1b53134f051b0d686c3f183f4408
2013-06-12 15:47:26 -07:00
Jeff Walden
c5d11b987b
Bug 496923 - Import the ch07 tests from test262. r=generating-script-was-reviewed
2013-06-11 11:38:41 -07:00
Jeff Walden
095ea802d0
Bug 496923 - Update the test262 import script to include ch07 tests. r=terrence
2013-06-11 11:38:23 -07:00
Jeff Walden
91147fd3a6
Bug 496923 - Import ch12 tests from test262. r=generating-script-was-reviewed
2013-06-10 17:19:01 -07:00
Jeff Walden
b606d62eb7
Bug 496923 - Update the test262 import script to include ch12 tests. r=terrence
2013-06-10 17:18:28 -07:00
Bobby Holley
5d8b9c031d
Bug 880697 - Push in a few other suspicious places. r=gabor
2013-06-12 14:17:56 -07:00
Bobby Holley
dfe5a1b7ea
Bug 880697 - Remove dumbContext. r=gabor
...
Whew.
2013-06-12 14:17:56 -07:00
Bobby Holley
ebb40605e8
Bug 880697 - Remove JSD_GetDefaultJSContext and fix callers. r=gabor
2013-06-12 14:17:55 -07:00
Bobby Holley
08897ecc69
Bug 880697 - Replace usage of dumbContext with AutoSafeJSContext. r=gabor
...
dumbContext ends up with jsdc->glob as its default global, so we have to be
very careful to audit for any places where the code might be assuming that
its cx is in the compartment of jsdc->glob. Luckily, the code already seems
pretty explicit about its compartments.
2013-06-12 14:17:55 -07:00
Bobby Holley
4f75c3875f
Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor
2013-06-12 14:17:55 -07:00
Bobby Holley
7f1f2366e0
Bug 880697 - Make JS_ClearScriptTraps take a runtime directly. r=gabor
...
This obviates the need for a context at the JSD callsite.
2013-06-12 14:17:55 -07:00
Bobby Holley
f814be5d18
Bug 880697 - Stop using clunky C API in JSD and start using RAII classes. r=gabor
2013-06-12 14:17:54 -07:00
Bobby Holley
ec5b064aee
Bug 880697 - Add an RAII class to JSD to save/restore exception state. r=gabor
2013-06-12 14:17:54 -07:00
Bill McCloskey
0a3508d15a
Bug 880697 - Add JSRuntime constructor for Rooted. r=terrence
2013-06-12 14:17:54 -07:00
Bobby Holley
302ad9de7c
Bug 881517 - Remove mPrototypeNoHelper machinery. r=mrbkap
...
The comments surrounding it don't make any sense to me, and most likely applied
to a pre-CPG world.
2013-06-12 14:10:54 -07:00
Bobby Holley
bc3880cc53
Bug 881517 - Just use Object.prototype for vanilla XPCWNs. r=mrbkap
2013-06-12 14:10:53 -07:00
Hannes Verschore
7b4bdfee1a
Bug 860838: OdinMonkey: Optimize FFI calls to ionmonkey, r=luke
2013-06-12 21:58:22 +02:00
Hannes Verschore
29223a2c06
Bug 879727: IonMonkey: During UCE remove corresponding MPassArgs when removing calls, r=jandem
2013-06-12 21:46:19 +02:00
Benjamin Bouvier
a64f8c26d3
Bug 878444: in Range Analysis, give an empty range for |Infinity % x|; r=bhackett
2013-06-12 12:18:23 -07:00
Martin Husemann
f314bc5f26
Bug 871444 - Round allocation size to keep required alignment. r=sstangl
2013-06-11 12:23:24 -07:00
Jan de Mooij
d36ab43b55
Bug 881370 - Remove entry from Debugger HashMap before instead of after mutating the HashMap. r=jimb
...
--HG--
extra : rebase_source : e630194150bb9c81279ac006a70128234732e306
2013-06-12 20:00:07 +02:00
Terrence Cole
ebfa48afe2
Backout 6d95672c5a68 for SM(r) bustage, probably not on a CLOSED TREE.
...
--HG--
extra : rebase_source : 0234911b2197ebe562f95ecf172352af6cb648cf
2013-06-12 11:02:21 -07:00
Terrence Cole
d30c1fac90
Bug 879079 - Fix static rooting analysis failures from calls to defineOwnProperty; r=sfink
...
--HG--
extra : rebase_source : c8c491faef16ad0e1ebc4e624a54d85fd0a47029
2013-06-05 15:08:41 -07:00
Terrence Cole
6c60d62788
Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
...
--HG--
extra : rebase_source : df08f912b716c3a0a248ea9e86988ba0b72aaa39
2013-06-04 16:14:14 -07:00
Ryan VanderMeulen
75d93fedb4
Backed out changeset 869f21ccd71a (bug 856246) for test failures.
2013-06-12 12:21:21 -04:00
Ryan VanderMeulen
942d616185
Backed out changeset cd80b21eb9a0 (bug 856246) for test failures.
2013-06-12 12:20:54 -04:00
Joshua Cranmer
896ab9bb65
Bug 869635 - Eliminate the xpcshell master manifest, r=gps.
2013-06-12 07:27:17 -05:00
Nicholas D. Matsakis
818d3e7044
Bug 856246 - Adjust filter-very-few to adapt to varying input sizes. rs=tests
2013-06-12 11:10:23 -04:00
Nicholas D. Matsakis
48cca5ad3e
Bug 880640 - In the transitive compilation loop, monitor use counts and
...
wait for scripts to either stop being called or to be baseline-compiled
before we attempt par ion compilation. r=djvj
2013-06-07 06:29:26 -04:00
Nicholas D. Matsakis
5cf557e6a9
Bug 856246 - Update test suite to consistently use minItemsTestingThreshold and other abstractions r=till
2013-06-07 06:32:17 -04:00
Kannan Vijayan
b0cefd1489
Bug 875720 - Use baseline to identify arithmetic ops with double specialization instead of looking at TI overflow flag. r=jandem
2013-06-12 10:48:05 -04:00
Andrea Marchesini
0abf71d713
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
43b0a494b4
Bug 881358 - Kill build warnings in XPConnect; r=bholley
2013-06-12 09:00:09 +02:00
Kannan Vijayan
574eaaff65
Bug 859609 - Inline functions that use the scope chain, and also inline call sites with monomorphic cloned lambdas. r=h4writer
2013-06-11 15:49:51 -04:00
Ryan VanderMeulen
79cab24538
Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
...
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
ad3fb45421
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Phil Ringnalda
10c5964711
Back out 2ccb9ec11a9f:d27ecea31590 (bug 856410) for b2g mochitest-3 failures
...
CLOSED TREE
2013-06-11 21:24:56 -07:00
Dan Gohman
1f7d9a8c4d
Bug 881382 - Cleanup some ARM code to be more consistent with the corresponding x86 code. r=mjrosenb
2013-06-11 18:50:27 -07:00
Andrea Marchesini
cb935c984c
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ryan VanderMeulen
911f19ec09
Backed out changeset 7e69e102a432 (bug 823978) for bustage.
...
CLOSED TREE
2013-06-11 14:28:17 -04:00
Jan de Mooij
6a7f46d569
Bug 868437 follow-up - Disable MSVC PGO for ScriptFrameIter methods to fix PGO crashes. rs=luke
2013-06-11 20:05:13 +02:00
Benjamin Peterson
bf9614501d
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Luke Wagner
9e7d6fc156
Bug 881608 - OdinMonkey: handle Type::Unknown when checking call args (r=bbouvier)
...
--HG--
extra : rebase_source : ca7bed61121e080743f5fc6dd35a7b36e1aa93dd
2013-06-11 09:53:53 -07:00
Dan Gohman
94823d4552
Bug 881409 - Pull the parts of AssertGraphCoherency that can be checked before SplitCriticalEdges out into a separate function and call it before SplitCriticalEdges. r=jandem
2013-06-11 08:55:54 -07:00
Jeff Walden
87327cff09
Bug 798179 - Bustage fix in a CLOSED TREE for another bug's patch that landed after the try run here. r=aargh
2013-06-11 08:57:35 -07:00
Jeff Walden
a63e5feb0f
Bug 880591 - Keep length metadata correct for frozen arrays. r=bhackett
...
--HG--
extra : rebase_source : d2caf062d0f43c438c8cf0e4b407009951dacf36
2013-06-07 16:30:28 -07:00
Jeff Walden
99f84749f1
Bug 798179 - Rewrite ToIntWidth to more simply act upon the actual bits of the IEEE-754 representation. r=froydnj
...
--HG--
extra : rebase_source : fb2da4e55b258b6b62c1c9449447fccff8c2012d
2013-06-07 13:22:45 -07:00
Jeff Walden
9bfb447d5d
Bug 880920 - Simplify some absolute-value-computing code in lexicographic sorts of numeric arrays. r=luke
...
--HG--
extra : rebase_source : f7b164d212bdf2d94a80064c7d5575ef0cd31e88
2013-06-10 12:13:38 -07:00
Joey Armstrong
a0d9ebd7ba
bug 875549: move HOST_CSRCS to mozbuild (file batch #1 ). r=mshal
2013-06-11 11:31:11 -04:00
Ed Morley
64b2bc1c50
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Ed Morley
f5d357a991
Backed out changeset 94fb66d82988 (bug 877584)
2013-06-11 16:10:51 +01:00
Luke Wagner
fb1a2224d7
Backout 841ffd181e14 (Bug 878433)
2013-06-10 17:25:20 -07:00
Luke Wagner
cbf9313358
Bug 878505 - OdinMonkey: store to float array should accept doublish (r=bbouvier)
...
--HG--
extra : rebase_source : 3f4af584882995a49475903a0c4b87cf2b52d4af
2013-06-10 16:37:18 -07:00
Luke Wagner
6ac4c467d3
Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
...
--HG--
extra : rebase_source : c2a1d3a7da1ac3b7dd8507772a8b1cdb33e3415e
2013-06-10 16:23:44 -07:00
Luke Wagner
520329b4ae
Bug 878429 - IonMonkey: don't conflate 0 and -0 in IsConstant (r=jandem)
...
--HG--
extra : rebase_source : d51c8f2984c1346eeb377be9f08546ca3ba57f04
2013-06-10 16:22:57 -07:00
Luke Wagner
085b8e281d
Bug 878526 - OdinMonkey: handle 'unknown' type properly for FFI functions with unused results (r=bbouvier)
...
--HG--
extra : rebase_source : 13c2a08c6c1e1c8b00272a8aa0c5e7e17031e8ca
2013-06-10 16:21:21 -07:00
Dan Gohman
019518045d
Bug 881397 - Minor dominator-tree computation cleanups. r=sstangl
2013-06-10 15:48:10 -07:00
Dan Gohman
506c48a283
Bug 881366 - Simplify CheckOverrecursed sequences. r=sstangl
2013-06-10 15:48:10 -07:00
Brian Hackett
6782186cda
Bug 881333 - Fix break in GGC builds.
2013-06-10 16:08:55 -06:00
Brian Hackett
59e2a34200
Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.
2013-06-10 15:22:18 -06:00
Dan Gohman
9de5fef6a7
Bug 881401 - Use explicit template instantiation. r=bhackett
2013-06-10 14:13:57 -07:00
Dan Gohman
724da5d8ce
Bug 881380 - Pull the LDouble class into shared code. r=luke
2013-06-10 14:13:57 -07:00
Dan Gohman
4186cda125
Bug 881372 - Refactor lowerForFPU to be shared between x86 and x64. r=jandem
2013-06-10 14:13:56 -07:00
Shu-yu Guo
a1cfd9438d
Bug 879723 - Make sure property types reflect inherited types from the prototype when specializing a setgname. (r=bhackett)
2013-06-10 12:10:13 -07:00
Terrence Cole
d688649660
Bug 880776 - Check verifier nursery inclusion explicity in JIT post barriers; r=bhackett
2013-06-07 13:46:26 -07:00
Kannan Vijayan
4de22d4259
Bug 878992 - Clean up Jaeger related flags. r=jandem
2013-06-10 12:00:30 -04:00
Jan de Mooij
3d1b62c8ea
Bug 877378 - Fix shell-only compartment mismatch with evaluate and saveFrameChain. r=luke
2013-06-10 16:43:03 +02:00
Nick Fitzgerald
a26de060a2
Bug 870361 - Change the symbol for source map pragmas from @ to #. r=jorendorff
2013-06-10 08:36:23 -04:00
Jan de Mooij
b59459aecb
Bug 876465 - Skip arguments-object slot in InlineFrameIterator::thisObject() and SnapshotIterator::readFrameArgs. r=djvj
2013-06-10 14:00:27 +02:00
Kyle Huey
3329670a4b
Bug 877584: Add missing #ifdef DEBUG. r=me
2013-06-09 16:08:19 -07:00
Kyle Huey
756f02ce3d
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Hannes Verschore
eb6bc7661e
Bug 880891 - IonMonkey: Only trigger invalidation when decided to inline function, r=djvj
2013-06-09 11:57:59 +02:00
Landry Breuil
21273d6caa
Bug 618485: Finally remove uintptr_t word payload union member on 64BE, it grows jsval_layout size and is unused. r=luke
2013-06-08 12:49:10 +02:00
C. Scott Ananian
4026e0ce22
Bug 880807 - OdinMonkey: Fix signature of int multiplication by constant (r=luke)
...
--HG--
extra : rebase_source : 6b4d2bcb2261c9d466e5ce8098a70212a5b7c78f
2013-06-07 18:33:50 -04:00
Boris Zbarsky
51217ccdd9
Bug 877281 another followup for the Windows bustage. r=jandem pending
2013-06-08 00:06:39 -04:00
Boris Zbarsky
8aa1bc1906
Bug 877281 bustage fix. Deal with the fact that Value has 8-byte alignment. r=jandem
2013-06-07 23:40:35 -04:00
Jason Orendorff
f7e4b064e2
Bug 880575, part 5 - Factor out EvalAndPrint from ReadEvalPrintLoop. Use CompileOptions to eliminate some more manual memory management. Make ReadEvalPrintLoop take both input and output FILEs as arguments instead of using gOutFile. r=jwalden.
2013-06-07 22:25:08 -05:00
Jason Orendorff
f2e4058507
Bug 880575, part 4 - Use a Vector<char> instead of manually allocating the input buffer in ReadEvalPrintLoop. r=jwalden.
2013-06-07 22:25:08 -05:00
Jason Orendorff
7e6ac96fc1
Bug 880575, part 3 - Declare variables at initialization in ReadEvalPrintLoop. r=jwalden.
2013-06-07 22:25:08 -05:00
Jason Orendorff
666830c9de
Bug 880575, part 2 - Factor out RunFile() from Process(). r=jwalden.
2013-06-07 22:25:07 -05:00
Jason Orendorff
1a1fb08c55
Bug 880575, part 1 - Factor out ReadEvalPrintLoop() from Process(). r=jwalden.
2013-06-07 22:25:07 -05:00
Boris Zbarsky
f68f0da53c
Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv
2013-06-07 22:45:46 -04:00
Boris Zbarsky
aec6c97d07
Bug 877281 part 5. Add a set() method to Rooted. r=terrence
2013-06-07 22:45:45 -04:00
Boris Zbarsky
ec718b51e3
Bug 877281 part 1. Convert WebIDL bindings to using something CallArgs-like. r=peterv,jandem
2013-06-07 22:45:44 -04:00
Bobby Holley
a0507f61d6
Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2
2013-04-12 15:35:00 -04:00
Bobby Holley
360f1a1f1e
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Jan de Mooij
d9e3b5ba11
Bug 868437 - Add a linked list of activations to JSRuntime and rewrite ScriptFrameIter to use it. r=luke
2013-05-27 11:43:15 +02:00
Felix S. Klock II
665c29dba1
Bug 881223: Issue warnings on GC bailouts. r=nmatsakis
2013-06-10 07:40:00 -04:00
Hannes Verschore
33249591c0
Bug 879168 - IonMonkey: Improve the typeset of |this| when inlining a constructing call, r=bhackett
2013-06-11 16:00:54 +02:00
Gabor Krizsanits
08c61f7f29
Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap
2013-06-11 12:01:33 +02:00
Jan de Mooij
71d79d8cb5
Bug 881410 - Remove some TI code we no longer need without JM. r=bhackett
2013-06-11 10:11:04 +02:00
Hannes Verschore
d1519fbef7
Bug 876607 - Fix accidental switching of lhs/rhs in the code, rs=luke
2013-06-08 00:34:16 +02:00
Benjamin Bouvier
bbad0508b6
Bug 878495 - In shell, print "[native code]" for native functions. r=luke
2013-06-07 10:57:21 -07:00
Benjamin Bouvier
1e5b25ad09
Bug 877965 - Ignore empty statements in var declarations in asm.js mode. r=luke
2013-05-31 16:27:00 -07:00
Benjamin Bouvier
e93e1008b8
Bug 877965 - In asm.js mode, use the last return statement instead of the last statement to find the return type of a function. r=luke
2013-06-07 12:06:53 -07:00
Kannan Vijayan
c3486ad31a
Bug 880539 - Fix CodeGenerator::guardTypeSet to handle MagicArgs type. r=bhackett
2013-06-07 15:06:53 -04:00
Terrence Cole
6df78c5573
Bug 880392 - Fix use-after free with exact rooting in XPCShell; r=sfink
...
--HG--
extra : rebase_source : a509e84b7165b8a40f4a06e006dfc614665eef2c
2013-06-07 11:34:57 -07:00
Ryan VanderMeulen
8716f9c7cb
Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures.
2013-06-07 11:16:36 -04:00
Benjamin Bouvier
336f4cf0c6
Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke
2013-06-06 17:00:08 -07:00
Ryan VanderMeulen
289a9dd76e
Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures.
2013-06-07 10:43:33 -04:00
Arnaud Sourioux
a5d79837b1
Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley
2013-06-07 08:40:56 -04:00
Benjamin Bouvier
ba92c1f855
Bug 878495 - In shell, print "[native code]" for native functions. r=luke
2013-06-06 17:57:15 -07:00
Benjamin Bouvier
14d84bf8d6
Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke
2013-06-06 17:00:08 -07:00
Benjamin Bouvier
4cfb93da4d
Bug 877908 - Precludes also directives after "use asm". r=luke
2013-06-06 13:49:13 -07:00
Anand Soni
0981ee2607
Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj
2013-06-07 00:02:26 +05:30
Martin Husemann
aa04b10b63
Bug 870325 - Fix alignment of Bindings on SPARC64. r=nnethercote.
...
--HG--
extra : rebase_source : d89c154f8b3484079cc7fb4fa656cf8ff72bae8a
2013-06-06 22:03:12 -07:00
Jason Orendorff
a88777a861
Bug 879831, part 7 - Isolate the frontend. Make files outside the frontend include frontend/BytecodeCompiler.h or frontend/SourceNotes.h if possible; those two act as facades and do not include all the rest of the frontend headers. r=njn.
2013-06-06 22:49:17 -05:00
Jason Orendorff
c9e08462b7
Bug 879831, part 6 - Factor out Debugger inlines that depend on other "inlines" headers into vm/Debugger-inl.h. r=njn.
2013-06-06 22:49:03 -05:00
Jason Orendorff
c707c0de2f
Bug 879831, part 5 - Factor out js::Probes functions that depend on "inlines" headers into vm/Probes-inl.h. r=njn.
...
--HG--
rename : js/src/jsprobes.h => js/src/vm/Probes-inl.h
rename : js/src/jsprobes.cpp => js/src/vm/Probes.cpp
2013-06-06 22:48:45 -05:00
Jason Orendorff
d9ab0a4b94
Bug 879831, part 4 - Make vm/String-inl.h not include gc/Barrier-inl.h, breaking an #include cycle. Make vm/Shape-inl.h not #include itself. r=njn.
2013-06-06 22:48:32 -05:00
Jason Orendorff
cdf4226c2f
Bug 879831, part 3 - Make jsobjinlines.h not include jsscriptinlines.h, eliminating the #include cycle jsscriptinlines.h -> vm/Shape-inl.h -> jsobjinlines.h -> jsscriptinlines.h. r=njn.
2013-06-04 16:24:43 -05:00
Jason Orendorff
8fa7f5b04d
Bug 879831, part 2 - Move JSObject::asModule from Module.h to jsobjinlines.h since it requires another inline function defined in that header. r=njn.
2013-06-06 22:48:00 -05:00
Jason Orendorff
506ffbea73
Bug 879831, part 1 - Uninline JSScript::sourceObject. Same as bug 877444, but actually uninline sourceObject all the way out to a .cpp file. r=njn.
2013-06-06 22:47:40 -05:00
Jason Orendorff
38062bb90b
Bug 879831, part 0 - Add defined(JS_ION) guard to more ion headers, to prevent the need for #ifdef JS_ION around #includes in other files. r=njn.
2013-06-06 22:47:23 -05:00
Jason Orendorff
a522114b37
Bug 872717 - Remove PNX_FORINVAR. Its only user, jsreflect.cpp, does not really need the hint. r=luke.
2013-06-06 22:47:23 -05:00
Jason Orendorff
74b1747201
Bug 872720 - Do not bother calling clearParent in Parser::newRegExp. r=Waldo.
2013-06-06 22:47:23 -05:00
Jason Orendorff
436fe74f12
Bug 879817 - Remove unused method Debugger::isDebugWrapper. r=jonco.
2013-06-06 22:47:22 -05:00
Benjamin Bouvier
f1e6fea5c4
Bug 878520: don't clone native asm.js functions; r=luke
2013-06-06 14:48:40 -07:00
Jim Blandy
f5b50e03cb
Bug 877444: Remove new 'inline function used but not defined' warnings for ScriptSourceObject-related functions. r=terrence
2013-06-06 14:47:12 -07:00
Jon Coppeard
1c5049851e
Bug 878486: Improve sweeping of breakpoints r=terrence
2013-06-06 14:47:12 -07:00
Eddy Bruel
31a698f4b5
Bug 858060 - Throw SyntaxError on module syntax. Fix bogus assertion. r=jorendorff.
...
--HG--
extra : rebase_source : ea25ab9fa70ff070ab85a5d4187d9b7312817557
2013-06-05 14:17:43 -05:00
Jason Orendorff
6386ad36fa
Bug 877639 - Switch some code in frontend/FoldConstants.cpp from getOp() to getKind(). r=jwalden.
...
--HG--
extra : rebase_source : 97c448dc52660fc0257d81730b1c07eb2b89df40
2013-06-05 14:17:43 -05:00
Sankha Narayan Guria
d0c792512a
Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
...
--HG--
extra : rebase_source : 0b9b93bd796ba2c528b89c377b8aac922631ec98
2013-06-05 14:17:35 -05:00
Sankha Narayan Guria
93726c7d29
Bug 869996 - Implement Set.prototype.{keys, values, entries}. r=jorendorff.
...
--HG--
extra : rebase_source : 6d978d49d2fb696162b1cef5b643a209a01a4711
2013-06-05 14:17:30 -05:00
Sean Stangl
c9422a7b70
Bug 858586 - Drop temporary MGetPropertyCache reference if native inlining fails. r=h4writer
2013-06-05 17:05:28 -07:00
Kannan Vijayan
628e0ba714
Bug 877287 - Fix regression introduced by revision 7df36088f645. r=bhackett
2013-06-06 15:03:40 -04:00
Kyle Huey
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Terrence Cole
59ded2d99d
Bug 879874 - Do not allow JIT code to allocate into a disabled nursery; r=bhackett
...
--HG--
extra : rebase_source : 5f08128798e8f54d1a145f85ed75d0fab2343381
2013-06-06 09:09:05 -07:00
Hannes Verschore
697a26b74f
Bug 876607 - IonMonkey: Reordering of operands should look to real use count, r=sstangl
2013-06-06 15:35:13 +02:00
Martin Stransky
7b831fc935
Bug 877626 - Port GTK2 to GTK3 - build config, headers fix. r=karlt
2013-06-06 07:57:58 -04:00
Martin Stransky
f885460f7b
Bug 877626 - Port GTK2 to GTK3 - build config, configure in js part. r=karlt
2013-06-06 07:57:40 -04:00
Jon Coppeard
25f427a68d
Bug 876654 - [jsdbg2] Assertion failure: kind == CrossCompartmentKey::DebuggerScript ... at jsgc.cpp:3241 r=terrence
2013-06-06 10:16:51 +01:00
Peter Van der Beken
0e0cb23737
Bug 877654 - Remove thisptr offset tables - Remove thisptr table support from XPConnect. r=Ms2ger.
...
--HG--
extra : rebase_source : 9f333a76ba13b518e3a33a230adcdd154606fa1a
2013-05-21 21:59:30 +02:00
Daniel Holbert
984ba95807
Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley
2013-06-06 00:27:16 -07:00
Dan Gohman
9b7671b338
Bug 875916 - Fix some x86 assembly spew bugs. Also, change the order of operands in psrlq and psllq to be consistent with the operand ordering used in the rest of the file. r=sstangl
2013-06-05 17:10:47 -07:00
Dan Gohman
141ab58769
Bug 875917 - Use xorl to zero a register instead of movl. r=luke
2013-06-05 17:10:47 -07:00
Dan Gohman
8dc0931765
Bug 871728 - Avoid pushing the stack pointer to the stack; it's saved and restored in ABIArgGenerator::NonVolatileReg. r=luke
2013-06-05 17:10:47 -07:00
Dan Gohman
7e48f0d375
Bug 878818 - Include column numbers in asm.js diagnostics. r=luke
2013-06-05 17:10:47 -07:00
Jeff Walden
4f4586feee
Bug 496923 - Import the ch09 test262 tests into jstests. r=generating-script-was-reviewed
...
--HG--
extra : rebase_source : 2734046863d49aa9400d1602a65dc8a851b10b05
2013-06-05 17:02:40 -07:00
Jeff Walden
13ea38ce1b
Bug 496923 - Update the test262-updating script to import the ch09 tests. r=terrence
...
--HG--
extra : rebase_source : ec86e42b9808880804d06599fdf334602e1b2842
2013-06-05 17:02:37 -07:00
Steve Fink
b5693aeaba
Backed out changeset 55fa2277a702 (bug 848592) for exposing pre-existing rooting hazards. Will fix the problems before relanding. The green you see is a lie.
2013-06-05 16:03:30 -07:00
Dan Gohman
5b627cd05c
Bug 875910 - Optimize x86 and x64 encodings for test and cmp with immediates. r=sstangl
2013-06-05 14:59:33 -07:00
Steve Fink
2f7f14840c
Bug 848592 - Mark memory accessed by dynamic rooting analysis as defined, r=njn
...
--HG--
extra : rebase_source : 15c4b347a2705883bffa148955b2a3c147499864
2013-03-06 15:56:35 -08:00
Steve Fink
a21d30c7e1
Bug 876776 - Add a -J option to the shell for running under jorendb, r=terrence
...
--HG--
extra : rebase_source : 60afc69f0c9ac65ab913797f8393779f3566ed2e
2013-06-04 12:14:17 -07:00
Steve Fink
d356730f1c
Bug 876776 - Do not crash when dumping a NULL object, r=terrence
...
--HG--
extra : rebase_source : 01e96eb326c42b62b49251dce5dac7e2fbc031b5
2013-06-04 12:14:17 -07:00
Steve Fink
65c61fe73d
Bug 876776 - Allow using '--' to terminate shell arguments (and pass the rest to the script), r=terrence
...
This makes
./js -f foo.js -- a b c
the same as
./js foo.js a b c
but also allows things like
./js -e 'print(arguments)' -- a b c
which previously wasn't possible.
--HG--
extra : rebase_source : dbed845426786c86f20e6f9abe4479e07bb228b9
2013-05-22 09:50:08 -07:00
Steve Fink
ae1c139ed2
Bug 876776 - Import latest version of js/examples/jorendb.js. DONTBUILD
...
--HG--
extra : rebase_source : 03473dd562c2b41e4720dcbaa41dc07bcc57c050
2013-06-04 12:14:17 -07:00
Terrence Cole
5a0f0901d3
Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
...
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Jeff Walden
8e8b1c81c2
Bug 496923 - Import the ch11/ test262 tests into jstests. r=generating-script-was-reviewed
...
--HG--
extra : rebase_source : e83eb03850d7283fffe3aa81d72d9198427b2771
2013-06-04 17:32:01 -07:00
Jeff Walden
2d129df36b
Bug 496923 - Make the test262-importing script import tests from ch11/. r=terrence
...
--HG--
extra : rebase_source : 33780b34a54407f5deff88aa523318d3c83a1024
2013-06-04 17:31:54 -07:00
Jeff Walden
398f3b7ff0
Bug 496923 - Import the ch13/ test262 tests into jstests. r=generating-script-was-reviewed
...
--HG--
extra : rebase_source : b82cc636c546b1005ad837d3d2eeb696e686abbb
2013-06-04 17:13:53 -07:00
Jeff Walden
b6e1c19e08
Bug 496923 - Make update-test262.sh import tests from ch13/. r=terrence
...
--HG--
extra : rebase_source : ab8c3abd718abb15c7b3a8ed91c42dca7908d2f1
2013-06-04 10:46:42 -07:00
Jeff Walden
07ed56130d
Bug 496923 - Import the ch10/ test262 tests into jstests. r=generating-script-was-reviewed
...
--HG--
extra : rebase_source : 13e84b256b23baba42cdb8b139e17174d9a264df
2013-06-04 17:04:47 -07:00
Jeff Walden
51d7544593
Bug 496923 - Make the test262-importing script import tests from ch10/, and skip the tests that we don't currently pass (6 for test harness shortcomings, 2 for actual bugs). r=terrence
...
--HG--
extra : rebase_source : 559020828156815e625a96815792ed08107fb790
2013-06-04 10:43:42 -07:00
Kannan Vijayan
f6360b0170
Bug 870034. r=bhackett
2013-06-05 16:52:11 -04:00