Commit Graph

22390 Commits

Author SHA1 Message Date
Ehsan Akhgari
66eeeb5eb7 Merge mozilla-central into mozilla-inbound 2012-09-21 13:34:50 -04:00
Nicholas Nethercote
126f5faa53 Bug 791607 - Remove unnecessary |#include <new>| directives. r=dmandelin. 2012-09-20 20:42:43 -07:00
Nicholas Nethercote
4cbf03c6a9 Bug 790424 (part 2) - Remove ParseContext::functionList and FunctionBox::{siblings,kids}. r=jimb.
--HG--
extra : rebase_source : 54dfebcaeb3b5ce3c335e9bc6e9dd6ea085cf8d2
2012-09-12 18:50:39 -07:00
Nicholas Nethercote
46b59201b8 Bug 790424 (part 1) - Set strict mode on functions in default arguments more lazily. code=benjamin,nnethercote. r=nnethercote.
--HG--
extra : rebase_source : f386bd1f17b850f421e3c914e1b31e0a25c82119
2012-09-12 18:50:37 -07:00
Marty Rosenberg
aebddeaac7 GCthings don't have a single tag, so mutate the condition to actually do a set-test. (bug 792239, r=dvander) 2012-09-20 17:47:13 -04:00
Phil Ringnalda
8eac6cec70 Back out 1e7050c52cb9 (bug 792850), 776f7325952b (bug 705047), 2e1be0680e70 (bug 733501), 6adef296963c (bug 791775), b8397781f862 (bug 792391) for WinXP hangs and suspicion of breaking Android stacks 2012-09-20 14:38:14 -07:00
Marty Rosenberg
ed71b1690e Qualcomm's snapdragon does not interpret "push sp" as a valid instruction, so don't emit it. (bug 791462, r=dvander) 2012-09-20 23:38:55 -04:00
Terrence Cole
4ae2374230 Bug 756628 - OOM failure with oom-after; r=jonco
On the following testcase: |js -e 'const libdir = "js/src/jit-test/lib/";'
-A 6266 -f js/src/jit-test/tests/pic/grandproto.js|.  Appears to be a simple
missing allocation check.
2012-09-19 15:06:51 -07:00
Ted Mielczarek
1f146a51ad bug 792391 - Add a TARGET_LOCAL_INCLUDES variable to be used for compiling target sources only, not host sources. r=glandium
--HG--
extra : rebase_source : f1a0b2f6f8051f7d274e38d458c6e426c913470b
2012-09-20 09:46:04 -04:00
Ehsan Akhgari
a615c79e81 Bug 777292 - Make sure that the Components.results values are interpreted as unsigned integers; r=bholley 2012-09-20 09:11:20 -04:00
Joel Maher
c3c481579d Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Gabor Krizsanits
3f2b789a0b Bug 785096: part3: Removing ccx from codegen/qsgen. r=bholley 2012-09-20 15:04:28 +02:00
Gabor Krizsanits
8d1cf92e96 Bug 785096 - part2: Removing XPCCallContext dependency from XPCVariant; r=bholley 2012-09-20 15:03:28 +02:00
Gabor Krizsanits
7ff94f298b Bug 785096 - part1: Moving dom string cache from XPCCallContext to XPCJSRuntime. r=bz 2012-09-20 15:01:37 +02:00
Ms2ger
93d99ce749 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Shu-yu Guo
1efc934da5 Bug 792605 - Replace isObject check with NonNullObject; refactor reporting errors in ParallelArray ops (r=luke) 2012-09-20 02:26:55 -07:00
Shu-yu Guo
58bb1667ef Bug 791445 - Propagate errors correctly in ParallelArray debug options (r=jorendorff) 2012-09-20 02:26:53 -07:00
Gervase Markham
d29fc4925e Bug 792028 - Update version_win.pl files and RPM spec file to refer to MPL 2. r=khuey. 2012-09-20 10:19:39 +01:00
Ms2ger
10e373a3de Bug 776239 - Unpref XHR bindings; r=bz 2012-09-20 09:55:37 +02:00
Ms2ger
1cee7fe10d Bug 792474 - Don't JS_ASSERT in xpconnect; rs=bholley 2012-09-20 09:55:37 +02:00
Ms2ger
e973046355 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Ms2ger
e37e5c980c Bug 791566 - Update old new proxy bindings to BaseProxyHandler::hasInstance changes; r=terrence 2012-09-20 09:55:36 +02:00
Mike Hommey
6540907667 Bug 787184 - Use generic install/copy rule in target_libs.mk. r=ted 2012-09-20 09:52:12 +02:00
Marty Rosenberg
f86a750c05 Ensure that branches that can be toggled are not used as pool guards (bug 792510, r=dvander) 2012-09-20 02:33:14 -04:00
Bobby Holley
2177137c1f Bug 790905 - Replace no-op principal check with something real. r=luke
This would have caught this bug.
2012-09-19 11:15:24 +02:00
Gabor Krizsanits
56f2a0f30d Bug 791845 - mozMatchesSelectorStub should return false on error. r=bholley 2012-09-19 10:53:42 +02:00
Nicholas Nethercote
3c11b61224 Bug 791611 (part 2) - Remove unnecessary |script| arg to TypeCompartment::newTypeObject(). r=sfink.
--HG--
extra : rebase_source : 793ff656d8e5e12988a1fb77b80fb7f7271118f2
2012-09-18 21:04:07 -07:00
Nicholas Nethercote
082ab0b34b Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
Jan de Mooij
ab06fe89b0 Bug 789420 - Don't optimize bitwise ops if one of the operands is an object. r=dvander 2012-09-20 08:55:30 +02:00
Nicholas Nethercote
18044f737e Bug 790146 - Neaten up some JSScript map handling. r=jorendorff. 2012-09-10 23:03:00 -07:00
Luke Wagner
551bcf08d2 Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Terrence Cole
b4fb1d5302 Bug 792218 - Get more jsreftests green on the rooting analysis; r=sfink
This adds correct rooting of several JSScript* and UncachedCallResult that are
blocking jsreftests from passing in root analysis mode.  Additionally, this
removes the unused implicit TlsRuntime constructor for Rooted: callers should
pass this manually so that they are easier to track.
2012-09-12 16:09:04 -07:00
Sean Stangl
afa8318625 Bug 792234 - Remove erroneous folding for MDiv. r=dvander 2012-09-18 15:31:58 -07:00
Luke Wagner
b8fcde43bf Bug 792237 - don't expose outstanding request count, just whether a context is active (r=mccr8)
--HG--
extra : rebase_source : 319ebfef9b1212619f9d7b6132c326587cc7625d
2012-09-04 15:22:05 -07:00
Sean Stangl
2cb0bdb037 Bug 789300 - Properly detect NaN truthiness. r=dvander 2012-09-18 14:18:38 -07:00
Nicholas Nethercote
9360dbe970 Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander. 2012-09-19 18:16:49 -07:00
Terrence Cole
8c13717d47 Bug 785551 - Remove an orphaned variable: r=Waldo
--HG--
extra : rebase_source : 39b2cd075977cd5ae13d4055fda2658a8cb2cede
2012-09-19 17:00:03 -07:00
Luke Wagner
93b864f871 Bug 786801 - Fix perf regression from adab1fdcfe0a by using currentScript again (r=jorendorff)
--HG--
extra : rebase_source : e04b138fa3f68ec893e546a601318923b6655aff
2012-09-19 15:35:42 -07:00
Terrence Cole
938043a087 Bug 785551 - Do not allow inline JSString chars in the frontend; r=luke
We need direct access to jschar*s in the frontend (and some other places) for
speed, but if these pointers are inlined into JSStrings then a GC may invalidate
them.  This patch ensures that we uninline JSStrings before they enter any of
these regions.

--HG--
extra : rebase_source : ddf62ad2a47b522aa9157be8bd0643022b20909b
2012-08-28 10:28:19 -07:00
Sean Stangl
e38940d2ab Bug 791589 - Mark the ArgumentsRectifier in visitApplyArgsGeneric(). r=mjrosenb 2012-09-19 15:28:16 -07:00
Jim Blandy
50be32e71d Bug 781439: Trim js/src/jit-test/tests/debug/Environment-find-06.js, and remove assertions. r=luke
slotCount() is O(n) on BlockObjects, so that, when used from a loop, those
assertions brought about quadratic behavior. The test creates 'let' blocks
with thousands of bindings, making the quadratic behavior show.

The assertions are unnecessary, as getSlotRef and setSlot do their own
bounds checking. I believe the test can be just as effective with smaller
'let' blocks.
2012-09-18 11:31:15 -07:00
Jan de Mooij
4f82ddcd0a Bug 792001 followup - Pass jschar to hasUnit/getUnit. r=pierron on IRC 2012-09-18 17:04:45 +02:00
Jan de Mooij
c3d124d9e1 Bug 792001 - Fix race condition with inlined String.fromCharCode. r=pierron
--HG--
extra : rebase_source : 275c53293443fec806ad8cf775173d9fdff698ab
2012-09-18 16:11:05 +02:00
Jason Orendorff
0fcc6bf664 Bug 788356 - Fix memory leak in evaluate(). JS shell only; this code is not part of the browser. r=Waldo. 2012-09-18 06:03:23 -05:00
Jason Orendorff
a03774931c Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 2 - Rewrite IsValidForStatementLHS using early returns. r=Waldo. 2012-09-18 06:03:22 -05:00
Jason Orendorff
77138fa36b Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 1 - Move the condition into a helper function. r=Waldo. 2012-09-18 06:03:22 -05:00
Jason Orendorff
f5d02cae64 Bug 728079 - "Assertion failure: pn2->pn_u.binary.iflags & 0x1" with JS 1.7, for-of loop, and destructuring. r=Waldo.
--HG--
extra : rebase_source : c395a34587756bcc5e418e2ed04ec9d055ab230d
2012-09-13 07:56:52 -05:00
Jeff Walden
76a7d750ba Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff 2012-09-11 10:32:33 -07:00
Jeff Walden
3ca93096a0 Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff 2012-09-10 20:42:08 -07:00