Commit Graph

34803 Commits

Author SHA1 Message Date
Andy Anderson
fa1d3e6cbd Bug 369778 - RegExp capturing groups that aren't matched during a match (because of, say, a *?+{n}{n,m} quantifier that means they're never used) should be matched as |undefined|, not as the empty string. r=jwalden
--HG--
extra : rebase_source : cf5710ee19dbdc0ee9b50d9a75d94e4e04584ec4
2014-07-25 14:34:10 -07:00
Jeff Walden
c825198daf Bug 1043683 - Make RegExpStatics::makeMatch sane about not taking two arguments, one of which is always double the other (yet has its parity tested). r=ae.anderson0@gmail.com
--HG--
extra : rebase_source : 13b576c6e15b8f4f0ad7e639ccdcaaf609bc10b5
2014-07-25 14:34:10 -07:00
Jeff Walden
6922f767cf Bug 1037609 - Remove the js_strdup(cx, jschars) method entirely, seeing as there are so few other uses of it. r=jimb
--HG--
extra : rebase_source : 1a611dccabaddccebc522943559a2ea1f1703811
2014-07-11 14:24:34 -07:00
Luke Wagner
a853ecd827 Bug 1043453 - OdinMonkey: fix bugs in interrupt handling (r=dougc)
--HG--
extra : rebase_source : 79fc33173590bde7e80f2960115361cb21c27cba
2014-07-25 11:01:35 -05:00
Tom Schuster
7fecfd389c Bug 1043588 - Remove some unused functions from OldDebugAPI. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster
f68682512f Bug 1031878 - Remove JS_SetWatchPoint and friends. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster
f64ba94266 Bug 1043577 - Remove PropertyDescArray stuff. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster
159f339e95 Bug 1043578 - Remove JS_SetDebuggerHandler and friends. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster
10abfe2a50 Bug 1031876 - Remove JS_SetTrap and friends. r=jimb 2014-07-25 14:26:39 +02:00
Benjamin Bouvier
9e41c63d18 Bug 1028580: remove multi-line comment warning; r=Ms2ger 2014-07-25 10:21:50 +02:00
Ms2ger
ffd7031cf6 Bug 1043281 - Remove JS_ClearNonGlobalObject; r=luke
This has always been a somewhat wonky API, which only existed because of
existing consumers in the DOM. The last consumer went away in bug 660237.
2014-07-25 08:59:40 +02:00
Gou Lingfeng
90c22f6ec3 Bug 977400 - Fixed WeakMapPtr visibility, r=sfink
--HG--
extra : rebase_source : 404dabdbaa3056988f922ce711292ded7f77f7dc
2014-07-24 16:57:42 -07:00
Nicholas Nethercote
a2cce63dce Bug 1039965 (attempt 2) - Avoid slop in JS arrays. r=bhackett,terrence.
This patch changes JS array resizing to prefer power-of-two sized slot
requests. Previously it would mostly make slightly-more-than-power-of-two sized
requests that 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 : c10fd4efd8ab80df5bbe14815009edb8eed3f23f
2014-07-24 18:41:09 -07:00
Terrence Cole
3985712a16 Backed out changeset 554e549aab67 (bug 1033442) for build failures on a CLOSED TREE.
--HG--
extra : rebase_source : 984dcabe44674d73bcadbce89899d683db96449e
2014-07-24 11:22:48 -07:00
Terrence Cole
7f3b653089 Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink
--HG--
extra : rebase_source : 43d48180eae9d4753dba22078b4c66061a9380d2
2014-07-22 16:24:28 -07:00
Nathan Froyd
c87bd38639 Bug 1043417 - don't check for X headers in js/src; r=mshal 2014-07-24 09:59:55 -04:00
Terrence Cole
a963834a2a Bug 1029648 - Fix a typo; r=jonco 2014-07-22 11:25:22 -07:00
Hannes Verschore
074b49999d Bug 1039976 - IonMonkey: Improve generated code of MTypeObjectDispatch with one case, r=jandem 2014-07-24 16:40:11 +02:00
Hannes Verschore
bdc1ed5ac5 Bug 1039542 - TraceLogger: Reset the lastChildId when resuming the tracelogger, r=bbouvier 2014-07-24 16:40:10 +02:00
Nicolas B. Pierron
8646cbe20f Bug 1039607 - Scalar Replacement support dynamic slots. r=h4writer 2014-07-24 04:30:50 -07:00
Jan de Mooij
2b35cc57f0 Bug 1031529 part 4 - Remove getBuildConfiguration().threadsafe. r=bhackett 2014-07-24 11:56:47 +02:00
Jan de Mooij
f267f1737c Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium 2014-07-24 11:56:45 +02:00
Jan de Mooij
09ba1e72b1 Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett 2014-07-24 11:56:43 +02:00
Jan de Mooij
dd5c3d356c Bug 1031529 part 1 - Add a --no-threads shell flag. r=bhackett 2014-07-24 11:56:41 +02:00
Nick Fitzgerald
f2be1a7e7c 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
7472739377 Bug 1033442 - Automate tracking of the GCRuntime's gcBytes; r=jonco,sfink 2014-07-22 13:30:26 -07:00
Mike Conley
0d2bcf7aef Bug 1042398 - Tests. r=bholley 2014-07-23 15:20:05 -07:00
Bobby Holley
344267d98d 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
f5412abfea 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
d0dc5a8aaa Backed out changeset 88860bed8c96 (bug 1042398) for bustage on a CLOSED TREE 2014-07-23 13:09:54 -07:00
Wes Kocher
62afd855cc Backed out changeset 79d2db9a2a2c (bug 1042398) for build bustage on a CLOSED TREE 2014-07-23 13:08:24 -07:00
Brian Hackett
9d0e00ee81 Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish. 2014-07-23 11:59:10 -08:00
Mike Conley
528bdf4635 Bug 1042398 - Tests. r=bholley 2014-07-23 12:36:22 -07:00
Bobby Holley
a739e167e2 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
897d90ac3c Bug 1041626 - Tests. r=bz 2014-07-23 12:36:21 -07:00
Ryan VanderMeulen
cf2a55fb58 Merge inbound to m-c. a=merge 2014-07-23 15:17:20 -04:00
Ryan VanderMeulen
9e5069af48 Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp 2014-07-23 15:16:53 -04:00
Andrea Marchesini
179c6c5321 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Boris Zbarsky
f10d7405dc 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
731fc25aa5 Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me 2014-07-23 14:01:55 +09:00
Mike Hommey
7ca0de0fb4 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
171507509c 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
5659a611dd 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
bc97b68005 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
5b1c4434ef Bug 1028580 - Remove debugging printfs. 2014-07-22 18:37:27 -08:00
Brian Hackett
60041d8930 Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish. 2014-07-22 18:34:03 -08:00
Nicholas Nethercote
517b7ff4b2 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
d8167428d6 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
32f4c0930e 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
c981769b72 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776 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
1a463bf842 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Bobby Holley
deb1ca3fff Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor 2014-07-22 16:14:27 -07:00
Bobby Holley
2871b564be 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
eaf08d01a3 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
55631bcc38 Bug 978279 - Implement revocation semantics. (r=jorendorff) 2014-07-22 14:10:31 -07:00
Eric Faust
944967a60f Bug 978240 - Recomment remaining ES6 proxy traps. (r=jorendorff) 2014-07-22 14:10:30 -07:00
Luke Wagner
1325c40e0c 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
ad08966083 Bug 1041746 - IonMonkey: GVN: Clear the IsGuard flag when simplifying an instruction too. r=nbp 2014-07-22 07:45:07 -07:00
ProgramFOX
9c21f0333e Bug 1041648: added float32x4 clamp test case; r=bbouvier 2014-07-22 03:21:32 -07:00
Nicolas B. Pierron
bf8dcb61ac Bug 1006899 - Prevent stack iterations while recovering allocations. r=bhackett 2014-07-22 06:04:03 -07:00
Jan de Mooij
c63fc8c951 Bug 1041469 part 3 - Remove toLatin1 shell function, update tests. r=luke 2014-07-22 14:52:14 +02:00
Jan de Mooij
0c3c7d03b1 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
04d9edfb22 Bug 1041469 part 1 - Remove EnableLatin1Strings flag. r=luke 2014-07-22 14:52:03 +02:00
Tom Schuster
b6f83f1cc6 Bug 1041495 - Handlify StructuredClone. r=jonco 2014-07-22 12:18:24 +02:00
Nicholas Nethercote
ebdc476241 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
5961eb3cae Bug 1027885 - OdinMonkey: Make CodeGeneratorShared::mirGen consistent with FunctionCompiler::mirGen r=luke 2014-07-21 19:09:16 -07:00
Nick Fitzgerald
10c2b54288 Bug 993085 - Part 1: Add the Debugger.Memory.prototype.trackingAllocationSites accessor property r=jimb 2014-07-21 18:16:13 -07:00
Wes Kocher
bc8f801299 Bug 993085 - Part 0: Freeze SavedFrame and SavedFrame.prototype r=jimb 2014-07-18 13:48:06 -07:00
Wes Kocher
ca8c5ea4ed Merge m-c to inbound 2014-07-21 17:34:59 -07:00
Wes Kocher
ca3c4ad9da Merge inbound to m-c a=merge 2014-07-21 12:54:52 -07:00
Bill McCloskey
ac4a08de3d Bug 1041370 - Fix script entry hook #ifdefing (a=RyanVM) 2014-07-20 21:58:49 -07:00
Jan de Mooij
f579fb9626 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
Benjamin Bouvier
6610791484 Bug 1040823: Simplify tests from bug 986673; r=tests-only 2014-07-21 10:06:38 +02:00
Benjamin Bouvier
fd66941f00 Bug 1040823: Make --js-cache-per-process the default for testing; r=luke 2014-07-21 10:06:09 +02:00
Nicholas Nethercote
7c66251060 Bug 1039162 (attempt 2) - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap. 2014-07-16 22:45:29 -07:00
Ryan VanderMeulen
186e0bc781 Merge m-c to inbound. a=merge 2014-07-20 18:32:22 -04:00
Bobby Holley
6d379ad6d3 Bug 1036790 - Only expect pjs methods for nightly builds in test_xrayToJS.xul. r=me 2014-07-20 16:15:22 -06:00
Emanuel Hoogeveen
888f5ba849 Bug 1041307 - Don't try to finalize JITcode in non-ion builds. r=billm 2014-07-20 08:23:00 +02:00
Benjamin Bouvier
3434a8fd02 Bug 1040785: Remove unused inc32 and dec32; r=jandem 2014-07-21 09:45:23 +02:00
Benjamin Bouvier
40472bbbef Bug 1040785: Move LInterruptCheck from the platform-specific LIR headers to the platform-independent one; r=jandem 2014-07-21 09:45:13 +02:00
Benjamin Bouvier
824426f7e9 Bug 1040785: Factor out InvokeFromAsmJS functions; r=luke 2014-07-21 09:45:04 +02:00
Benjamin Bouvier
0f17bf56d7 Bug 986673: Tests; r=luke 2014-07-18 12:14:51 +02:00
Luke Wagner
e2171b1363 Bug 986673: Test pointer's value in AsmJSInterruptCheck; r=bbouvier 2014-07-21 09:36:07 +02:00
Bob Owen
bb3d91a4eb Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley 2014-07-18 12:52:32 +01:00
Bobby Holley
5daf331156 Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan 2014-07-20 15:36:32 -06:00
Steve Fink
4976444c74 No bug. Drop expected number of b2g hazards to zero, r=terrence
DONTBUILD because mostly NPOTB

--HG--
extra : rebase_source : 06ca33d45445681ac8c2e32671d79409d76ca52e
2014-07-21 10:30:57 -07:00
Jeff Walden
10b34a5fdd Bug 1037686 - Fix b2g-only bustage for a super-old compiler, sigh. r=b2g affecting a CLOSED TREE 2014-07-21 13:22:49 -04:00
Jeff Walden
e6a183d113 Bug 1037686 - Remove js_strdup now that no one uses it. r=jimb
--HG--
extra : rebase_source : d05252549d90371daec12562b5e88c7029fb41cc
2014-07-11 15:12:16 -07:00
Jeff Walden
28131f2b93 Bug 1037686 - Convert ScriptSource::{filename,introducerFilename}_ to UniquePtr, make !introducerFilename_ formally imply filename_. r=jimb
--HG--
extra : rebase_source : d45ed17c6b95345d4966a8809f90269944699846
2014-07-11 15:10:49 -07:00
Jeff Walden
b81d98cf05 Bug 1037686 - Remove the js_strdup(cx, chars) method, and convert users to a similar DuplicateString method returning UniquePtr. r=jimb
--HG--
extra : rebase_source : 2c81d049967fbbc40953fb21dc7e9b67df8366d6
2014-07-11 15:09:55 -07:00
Luke Wagner
c23e7c31f9 Bug 1027885 - OdinMonkey: properly represent calls to builtin functions in the profiling stack (r=dougc) 2014-07-21 11:05:44 -05:00
Luke Wagner
2647b262d0 Bug 1027885 - OdinMonkey: optimize representation of StaticLinkData::absoluteLinks (r=dougc) 2014-07-21 10:58:33 -05:00
Luke Wagner
2e1686059e Bug 1027885 - OdinMonkey: maintain AsmJSActivation::fp in all frames in profiling mode (r=dougc) 2014-07-21 10:58:12 -05:00
Luke Wagner
2aad9f7d17 Bug 1027885 - OdinMonkey: set up AsmJSFrame and use instead of exitFP for exit stubs (r=dougc) 2014-07-21 10:57:29 -05:00
Luke Wagner
c5a816add3 Bug 1027885 - OdinMonkey: avoid passing JSContext to C++ functions that can instead use innermostAsmJSActivation (r=dougc) 2014-07-21 10:56:02 -05:00
Luke Wagner
65e09dc316 Bug 1027885 - OdinMonkey: store the AsmJSActivation in global data (r=dougc) 2014-07-21 10:40:37 -05:00
Luke Wagner
1d00048917 Bug 1027885 - rm unused JSContext::stackIterAssertionEnabled (r=jandem) 2014-07-21 10:40:05 -05:00
Bobby Holley
03556935f1 Bug 1040181 - Use an opaque wrapper rather than failing in Rewrap. r=gabor 2014-07-20 10:03:58 -06:00
Jason Orendorff
7c9f2e004e Bug 1035287, part 1 - Add missing oom check. r=jimb.
--HG--
extra : rebase_source : 138e8d5b8cf232cfb1c8a06822c2d0423a0227c6
2014-07-08 19:32:06 -05:00
Jason Orendorff
2b7ad41483 Bug 1037897 - Pass ffi_call a pointer into a real array, to eliminate a static analysis warning. r=dteller.
--HG--
extra : rebase_source : 909a4f71f045aa7a9e20a8702c60c5d9cec38cef
2014-07-16 12:59:07 -05:00
Jason Orendorff
ec910debf1 Bug 1033856 - Assertion failure: false (MOZ_ASSERT_UNREACHABLE: unexpected type), at jit/Lowering.cpp:1772 with Symbol. r=jandem.
--HG--
extra : rebase_source : 5b5757fa46b3663aa1d2c79a75db723a42290a33
2014-07-03 08:24:00 -05:00
Jason Orendorff
2b23598d39 Bug 1031558 - JS GDB pretty-printers: fix symbol jsids. r=jimb.
--HG--
extra : rebase_source : 8b50cc4a1ab6aaddf0150bd7ee8dc225f0595b07
2014-06-27 17:04:19 -05:00
Jim Blandy
946ed74728 Bug 1031881: Remove unused elements of JSDebugHooks, and their supporting code. r=sfink 2014-07-19 18:07:05 -07:00
Tom Schuster
a4f09d0b10 Bug 1036136 - Implement structured cloning for Map and Set objects. r=jorendorff,bent 2014-07-19 23:44:53 +02:00
Luke Wagner
73feaea36c Bug 1042098 - OdinMonkey: don't take(fp) when mir->instrumentedProfiling() (r=dougc) 2014-07-23 09:29:58 -05:00
Hannes Verschore
494faf7550 Backed out changeset 9c80c5b76cf0 for crashes on octane-typescript 2014-07-23 12:34:32 +02:00
Eric Faust
23808e0f4e Bug 1033873 - "Differential Testing: Different output message involving __proto__". r=jandem 2014-07-23 00:00:00 +02:00
Jan de Mooij
562ff70158 Bug 1041469 part 5 - Change escape() to use Latin1Char directly instead of deflating later. r=luke 2014-07-23 11:17:28 +02:00
Jan de Mooij
971f5f8cfc Bug 1041469 part 4 - Use Latin1Char in StaticStrings::init. r=luke 2014-07-23 11:16:10 +02:00
Trevor Saunders
2857ee7e1c no bug - don't return nullptr in functions returning bool r=themaid 2014-07-17 20:11:27 -04:00
Boris Zbarsky
acdb9ffad6 Bug 966452 part 1. Refactor the js_ReportUncaughtException to produce a (message, JSErrorReport*) pair before reporting. r=waldo and including the fix for bug 1034616 to fix JS tests to deal with this, r=jorendorff. r=terrence on the AutoStableStringChars bits 2014-07-04 01:24:54 -04:00
Bill McCloskey
9b3e3180f9 Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley) 2014-07-18 16:50:55 -07:00
Mike Hommey
09a1fe2354 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Wes Kocher
c38aeecb3b Backed out changeset 72d92f058cf0 (bug 989348) under suspicion of causing various devtools crashes 2014-07-18 16:29:58 -07:00
Shu-yu Guo
bd15a94ee1 Bug 1037665 - Don't optimize arguments.callee in strict mode. (r=h4writer) 2014-07-18 14:39:30 -07:00
Sankha Narayan Guria
49b3d9bb1a Bug 989348 - BaselineCompiler: Optimize JSOP_ARRAYPUSH. r=djvj 2014-07-04 13:54:34 +02:00
Terrence Cole
06485fe790 Bug 987622 - Remove GetPDA as it is unused now that jsd1 is gone; r=jimb 2014-07-18 11:26:46 -07:00
Terrence Cole
309f493f83 Bug 1033020 - Make BaslineFrame::returnValue match InterpreterFrame::returnValue; r=jandem 2014-07-01 15:40:48 -07:00
Ryan VanderMeulen
0d52026d61 Backed out changeset a4db87a48b24 (bug 1039551) for Windows debug mochitest-4 crashes. 2014-07-18 12:36:33 -04:00
Dan Gohman
870ae7adf1 Bug 765127 - IonMonkey: Update a stale comment. r=nbp (comments only: DONTBUILD) 2014-07-18 09:31:20 -07:00
Jan de Mooij
87750cb331 Bug 1039551 - NewString/NewStringDontDeflate should create inline strings if possible. r=njn
--HG--
extra : rebase_source : ec27411ac015040eed83be9c715746a052f02b72
2014-07-18 17:07:34 +02:00
Dan Gohman
2d63854c6a Bug 1039667 - IonMonkey: Clear the Guard flag when folding away MBoundsCheck instructions r=jandem 2014-07-17 11:56:38 -07:00
Benjamin Bouvier
73e0371a86 Backed out changeset d78533837dfd (bug 986673) for failing jit-tests on a CLOSED TREE 2014-07-18 14:07:08 +02:00
Benjamin Bouvier
31928e61ad Bug 986673: Tests; r=luke 2014-07-18 12:14:51 +02:00
Benjamin Bouvier
ca59eb424e Bug 986673: Make Odinmonkey not depend on signal handlers; r=luke 2014-07-18 12:14:47 +02:00
Benjamin Bouvier
c1edff1ac9 Bug 986673: OdinMonkey: emit bound checks on x64 if we can't use signal handlers; r=luke 2014-07-18 12:14:39 +02:00
Benjamin Bouvier
e856461334 Bug 986673: Disable JIT signal tricks on demand, rather than all signaling; r=jandem 2014-07-18 12:14:24 +02:00
Ahmed Kachkach
4dcc22f03c Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Marty Rosenberg
ec21fef85a Bug 991153 fallout: Flip a bit in the simulator's constructor (r=dougc) 2014-07-18 02:25:29 -04:00
Marty Rosenberg
73d3637036 Bug 1039207: Don't hardcode double-sized registers when popping with a mask. (r=dougc) 2014-07-18 02:25:29 -04:00
Marty Rosenberg
d1e81932de bug 991153 follow up: fix a couple of incorrectly signed vars. (r=dholbert) 2014-07-18 02:25:29 -04:00
Bobby Holley
04684eed2d Bug 1038844 - Implement a COW opt-out for automation. r=gabor,sr=mrbkap 2014-07-17 21:34:48 -07:00
Bill McCloskey
968aab64b3 Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Brian Hackett
8c367b1066 Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions, r=jandem. 2014-07-17 08:36:33 -08:00
Steve Fink
2c8bd44f70 Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium
--HG--
extra : rebase_source : 92960a00e4d89eb9f2af4247c1434f31e27392a0
2014-02-25 14:15:16 -08:00
Dan Gohman
d4170cfc6f Bug 1039836 - IonMonkey: GVN: Switch to including dependency() in the value hash. r=nbp 2014-07-17 06:28:40 -07:00
Nicolas B. Pierron
3496d46720 Bug 992845 - Add Scalar replacement of objects with simplest escape analysis. r=jandem 2014-07-17 03:04:30 -07:00
Tooru Fujisawa
d46848570f Bug 1022962 - Part 2: Add test for function call inside default parameter. r=jorendorff 2014-07-16 15:05:00 +02:00
Emanuel Hoogeveen
523e316e7f Bug 1017165 - Part 2: Let ArenaLists track swept arenas between slices and extend ArenaIter to walk incrementally swept arenas as well. r=billm 2014-07-16 17:10:00 +02:00
Emanuel Hoogeveen
d3c5d6f6d9 Bug 1017165 - Part 1: Sort arenas in order of increasing free space during finalization. r=billm 2014-07-16 17:06:00 +02:00
Paali Tandia
64de569501 Bug 1034665 - IonMonkey - Implement RAtan2 recover instruction. r=nbp 2014-07-15 23:19:00 +02:00
Carsten "Tomcat" Book
ebc6d08904 Backed out changeset 33ff09852b0a (bug 1039162) for ics emulator opt/debug test failures 2014-07-17 09:18:16 +02:00
Bill McCloskey
2a6d95d789 Bug 673569 - Allow scripts to be run in a non-global scope (r=luke) 2014-07-16 23:03:44 -07:00
Nicholas Nethercote
41c64bfad2 Bug 1039162 - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
|for ... each| loops create an Iterator object each time they execute. They're
also an E4X hangover. Converting them to vanilla arrays avoids the creation of
almost 6,000 Iterator objects when starting up B2G, mostly due to makeQI().

--HG--
extra : rebase_source : f3a3fe2d64a045dacf70461611d9a0b72a38a210
2014-07-16 22:45:29 -07:00
Chris Peterson
abdebf8fe9 Bug 1036782 - Part 2: Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in StructuredClone.cpp. r=jorendorff 2014-07-15 19:32:06 -07:00
David Major
ef9dd7be39 Bug 836658 - Use -arch:IA32 on VS2012 to avoid requiring SSE2. r=glandium 2014-07-17 13:57:44 +12:00
Nicholas Nethercote
06e58a92ae Bug 1038601 - Shrink js::HashTable. r=luke.
This patch reduces sizeof(js::HashTable):
- On 64-bit: from 32 bytes to 24 bytes.
- On 32-bit: from 24 bytes to 16 bytes.

The latter is particularly nice because jemalloc rounds up allocation requests
of 24 bytes to 32, but it can allocate 16 bytes without slop, so we're saving
16 bytes per heap-allocated HashTable.

This is done by:
- Shrinking |removedCount| and |hashShift|.
- Reordering the fields.
- Not defining |mutationCount| and |mEntered| in non-DEBUG builds rather than
  using DebugOnly<> -- in non-DEBUG builds, DebugOnly<> fields take up 1 byte
  each.

This change saves over 55 KiB when starting Firefox and loading Gmail.

The patch also uses uint32_t more consistently for the generation.

--HG--
extra : rebase_source : 8bdfbfe40f233711433bd9b7a2b5a19d69beacc7
2014-07-16 16:51:09 -07:00
Mike Hommey
72f56d4b22 Bug 1039197 - Always build js engine with zlib. r=luke 2014-07-17 08:42:17 +09:00