Commit Graph

34679 Commits

Author SHA1 Message Date
Nick Fitzgerald
58050836b0 Bug 1035287 - Part 2: Refactor js::SavedStacks::insertFrames to use iteration instead of recursion. r=shu 2014-07-23 09:15:00 +02:00
Terrence Cole
8878446289 Bug 1033442 - Automate tracking of the GCRuntime's gcBytes; r=jonco,sfink 2014-07-22 13:30:26 -07:00
Mike Conley
a3b82c8ae2 Bug 1042398 - Tests. r=bholley 2014-07-23 15:20:05 -07:00
Bobby Holley
64ee1af06f Bug 1042398 - Add a WaiveXrayWrapper override for ::iterate. r=gabor
I thought we had overrides for all the proxy traps that returned non-primitive
values, but it looks like we missed one.
2014-07-23 15:20:05 -07:00
Alexandre Poirot
5a3800bc64 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Wes Kocher
4c67cec5f7 Backed out changeset 88860bed8c96 (bug 1042398) for bustage on a CLOSED TREE 2014-07-23 13:09:54 -07:00
Wes Kocher
575bd1d6b6 Backed out changeset 79d2db9a2a2c (bug 1042398) for build bustage on a CLOSED TREE 2014-07-23 13:08:24 -07:00
Brian Hackett
8c55be5102 Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish. 2014-07-23 11:59:10 -08:00
Mike Conley
fc443521cb Bug 1042398 - Tests. r=bholley 2014-07-23 12:36:22 -07:00
Bobby Holley
3c1972e20d Bug 1042398 - Add a WaiveXrayWrapper override for ::iterate. r=gabor
I thought we had overrides for all the proxy traps that returned non-primitive
values, but it looks like we missed one.
2014-07-23 12:36:22 -07:00
Bobby Holley
867be7f640 Bug 1041626 - Tests. r=bz 2014-07-23 12:36:21 -07:00
Ryan VanderMeulen
73a68a8ebb Merge inbound to m-c. a=merge 2014-07-23 15:17:20 -04:00
Ryan VanderMeulen
f6d5db98ae Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp 2014-07-23 15:16:53 -04:00
Andrea Marchesini
9679a08231 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Boris Zbarsky
858b055504 Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff 2014-07-23 01:06:33 -04:00
Mike Hommey
7ca2de4659 Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me 2014-07-23 14:01:55 +09:00
Mike Hommey
ad9b49263a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6 Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995 Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
31cd528278 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Brian Hackett
d3daff9ebe Bug 1028580 - Remove debugging printfs. 2014-07-22 18:37:27 -08:00
Brian Hackett
7158749355 Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish. 2014-07-22 18:34:03 -08:00
Nicholas Nethercote
87fca231e7 Backout dd2018a5f894 (bug 1039965) because it caused perf regressions in Kraken.
--HG--
extra : rebase_source : 3d6c25bc6ce7db784d9e8ba52d3ef058c9d8d802
2014-07-22 18:11:31 -07:00
Jonathan Griffin
efbbf73c27 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
c044256760 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Bobby Holley
81109a2b27 Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor 2014-07-22 16:14:27 -07:00
Bobby Holley
bac5dd0535 Bug 742444 - Pass the old wrapper or value to the prewrap callback instead of its flags. r=gabor
We need this so that we can reason about the origin of the wrapper that
previously had a waiver and decide whether or not to extend it.
2014-07-22 16:14:27 -07:00
Eric Faust
72c8f56f1a Bug 978279 - Refactor proxy jit-tests and add tests to account for revocation. (r=jorendorff)
--HG--
rename : js/src/tests/ecma_6/Proxy/proxy-isExtensible.js => js/src/jit-test/tests/proxy/testDirectProxyIsExtensible1.js
2014-07-22 14:10:34 -07:00
Eric Faust
2635980b02 Bug 978279 - Implement revocation semantics. (r=jorendorff) 2014-07-22 14:10:31 -07:00
Eric Faust
3f30fb6e29 Bug 978240 - Recomment remaining ES6 proxy traps. (r=jorendorff) 2014-07-22 14:10:30 -07:00
Luke Wagner
0f06b2bffe Bug 1041868 - Add #ifdef JS_IONs to fix --disable-ion bustage (r=me)
--HG--
extra : rebase_source : e036a4cfddf84f746d77778881ced8d4f0ef4aa8
2014-07-22 09:12:15 -05:00
Dan Gohman
8a62a0302c Bug 1041746 - IonMonkey: GVN: Clear the IsGuard flag when simplifying an instruction too. r=nbp 2014-07-22 07:45:07 -07:00
ProgramFOX
f1dd3163f4 Bug 1041648: added float32x4 clamp test case; r=bbouvier 2014-07-22 03:21:32 -07:00
Nicolas B. Pierron
9406334c7c Bug 1006899 - Prevent stack iterations while recovering allocations. r=bhackett 2014-07-22 06:04:03 -07:00
Jan de Mooij
0052d42b4a Bug 1041469 part 3 - Remove toLatin1 shell function, update tests. r=luke 2014-07-22 14:52:14 +02:00
Jan de Mooij
10f6ecbf43 Bug 1041469 part 2 - Use templates to get rid of some NewFatInlineString duplication. r=luke 2014-07-22 14:52:05 +02:00
Jan de Mooij
98295b4df6 Bug 1041469 part 1 - Remove EnableLatin1Strings flag. r=luke 2014-07-22 14:52:03 +02:00
Tom Schuster
0dbfd64dd0 Bug 1041495 - Handlify StructuredClone. r=jonco 2014-07-22 12:18:24 +02:00
Nicholas Nethercote
fff7cca247 Bug 1039965 - Avoid slop in JS arrays. r=bhackett,terrence.
This patch changes JS array resizing to always allocate power-of-two sized slot
requests. Previously it would mostly make slight-more-than-power-of-two sized
requests, which cause lots of slop.

Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).

I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.

--HG--
extra : rebase_source : 942c11de724843aa582e3a17b02043458a57e594
2014-07-17 21:14:20 -07:00
Dan Gohman
b25c03204e Bug 1027885 - OdinMonkey: Make CodeGeneratorShared::mirGen consistent with FunctionCompiler::mirGen r=luke 2014-07-21 19:09:16 -07:00
Nick Fitzgerald
b4cf06074c Bug 993085 - Part 1: Add the Debugger.Memory.prototype.trackingAllocationSites accessor property r=jimb 2014-07-21 18:16:13 -07:00
Wes Kocher
7aa4c7c841 Bug 993085 - Part 0: Freeze SavedFrame and SavedFrame.prototype r=jimb 2014-07-18 13:48:06 -07:00
Wes Kocher
adf51a28f6 Merge m-c to inbound 2014-07-21 17:34:59 -07:00
Wes Kocher
59a5a56f24 Merge inbound to m-c a=merge 2014-07-21 12:54:52 -07:00
Bill McCloskey
d0b717086f Bug 1041370 - Fix script entry hook #ifdefing (a=RyanVM) 2014-07-20 21:58:49 -07:00
Jan de Mooij
4800404440 Bug 1028866 part 6 - Move NewString* functions from jsstr.{h,cpp} to vm/String.{h,cpp}. rs=luke 2014-07-21 12:45:48 +02:00