Commit Graph

29208 Commits

Author SHA1 Message Date
Brian Hackett
93a2b1a590 Bug 912152 - Improve mechanism for bailing out from Ion compilation of scripts with try-finally, r=jandem. 2013-09-10 08:42:52 -07:00
Brian Hackett
625036f1ac Bug 913558 - Improve GGC store buffer threadsafe assertions, r=terrence. 2013-09-10 08:41:14 -07:00
Christian Holler
671ddf4601 Bug 914174 - Fix nit in previous ASan patch. r=luke 2013-09-10 17:27:56 +02:00
Christian Holler
c3f691469a Bug 914174 - Ensure JS standalone builds have the right ASan options. r=luke
--HG--
extra : rebase_source : d82eae20a4f1c18f5b12c5a4acd3e6733809221d
2013-09-10 17:00:07 +02:00
Luke Wagner
e8b04b464e Bug 912589 - have JSRuntime::helperThreadCount() return GetCPUCount(), not GetCPUCount()-1 (r=bhackett)
--HG--
extra : rebase_source : 63918ffad4e0f4c71cf9fc79961b4e794df057b7
2013-09-09 14:24:06 -05:00
Jan de Mooij
3ee90ab4e8 Bug 914132 part 4 - Fold |typeof object| if possible. r=bhackett 2013-09-10 16:18:49 +02:00
Jan de Mooij
4f34c604ba Bug 914132 part 3 - Inline |typeof object| if the input is known to be non-callable and does not emulate undefined. r=bhackett 2013-09-10 16:17:06 +02:00
Jan de Mooij
0f38cadf95 Bug 914132 part 2 - Optimize typeof OOL VM call. r=evilpie 2013-09-10 16:17:03 +02:00
Jan de Mooij
cd5fff00b6 Bug 914132 part 1 - MTypeOf should never be effectful. r=evilpie 2013-09-10 16:16:59 +02:00
Shu-yu Guo
61a0b86ef2 Bug 914478 - Fix checking for error in setElemTryCache. (r=jandem) 2013-09-10 04:15:55 -07:00
Luke Wagner
b6645f5b3a Bug 915167 - Don't create helper threads when GetCPUCount() == 1 (r=bhackett)
--HG--
extra : rebase_source : 2bdf6c0df177361d004f63162dbe219665a3a269
2013-09-11 09:52:16 -05:00
Jim Blandy
442973e54e Bug 914792: Remove ignored 'new-compartment' argument to newGlobal JS shell builtin. r=luke 2013-09-11 10:48:00 -07:00
Eddy Bruel
8383788d4d Bug 906963 - Add extra tests and review suggestions from jimb that I missed 2013-09-11 19:07:57 +02:00
Kannan Vijayan
9d912ed748 Bug 905523 - On windows, incrementally touch large baseline frames before using them. r=efaust 2013-09-10 06:19:30 -04:00
Carsten "Tomcat" Book
cbcf9293ca merge mozilla-central to mozilla-inbound 2013-09-10 10:35:46 +02:00
Ms2ger
d26571cff4 Merge last PGO-green inbound changeset to m-c.
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 10:13:12 +02:00
Ms2ger
6ce223be64 Bug 914309 - Factor out fromMarkedLocation calls in Parser::objectLiteral() into a helper function; r=jorendorff 2013-09-10 09:03:38 +02:00
Nicholas Nethercote
0cd7105cf5 Bug 914032 (part 3) - Move a bunch more stuff out of -inl.h files. r=terrence.
--HG--
extra : rebase_source : 24be3215c53c4d0f7ae99a4c4c6d5843ca291bd1
2013-09-09 15:50:19 -07:00
Nicholas Nethercote
2bd9ea8596 Bug 914032 (part 2) - Move a bunch of stuff out of -inl.h files. r=terrence.
--HG--
extra : rebase_source : c0f771690e5ff4a076dc60701b3e9e9268d3538c
2013-09-09 15:50:06 -07:00
Nicholas Nethercote
6a07f57e37 Bug 914032 (part 1) - Invert the dependency between vm/Shape.h and vm/ObjectImpl.h. r=terrence.
--HG--
extra : rebase_source : 6530fae5a32155eec3ff6ae22294f095cacef9af
2013-09-09 15:49:52 -07:00
Luke Wagner
0bb0818407 Bug 913977 - OdinMonkey: mark modules as linked at the start of linking (r=dougc) 2013-09-09 21:26:38 -05:00
Boris Zbarsky
2e3ffc69ec Bug 913670. Give scripts evaluated via evalInSandbox 1-based line numbers. r=bholley 2013-09-09 22:11:22 -04:00
Shu-yu Guo
6be713a75a Bug 899139 - Part 4: Refactor lowering byte registers for x86. (r=jandem) 2013-09-09 18:55:53 -07:00
Shu-yu Guo
484a464b80 Bug 899139 - Part 3: Install SetElementIC for typed array writes. (r=bhackett) 2013-09-09 18:55:52 -07:00
Shu-yu Guo
166378f1ed Bug 899139 - Part 2: SetElementIC typed array stubs. (r=jandem) 2013-09-09 18:55:52 -07:00
Shu-yu Guo
b1e8f56538 Bug 899139 - Part 1: Refactor value-to-int logic into IonMacroAssembler. (r=jandem) 2013-09-09 18:55:52 -07:00
Ed Morley
5eb2bdb5c4 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ryan VanderMeulen
7dba75dd5c Backed out changeset c3b01d22caa9 (bug 912959) for Windows bustage. 2013-09-09 10:20:59 -04:00
Martin Stransky
591842dffe Bug 912959 - Sync the declarations of ToNumberSlow() in jsnum.h. r=luke 2013-09-09 08:57:37 -04:00
Stephan Schreiber
eeb75c9d8b Bug 910845 - Add a wrapper for mmap() in order to keep the high 17-bits of JS pointers cleared on IA64. r=billm 2013-09-09 08:57:37 -04:00
Jan de Mooij
1b70e18b6f Bug 913424 - IonMonkey: Handle JSOP_THIS primitive this case. r=bhackett 2013-09-06 13:52:16 +02:00
Ehsan Akhgari
63120f149f Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c

--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Yaron Tausky
5c375a64e4 Bug 676739 - Part 3: Rename js_NumberToString to js::NumberToString. r=luke 2013-09-06 13:05:01 +02:00
Yaron Tausky
73c9a2ace3 Bug 676739 - Part 2: Migrate from AtomizeString to ToAtom. r=luke 2013-09-06 13:04:56 +02:00
Terrence Cole
09f12ae71d Bug 912813 - Do not store an unrooted object in CompartmentOptions; r=bholley
--HG--
extra : rebase_source : b14639e8c2c2806401077c6bea3d4ce21be51886
2013-09-10 10:01:10 -07:00
Dan Gohman
9b7efe728b Bug 910796 - SpiderMonkey: Micro-optimize clampIntToUint8. r=mjrosenb 2013-09-11 08:35:38 -07:00
Nathan Froyd
f97e03a2d4 Bug 914293 - ensure check_debug_ranges.py can cope with a nonexistant DW_AT_ranges; r=glandium 2013-09-10 11:53:21 -04:00
Brian Hackett
0efe71334d Bug 914098 - Add needed unknownObject() call, r=jandem. 2013-09-11 07:14:44 -07:00
Andrea Marchesini
b9dd502bb8 Bug 848294 - Update MessageEvent to be compatible with the spec, r=bz 2013-09-11 16:10:01 +02:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Dan Gohman
faed5b2d10 Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer 2013-09-11 04:32:18 -07:00
Jan de Mooij
c1c8d2ac88 No bug - Fix Ion bug exposed by followup patch for bug 913424. r=efaust on IRC 2013-09-11 11:22:57 +02:00
Benjamin Bouvier
0507405691 Bug 913253: assertFloat32 function + tests for IonMonkey; r=nbp 2013-09-11 02:12:01 -07:00
Benjamin Bouvier
62f1f72d91 Bug 900257: Inline Math.fround in IonMonkey; r=sstangl 2013-09-11 02:10:17 -07:00
Jan de Mooij
83c96f7c1d Bug 911370 part 2 - Don't leak an invalidated IonScript when handling an exception. r=djvj 2013-09-11 10:45:50 +02:00
Jan de Mooij
43fc77c3ea Bug 913424 followup - Fix ComputeThis result typeset to fix sunspider browser crash. r=bhackett
--HG--
extra : rebase_source : ec930a5fa7c8cc466b9c4309da411be805b325dc
2013-09-11 10:12:18 +02:00
Nicholas Nethercote
b03f7186e4 Bug 914508 (attempt 2) - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : abf63fa6f680266c8c53a630174989f33be06a32
2013-09-11 09:23:22 +10:00
Nicholas Nethercote
52b5d8f76c Bug 911641 (part 2) - Prefix some reporters with "redundant/", and make about:memory ignore them. r=johns.
--HG--
extra : rebase_source : 9ed48217ecb8af66256ddbdb70ad9f6b5d049582
2013-09-03 20:06:36 -07:00
Nicholas Nethercote
494f00f266 Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Terrence Cole
c056f5fec7 Bug 877437 - Handle OOM when ion compiling; r=jandem
--HG--
extra : rebase_source : 54d22ae26663fa0fa0fbc1dac0961a799d682dbe
2013-09-05 15:27:19 -07:00
Mike Hommey
71c2c68014 Backout changeset 237c32279481 (bug 914482) for bustage 2013-09-12 08:52:36 +09:00
Brian Hackett
2e644832a0 Bug 906371 - Use off thread JS parsing when loading async scripts, r=bz,billm. 2013-09-11 17:42:09 -06:00
Mike Hommey
c867a13ffd Bug 914482 - Allow overrides from the command line for variables defined in moz.build. r=gps 2013-09-12 08:14:52 +09:00
David Zbarsky
e1c60f464d Bug 856373 - WebIDL-ify Gamepad events r=smaug 2013-09-11 18:35:51 -04:00
David Zbarsky
feb175cc7f Bug 915248 - Convert DeviceProximityEvent to webidl-only r=smaug 2013-09-11 18:35:51 -04:00
Bobby Holley
49e92d12a3 Bug 914325 - Leave ourselves some room to make the call into chrome. r=luke 2013-09-11 15:24:09 -07:00
Shu-yu Guo
fce1f0b95b Bug 914899 - Reinstate the OOL double truncation path in truncating values to int32. (r=jandem) 2013-09-11 15:15:45 -07:00
Till Schneidereit
9bd80a1808 Bug 914601 - Remove non-required, crashing-on-oom assert in GlobalObject::getIntrinsicValue. r=terrence
--HG--
extra : rebase_source : cb1d3e8f40e0b0264214a1c151adf1e6aeacd622
2013-09-11 14:42:31 +02:00
Nicholas Nethercote
9d1d4e73b0 Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Wes Kocher
1409d5cc44 Backed out changeset 45975a811207 (bug 914508) for Android 2.2 NoIon build bustage 2013-09-10 23:00:06 -07:00
Benjamin Bouvier
ccf46b47f1 Bug 914981: Inline Sqrt even if the input is a Float32; r=mjrosenb 2013-09-10 22:57:36 -07:00
Nicholas Nethercote
5c260dd4c6 Bug 914508 - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : 547936b30f4436af6471eaaa7e459db03196e363
2013-09-11 09:23:22 +10:00
Yaron Tausky
32359c386d Bug 676739 - Part 1: Suppress unnecessary temporary strings in js::ToAtom. r=luke 2013-08-27 11:17:41 +02:00
Nicholas Nethercote
85d3324d5e Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
16c7f50472 Bug 910771 (part 5) - Move tons of stuff out of inlines.h/-inl.h files into .h files. r=terrence. 2013-09-08 13:31:19 -07:00
Nicholas Nethercote
5d4e35b8df Bug 910771 (part 4) - Move all the methods of EncapsulatedValue, HeapValue, RelocatableValue, and HeapSlot from gc/Barrier-inl.h to gc/Barrier.h. r=terrence. 2013-09-04 20:34:22 -07:00
Nicholas Nethercote
57708567dd Bug 910771 (part 3) - Include gc/StoreBuffer.h in gc/Barrier.h. r=terrence. 2013-09-04 19:19:05 -07:00
Nicholas Nethercote
73b867f80f Bug 910771 (part 2) - Move some stuff from JS::Zone to JS::shadow::Zone, and from JSRuntime to JS::shadow::Runtime.h. r=terrence. 2013-09-04 19:19:04 -07:00
Nicholas Nethercote
3e6eda137c Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence. 2013-09-02 22:01:18 -07:00
Kyle Huey
27e346e22d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
d423a6350e Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Kyle Huey
e6f82a681d Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Kyle Huey
61aeeecde4 Bug 911258: Part 1 - Remove nsIExceptionService/Manager usage. r=bholley 2013-09-08 20:28:49 -07:00
Kyle Huey
cf498d852b Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Kyle Huey
abebd382da Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Dan Gohman
2917179c35 Bug 885169 - Spidermonkey: Alleviate register allocation constraints in ICGetElem_Arguments::Compiler::generateStubCode. r=nbp 2013-09-04 21:16:07 -07:00
Dan Gohman
343c51a244 Bug 885169 - Spidermonkey: Fix ARM trampoline code to inform its RegisterSet of its use of a context register. r=nbp 2013-09-04 21:16:07 -07:00
Dan Gohman
336bd2d863 Bug 885169 - Spidermonkey: Fix x64 trampoline code to inform its RegisterSet of its use of a context register. r=nbp 2013-09-07 06:47:56 -07:00
Masatoshi Kimura
3ea4cf31e9 Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 18:49:03 +09:00
Douglas Crosher
e442d3a657 Bug 911254 - Odinmonkey: (ARM) use the 'compare immediate' instruction for bounds checks. r=mjrosenb 2013-09-07 10:53:03 +10:00
Jason Orendorff
51630899fb Bug 895223, part 1 - Change perf/jsperf.cpp to use JSNative getters rather than PropertyOps. r=jandem. 2013-09-06 21:41:30 -05:00
Jason Orendorff
08ad43a540 Bug 913445 - Print something less confusing than "null" for non-stringifiable values in the shell. r=luke. 2013-09-06 21:41:26 -05:00
Jason Orendorff
2dfd8fbbfc Bug 905774 - Make Reflect.parse play better with proxies. Remove GetPropertyDefault. r=bhackett. 2013-09-06 21:40:49 -05:00
Phil Ringnalda
625e976c03 Back out c8687e99dc75 (bug 913510) for Android bustage 2013-09-06 19:08:42 -07:00
Phil Ringnalda
4fba4a0f6c Back out a615811b12e4 (bug 888109) for not actually building 2013-09-06 18:48:56 -07:00
Douglas Crosher
5b8d75ede8 Bug 913867 - OdinMonkey: correct heap access index folding of bitwise-and of zero, r=luke 2013-09-10 01:52:45 +10:00
Eric Faust
e96490055b Bug 912316 - Ensure that Ion get ICs don't incur unwanted lookup-based side-effects. (r=djvj) 2013-09-09 16:25:56 -07:00
Eric Faust
464fee6713 Bug 911708 - Check non-object Ion-specialized types statically in ICs. (r=bhackett) 2013-09-09 16:25:56 -07:00
Eric Faust
e04dce65ad Bug 911707 - Don't cache JSPropertyOp setter calls on unwritable shapes. (r=Waldo) 2013-09-09 16:25:56 -07:00
Benjamin Bouvier
69698e03f0 Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp 2013-07-18 15:13:15 -07:00
Dan Gohman
2d08c4921c Bug 910829 - IonMonkey: Include position numbers in the debug output for Phi nodes, to make them consistent with regular nodes. r=bhackett 2013-09-09 15:04:24 -07:00
Dan Gohman
900b02f1d9 Bug 910829 - IonMonkey: Print register allocation debug messages to stderr instead of stdout. r=bhackett 2013-09-09 15:04:09 -07:00
Dan Gohman
1639bef35b Bug 910829 - IonMonkey: Misc regalloc code cleanups. r=bhackett 2013-09-09 15:03:39 -07:00
Nikhil Marathe
f10d854d1c Bug 901291 - Get WebIDL callbacks working on Workers. r=khuey 2013-09-09 14:58:29 -07:00
Ryan VanderMeulen
852060fb91 Backed out changeset 39bba9d8dbac (bug 912589) for Android NoIon jsreftest crashes.
CLOSED TREE
2013-09-09 16:55:20 -04:00
Ehsan Akhgari
13a9b30ce0 Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley 2013-09-09 22:37:37 +02:00
Luke Wagner
98f7cd11ac Bug 912589 - have JSRuntime::helperThreadCount() return GetCPUCount(), not GetCPUCount()-1 (r=bhackett)
--HG--
extra : rebase_source : 42a8c62ff04aecd27692f25b6c83e6b0750497e9
2013-09-09 14:24:06 -05:00
Hannes Verschore
22b55f06e8 Bug 909717: IonBuilder: Introduce typed typebarriers, r=jandem 2013-09-06 15:10:54 +02:00
Till Schneidereit
85e28d2a70 Bug 914162 - initialize lazy scripts before accessing their properties in jit::AnalyzeNewScriptProperties. r=bhackett 2013-09-09 19:11:36 +02:00
Jim Blandy
ed124ac642 Bug 847405: Ensure that evalInGlobal never creates frames with the 'FUNCTION' flag set. r=jorendorff 2013-09-09 10:08:16 -07:00
Benjamin Bouvier
6eee8c4679 Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp 2013-07-18 15:13:15 -07:00
Masatoshi Kimura
a0a010acc8 Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 09:34:21 +09:00
Ryan VanderMeulen
ea12912875 Backed out changeset 45c336307136 (bug 910845) for bustage. 2013-09-06 17:05:25 -04:00
Michael Harrison
e44a198aba Bug 909768 - Replace idl::GeoPositionOptions with dom::PositionOptions. r=jdm 2013-09-06 16:44:26 -04:00
Stephan Schreiber
8d3c781c2d Bug 910845 - Add a wrapper for mmap() in order to keep the high 17-bits of JS pointers cleared on IA64. r=billm 2013-09-06 16:41:55 -04:00
Andrew McCreight
3b16db1fc8 Bug 911233, part 1 - Minor cycle collector cleanups. r=smaug 2013-09-06 13:40:34 -07:00
Ehsan Akhgari
36280b9569 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
6950cfb037 Bug 905364 - Force the SafeJSContext to fire up in xpcshell. r=bz 2013-09-06 11:35:12 -07:00
Bobby Holley
3d1a1af697 Bug 905364 - Don't call into AllowXULXBLForPrincipal during SafeJSContext initialization. r=bz
In the old world, we'd be saved by initializing the SafeJSContext early enough
that we'd short-circuit in the nsContentUtils::IsInitialized() check. That's not
the case anymore, so let's hande this explicitly.
2013-09-06 11:35:11 -07:00
Kannan Vijayan
776e9da067 Bug 909764 - Fix IonBuilder to properly propagate exceptions raised during compilation. Make getTypeOrSingleObject (and any of its infallible callers) into fallible methods. r=h4writer 2013-09-06 14:27:07 -04:00
Jason Orendorff
5aead903ea Bug 893186, part 5 - Delete JS_GetPropertyAttributes and many similar APIs; remove half a dozen methods from JS::Class. r=Waldo.
--HG--
extra : rebase_source : 1f4a01938b06b66ef855f9b654f098b4819b1390
2013-09-06 12:05:30 -05:00
Jason Orendorff
44a0fc8f96 Bug 893186, part 4 - Replace a use of JS_GetUCPropertyAttributes in JSD with a call to JS_GetOwnPropertyDescriptorById. r=luke.
--HG--
extra : rebase_source : 4b035be0aec9206c3849c45ade6b88718a15031b
2013-09-06 12:05:30 -05:00
Jason Orendorff
aae868bc0e Bug 893186, part 3 - Add JS_GetOwnPropertyDescriptor. Migrate a test from JS_GetPropertyAttributes to the new thing. r=njn.
--HG--
extra : rebase_source : 0141c90cc8c75b223e09c9125f6daef9f704082e
2013-09-06 12:05:28 -05:00
Jason Orendorff
5bc533b971 Bug 893186, part 2 - In Interpreter-inl.h, use JSObject::getGenericAttributes instead of JSObject::getPropertyAttributes. r=njn.
--HG--
extra : rebase_source : b91f5e77eebd6c71e9d65a651ddc997297959a52
2013-09-06 12:02:52 -05:00
Jason Orendorff
511753b3b6 Bug 893186, part 1 - Fix some code in xpconnect to use JS_HasProperty instead of JS_GetPropertyAttributes. r=bholley.
--HG--
extra : rebase_source : 2a9350bfd887fb6000d4f558f79c1a0dc8483efb
2013-09-06 12:02:51 -05:00
Nicholas D. Matsakis
c23a49081b Bug 912108 - Rename BinaryData to TypedObject r=sfink
--HG--
rename : js/src/builtin/BinaryData.cpp => js/src/builtin/TypedObject.cpp
rename : js/src/builtin/BinaryData.h => js/src/builtin/TypedObject.h
rename : js/src/jit-test/tests/binary-data/fuzz1.js => js/src/jit-test/tests/TypedObject/fuzz1.js
rename : js/src/jit-test/tests/binary-data/fuzz10.js => js/src/jit-test/tests/TypedObject/fuzz10.js
rename : js/src/jit-test/tests/binary-data/fuzz11.js => js/src/jit-test/tests/TypedObject/fuzz11.js
rename : js/src/jit-test/tests/binary-data/fuzz2.js => js/src/jit-test/tests/TypedObject/fuzz2.js
rename : js/src/jit-test/tests/binary-data/fuzz3.js => js/src/jit-test/tests/TypedObject/fuzz3.js
rename : js/src/jit-test/tests/binary-data/fuzz4.js => js/src/jit-test/tests/TypedObject/fuzz4.js
rename : js/src/jit-test/tests/binary-data/fuzz5.js => js/src/jit-test/tests/TypedObject/fuzz5.js
rename : js/src/jit-test/tests/binary-data/fuzz6.js => js/src/jit-test/tests/TypedObject/fuzz6.js
rename : js/src/jit-test/tests/binary-data/fuzz7.js => js/src/jit-test/tests/TypedObject/fuzz7.js
rename : js/src/jit-test/tests/binary-data/fuzz8.js => js/src/jit-test/tests/TypedObject/fuzz8.js
rename : js/src/jit-test/tests/binary-data/fuzz9.js => js/src/jit-test/tests/TypedObject/fuzz9.js
rename : js/src/jit-test/tests/binary-data/jit-prefix.js => js/src/jit-test/tests/TypedObject/jit-prefix.js
rename : js/src/jit-test/tests/binary-data/jit-read-float64.js => js/src/jit-test/tests/TypedObject/jit-read-float64.js
rename : js/src/jit-test/tests/binary-data/jit-read-int.js => js/src/jit-test/tests/TypedObject/jit-read-int.js
rename : js/src/tests/ecma_6/BinaryData/architecture.js => js/src/tests/ecma_6/TypedObject/architecture.js
rename : js/src/tests/ecma_6/BinaryData/arrayofstructs.js => js/src/tests/ecma_6/TypedObject/arrayofstructs.js
rename : js/src/tests/ecma_6/BinaryData/arraytype.js => js/src/tests/ecma_6/TypedObject/arraytype.js
rename : js/src/tests/ecma_6/BinaryData/memory.js => js/src/tests/ecma_6/TypedObject/memory.js
rename : js/src/tests/ecma_6/BinaryData/numerictypes.js => js/src/tests/ecma_6/TypedObject/numerictypes.js
rename : js/src/tests/ecma_6/BinaryData/shell.js => js/src/tests/ecma_6/TypedObject/shell.js
rename : js/src/tests/ecma_6/BinaryData/size_and_alignment.js => js/src/tests/ecma_6/TypedObject/size_and_alignment.js
rename : js/src/tests/ecma_6/BinaryData/structequiv.js => js/src/tests/ecma_6/TypedObject/structequiv.js
rename : js/src/tests/ecma_6/BinaryData/structtypeenumerate.js => js/src/tests/ecma_6/TypedObject/structtypeenumerate.js
rename : js/src/tests/ecma_6/BinaryData/structtypeindexedfields.js => js/src/tests/ecma_6/TypedObject/structtypeindexedfields.js
rename : js/src/tests/ecma_6/BinaryData/structtypeprototype.js => js/src/tests/ecma_6/TypedObject/structtypeprototype.js
rename : js/src/tests/ecma_6/BinaryData/structtypereflection.js => js/src/tests/ecma_6/TypedObject/structtypereflection.js
rename : js/src/tests/ecma_6/BinaryData/structtypestructuralassign.js => js/src/tests/ecma_6/TypedObject/structtypestructuralassign.js
2013-09-06 10:50:49 -04:00
Bobby Holley
4b28d25fe5 Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Bobby Holley
686a940c6e Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Bobby Holley
4569f739ee Bug 912322 - Update semantics of IsChromeOrXBL to return true for remote XUL. r=bz
This brings us into alignment with nsContentUtils::IsCallerXBL(). We also take
the opportunity to clean up some comments and invariants that changed with the
removal of the XBL bit.
2013-09-06 09:12:56 -07:00
Bobby Holley
74a8289887 Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin 2013-09-06 09:12:55 -07:00
Jim Blandy
28ebe45d1b Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
742666beae Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Ryan VanderMeulen
2ce41d1387 Bug 865516 - Fix ordering of includes in MIRGraph.cpp. r=themaid
CLOSED TREE
2013-09-06 10:35:06 -04:00
Hannes Verschore
1aae686149 Bug 909717 - Backout due to orange + style nit orange fix on a CLOSED TREE. 2013-09-06 16:25:35 +02:00
Hannes Verschore
bdd3dd3ed0 Bug 913415: Tracelogging: Add support for logging multiple threads + initial support for ion background thread compiler, r=till 2013-09-06 15:30:09 +02:00
Douglas Crosher
b8b705bf7c Bug 865516 - Optimize access to the heap with a constant index. r=luke 2013-09-06 07:44:06 +10:00
Hannes Verschore
8dad5c4c05 Bug 909717: IonBuilder: Introduce typed typebarriers, r=jandem 2013-09-06 15:10:54 +02:00
Ms2ger
4abf38566a Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Jon Coppeard
a8de0b9883 Bug 911368 - Fix assertion since LSoftUDivOrMod can be generated for MMod r=mjrosenb 2013-09-06 10:20:46 +01:00
Jan de Mooij
df344b1c46 Bug 912958 - Remove slow IonContext lookup from AutoFlushCache constructor. r=h4writer
--HG--
extra : rebase_source : 86b7a5170a95ceb8a397f9bfe77654936a7b4ab6
2013-09-06 11:44:19 +02:00
Marty Rosenberg
f97efb763e Bug 913216: Mark the entire heap to be flushed as soon as we start modifing bounds checks. (r=luke) 2013-09-06 05:14:44 -04:00
Ms2ger
84672db888 Bug 909953 - Introduce a HTMLAllCollection class; r=smaug 2013-09-06 08:41:42 +02:00
Ms2ger
bb536a6478 Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Makoto Kato
7a3b15a8d2 Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium 2013-09-06 14:40:48 +09:00
Phil Ringnalda
6d28bb73ed Back out b817abcebadf (bug 888109) for unexpected assertions 2013-09-05 21:01:05 -07:00
Phil Ringnalda
1b8a25bdaf Back out 997672af6fc8:8a34b197be1d (bug 885169) for Win64 bustage 2013-09-05 20:24:20 -07:00
Ryan VanderMeulen
08c7624d01 Merge inbound to m-c. 2013-09-05 15:42:49 -04:00
Ed Morley
3dfc516118 Merge mozilla-central and b2g-inbound 2013-09-05 14:53:25 +01:00
Phil Ringnalda
ad36ee41a9 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Askeing Yen
602005222c Bug 891766 - Add gecko's git commit info in B2G build. r=gps 2013-09-05 11:31:31 +08:00
Ryan VanderMeulen
76c5b296f0 Backed out changeset 9e282f0c00b8 (bug 906805) for suspicion of causing intermittent mochitest-bc crashes on a CLOSED TREE. 2013-09-04 16:01:31 -04:00
Phil Ringnalda
82a82c7965 Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Dan Gohman
1345fedce8 Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer 2013-09-04 21:16:07 -07:00
Dan Gohman
6620296d07 Bug 885169 - Spidermonkey: Alleviate register allocation constraints in ICGetElem_Arguments::Compiler::generateStubCode. r=nbp 2013-09-04 21:16:07 -07:00
Dan Gohman
b6921fe685 Bug 885169 - Spidermonkey: Fix ARM trampoline code to inform its RegisterSet of its use of a context register. r=nbp 2013-09-04 21:16:07 -07:00
Nicholas Nethercote
43ad5b4dcf Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Dan Gohman
a150eff09f Bug 910782 - SpiderMonkey: Add an explicit scope aroud the InvokeState object's lifetime. r=luke 2013-09-04 20:06:07 -07:00
Dan Gohman
6ab58dc3e0 Bug 910782 - SpiderMonkey: Use jsbytecode instead of int for the switch mask variables, and name the magic opcode used to enable interrupts. r=luke 2013-09-04 20:06:07 -07:00
Dan Gohman
4ee957dc2f Bug 910782 - SpiderMonkey: Remove the for(;;) surrounding the interpreter loop, as it isn't needed, and adjust indentation for consistency. r=luke 2013-09-04 20:06:07 -07:00
Dan Gohman
d59a50e388 Bug 910782 - SpiderMonkey: Inline check_backedge, which is only used in one place. r=luke 2013-09-04 20:06:07 -07:00
Dan Gohman
91802e95a4 Bug 910782 - SpiderMonkey: Simply uses of BRANCH. r=luke 2013-09-04 20:06:07 -07:00
Dan Gohman
cde7255a65 Bug 910782 - SpiderMonkey: Delete obsolete comments. r=jorendorff 2013-09-04 20:06:07 -07:00
Bobby Holley
5d00a02f31 Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-04 19:05:52 -07:00
Bobby Holley
4f18e183bb Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Bobby Holley
99eb14ce12 Bug 912322 - Update semantics of IsChromeOrXBL to return true for remote XUL. r=bz
This brings us into alignment with nsContentUtils::IsCallerXBL(). We also take
the opportunity to clean up some comments and invariants that changed with the
removal of the XBL bit.
2013-09-04 19:05:51 -07:00
Benjamin Bouvier
4859168964 Bug 912294: Fix pre increment operator in InlineListIterator and InlineListReverseIterator; r=dvander 2013-09-04 18:44:24 -07:00
Yaron Tausky
dad15c4b1b Bug 911553 - Trap Proxy calls from ToPrimitive. r=bholley 2013-09-04 20:58:22 -04:00
Yaron Tausky
83f14bdbee Bug 793212 - Refactor IonBuilder::TestCommonPropFunc. r=efaust 2013-09-04 20:58:21 -04:00
Nicholas D. Matsakis
28607d0385 Bug 910777 - Add JSCLASS_IMPLEMENTS_BARRIERS to the Binary Data classes with custom trace r=sfink 2013-08-30 07:14:30 -04:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Mike Hommey
9a4e27117c Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
bf046a6397 Bug 912368 - Set relativesrcdir in config/tests/src-simple/Makefile and adjust so that it works. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
77175c0058 Bug 911936 - Kill make depend. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
c05cf63484 Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps 2013-09-05 09:01:44 +09:00
Mike Hommey
d8476755d5 Back out changeset 6fe5a446b775 (bug 903118) 2013-09-05 09:01:44 +09:00
Mike Hommey
39b0d07225 Bug 911924 - Remove MAKE_DIRS leftovers. r=ted 2013-09-05 09:01:44 +09:00
Bobby Holley
b8f437054d Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Bobby Holley
401b0ffa0b Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-09-04 14:06:56 -07:00
Bobby Holley
a2ee102bd9 Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-09-04 14:06:56 -07:00
Bobby Holley
6d001e824e Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Bobby Holley
be3b15d07d Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
7ea705498c Bug 899367 - Add an API to opt out of default compartment objects. r=luke
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-09-04 14:06:54 -07:00
Bobby Holley
8abcb2d562 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-09-04 14:06:54 -07:00
Bobby Holley
b4f3731a75 Bug 899367 - Add an API to determine if we're marking gray. r=billm
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-09-04 14:06:54 -07:00
Bobby Holley
5cfc3855a5 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Gregory Szorc
0c8af7b874 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Mike Hordecki
690ed10ecf Bug 909672 - Make cross-compartment cloning possible with JS_StructuredClone. r=jorendorff 2013-09-04 13:20:51 -04:00
Andy Wingo
1e88113017 Bug 907744 - Implement iterator result boxing in ES6 generators. r=jorendorff
This patchset causes the bytecode emitter to yield boxed return values
in ES6 generators, of the form { value: foo, done: bool }.

If the generator function does not end in a return, the compiler inserts
the equivalent of a "return { value: undefined, done:true }" statement
at the end.

When an ES6 generator finishes, it does so with {done:true} instead of
throwing a StopIteration.

This patch also ports lib/asserts.js to "default version" JS, and ports
ecma_6/Generators to use it.
2013-09-04 13:20:48 -04:00
Dan Gohman
08213aaf2a Bug 910814 - SpiderMonkey: Document that js_strtod_harder doesn't actually report overflow errors, and clean up its callers accordingly. r=waldo 2013-09-04 10:11:22 -07:00
Douglas Crosher
0846fc7904 Bug 893363 - Ionmonkey: improve support for the Linux perf performance tool. r=bbouvier 2013-09-04 11:57:24 +10:00
Kannan Vijayan
1f7e63f38e Bug 909764 - Test case for catching rebinds of eval in strict mode. DONTBUILD. 2013-09-04 12:17:58 -04:00
Masatoshi Kimura
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
52b72c8d13 Bug 911573 - Enable and use specialpowers in jsreftest. r=terrence, bholley 2013-09-05 01:02:27 +09:00
Ed Morley
17f2f82cdb Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Terrence Cole
6ca829e111 Bug 906236 - Sweep DeclEnvObjects in the background; r=luke 2013-09-04 08:46:28 -07:00
Terrence Cole
c6607cee80 Bug 906243 - Handle shrinkSlots correctly for nursery things; r=jonco
--HG--
extra : rebase_source : 7c7a94b64d6227f701590d9da14cd6e6f0cde019
2013-09-04 08:46:00 -07:00
Kannan Vijayan
8773f9140b Bug 906781 - Test case for JSOP_FUNAPPLY with arrays. DONTBUILD. r=jandem 2013-09-04 11:37:03 -04:00
Ed Morley
2a2f5c9d13 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Ed Morley
bc2529d88f Backed out changeset 8090e534656a (bug 896797) on suspicion of causing bug 912451 on a CLOSED TREE 2013-09-04 12:44:59 +01:00
Yaron Tausky
af4ef00952 Bug 911954 - Add forward declaration of JSScript to TraceLogging.h, r=h4writer 2013-09-04 13:14:44 +02:00
Gabor Krizsanits
b28e26644b Bug 892203 - TextEncoder and TextDecoder for sandbox. r=bholley 2013-09-04 12:18:28 +02:00
Gabor Krizsanits
a58d3406fb Bug 892203 - DOMConstructors for SandboxOptions. r=bholley 2013-09-04 12:16:04 +02:00
Gabor Krizsanits
398aaa2927 Bug 892203 - Minor cleanups in sandbox.cpp. r=bholley 2013-09-04 12:15:50 +02:00
Till Schneidereit
6ef4bd043b Bug 912302 - Slim down TraceLogging output by shortening entry keys and timestamps. r=h4writer
--HG--
extra : rebase_source : c6eb53e295f648267c0dfbcf7f34709a3eccf15a
2013-09-04 12:35:50 +02:00
Phil Ringnalda
271703650a Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
09e6af1b95 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
f10d205e39 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Christian Holler
3e521c7f56 Bug 910486 - Disable a slow jit-test under ASan+debug. r=h4writer
--HG--
extra : rebase_source : 24cb356e45a5f9cd57c1b3711afcd6aba52c1a93
2013-09-04 01:49:13 +02:00
Felipe Gomes
5de1caaed5 Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz 2013-09-03 19:11:22 -03:00
Kannan Vijayan
88fd0d93d3 Bug 906805 - Implement Baseline JSOP_GETELEM handlers which invoke getters. r=efaust 2013-09-03 17:55:20 -04:00
Steve Fink
3acf6902b9 Bug 912171 - Static rooting analysis: ignore ~AutoCompartment. r=NPOTB
DONTBUILD

--HG--
extra : rebase_source : 6e29cf2f844b76db662c35d4e4077d82622f48a1
2013-09-03 12:25:05 -07:00
Kannan Vijayan
7dad529eb4 Bug 909764 - Fix syntax parsing error that allows let bindings of eval in strict mode. r=jwalden r=jorendorff 2013-09-03 14:35:18 -04:00
Luke Wagner
43b6fe8667 Bug 911842 - OdinMonkey: disable Ion optimization passes that don't help (r=jandem) 2013-09-03 11:00:24 -05:00
Luke Wagner
9f60f1c109 Bug 911834 - OdinMonkey: skip ApplyTypeInformation pass (r=jandem)
--HG--
extra : rebase_source : af5ae8f0bffe18672dec9dd52aa3ab6446976481
2013-09-03 09:56:13 -05:00
Luke Wagner
e5b3e13697 Bug 911834 - OdinMonkey: create phis with a type directly (r=jandem)
--HG--
extra : rebase_source : 2b6a9168c855f9f8c028022f7fb7dbb85459ab1a
2013-09-02 11:22:44 -05:00
Makoto Kato
d5d70a7936 Bug 911741 - ICU doesn't use optimize flag. r=gps 2013-09-04 16:42:24 +09:00
Gregory Szorc
f0091a8951 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
7693c5688d Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Benjamin Bouvier
1bd5dec356 Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp 2013-07-18 15:13:15 -07:00
Mike Hommey
36fc0ca54c Bug 911902 - Build ffi and icu during the compile tier instead of export. r=gps 2013-09-06 09:20:16 +09:00
Mike Hommey
e297b68676 Bug 912856 - Add a compile 'tier' to build OBJS and HOST_OBJS. r=gps 2013-09-06 09:19:32 +09:00
Mike Hommey
a229160645 Bug 912832 - Inverse tiers and subtiers for build traversal. r=gps 2013-09-06 09:17:59 +09:00
Nicholas Nethercote
9f1e2f02b8 Bug 912411 (part 3) - Remove lots of jsapi.h includes in SpiderMonkey. r=luke.
--HG--
extra : rebase_source : c2219e3a911b8242a6aa89f91997fbd7caa542dc
2013-09-05 16:08:57 -07:00
Nicholas Nethercote
3a2ab0db3f Bug 912411 (part 2) - Move JSID_{VOID,EMPTY}HANDLE from jsapi.{h,cpp} to Id.{h,cpp}. r=luke.
--HG--
extra : rebase_source : 5fb68bf5079e3261fdca6cb99717d3a502c878f3
2013-09-05 16:08:57 -07:00
Nicholas Nethercote
6ed33677cf Bug 912411 (part 1) - Removed some jsapi.h includes in Gecko. r=bz.
--HG--
extra : rebase_source : c0b73945bcd6978a616fd846e33e69fae9162d78
2013-09-05 16:08:06 -07:00
Daniel Holbert
c96ef00b1c Bug 913124: Put ASTSerializer into anonymous namespace, since one of its member-vars is in anonymous namespace (& to silence GCC warning). r=Waldo 2013-09-05 17:03:41 -07:00
Christian Holler
7cc0b6f552 Bug 901908 - Mark a jit-test as slow. r=h4writer
--HG--
extra : rebase_source : b5c233a903d90e8b07e86c6d2fbd8bd06a70e45f
2013-09-05 21:24:48 +02:00
Luke Wagner
242a797ff7 Bug 914814 - IonMonkey: regularly use ImmPtr for addresses, ImmWord for non-addresses (r=jandem)
--HG--
extra : rebase_source : b136bb105d13359328f803af31c424cd5eb68a82
2013-09-12 08:44:35 -05:00
Jan de Mooij
7e2038563e Bug 911369 - Don't specialize binary ops if one operand may be an object. r=bhackett 2013-09-12 15:25:19 +02:00
Nicholas Nethercote
5c88686859 Bug 915482 (part 2) - Minimize gc/Barrier-inl.h includes. r=terrence.
--HG--
extra : rebase_source : d4faf130a8022f335ae0ddcd4e02fdc59109d47d
2013-09-11 16:52:30 -07:00
Jan de Mooij
40129fb252 Bug 914341 - Fix BC to wrap primitive |this| in eval scripts. r=djvj
--HG--
extra : rebase_source : feea6164910b70dc8db175720c796c7b1aebca51
2013-09-12 11:14:20 +02:00
Kannan Vijayan
9b801a4f9a Bug 906805 - Implement Baseline JSOP_GETELEM handlers which invoke getters. try 2. r=efaust 2013-09-05 11:37:07 -04:00
Hannes Verschore
73bb68b253 Bug 897926: IonMonkey: Fix execution difference in code refactored by previous patch, r=jandem 2013-09-05 15:47:17 +02:00
Till Schneidereit
d627ccc922 Bug 912496 - Store source file names and info strings (identified by pointer) only once in tracelogging.log and refer to them by auto-incrementing id after that. r=h4writer
--HG--
extra : rebase_source : 29533698d6a36ed17d1c7e1b728480fcb9325301
2013-09-05 13:05:54 +02:00
Hannes Verschore
6cec0dd24a Bug 897926 - IonMonkey: Don't add osr typebarriers for aliased vars, r=jandem 2013-09-05 13:07:31 +02:00
Jan de Mooij
743b862c30 Bug 911989 - Compile JSOP_DELELEM with IonMonkey. r=h4writer 2013-09-05 10:12:57 +02:00
Mike Hommey
ca4fb7e51e Bug 912845 - Fix typo in js/src/Makefile.in making some headers exported during make libs instead of make export. r=gps 2013-09-05 15:10:26 +09:00
Mike Hommey
f5d048db5e Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps 2013-09-05 15:08:43 +09:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jeff Walden
04c2468283 Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Jan de Mooij
04d6948a02 Bug 911370 - Don't leak IonScript if IonCode allocation fails in CodeGenerator::link. r=bhackett 2013-09-03 11:12:35 +02:00
Dan Gohman
93085a7034 Bug 910814 - SpiderMonkey: Disable errno for math functions. r=glandium 2013-09-02 17:21:21 -07:00
Dan Gohman
969b1271ca Bug 910782 - SpiderMonkey: Various macro cleanups. r=luke 2013-09-02 16:32:16 -07:00
Dan Gohman
fe7c9c7d83 Bug 910782 - SpiderMonkey: Eliminate the ADD_EMPTY_CASE macro. r=luke 2013-09-02 16:31:10 -07:00
Brian Hackett
a8859a66e0 Bug 864928 - Remove ScriptAnalysis::analyzeTypes, r=jandem. 2013-09-02 15:39:31 -07:00
Dan Gohman
b59ee0e2d0 Bug 895435 - SpiderMonkey: Quote characters so that the build doesn't fail if CWD contains a file named 'b'. r=glandium 2013-09-02 14:55:21 -07:00
Luke Wagner
e68684938d Bug 909826 - Tidy up stack overflow exit (r=mjrosenb)
--HG--
extra : rebase_source : d1df34f829ec031e027cad7b05146b6987251c26
2013-08-28 15:01:36 -05:00
Luke Wagner
1c31bc2c66 Bug 909826 - Merge x86/x64 and ARM GenerateEntry paths (r=mjrosenb)
--HG--
extra : rebase_source : 13b85d280ba675860cd48aa8542526b3da56c274
2013-08-28 15:01:36 -05:00
Luke Wagner
7917fc914e Bug 909826 - Change x86/x64 GenerateEntry to be more like ARM (r=bbouvier)
--HG--
extra : rebase_source : 04e5454e6bb4526875246bc1ca374764d5a8eb39
2013-08-28 15:01:36 -05:00
Dan Gohman
830bd0f77b Bug 910782 - SpiderMonkey: Simplfy the END_CASE macros. r=terrence 2013-09-02 13:21:40 -07:00
Benjamin Peterson
ab2e43c824 Bug 911806 - Disable assignment operator and copy constructor of CompileError. r=billm 2013-09-02 14:44:04 -04:00
Brian Hackett
8d9775f4b4 Bug 911204 - Directly heap allocate CompileErrors when parsing off thread, r=billm. 2013-09-02 10:06:43 -07:00
Brian Hackett
e6e207b9a7 Bug 906788 - Construct TypeObject newScript information using MIR, r=jandem. 2013-09-02 10:05:27 -07:00
Jacek Caban
f2b60fc678 Bug 898936 - mingw-w64 fix. 2013-09-02 12:24:18 +02:00
Nicholas Nethercote
9b11a66f4b Bug 911043 (part 2) - Remove unnecessary jsapi.h includes in SpiderMonkey. r=luke.
--HG--
extra : rebase_source : 2320e364bb9efb59283a572e100185702ef494da
2013-09-01 22:03:30 -07:00
Nicholas Nethercote
1a9de23d54 Bug 911043 (part 1) - Move the "inject JS:: names into js::" block into its own file, to reduce dependencies on jsapi.h. r=luke.
--HG--
extra : rebase_source : 2250064bdd316ffeb8126da749bdf94ab9da4418
2013-09-01 21:51:02 -07:00
Bill McCloskey
7465931ca6 Bug 909574 - Fix LifoAlloc to work with MergeCompartments (r=bhackett) 2013-09-01 21:28:12 -07:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Dan Gohman
6eb1edd83c Bug 910796 - SpiderMonkey: Micro-optimize ICCompare_Int32::Compiler::generateStubCode on x64. r=evilpies 2013-08-31 07:29:41 -07:00
Dan Gohman
a9ea5e8f44 Bug 910796 - SpiderMonkey: Micro-optimize loadBaselineFramePtr. r=jandem 2013-08-31 07:29:41 -07:00
Dan Gohman
225f3516f1 Bug 910796 - SpiderMonkey: Micro-optimize emitStackCheck. r=djvj 2013-08-31 07:29:41 -07:00
Dan Gohman
ab4e2990a9 Bug 910796 - IonMonkey: Delete unnecessary instructions in the ArgumentsRectifier sequence for x86/x64. r=sstangl 2013-08-31 07:29:41 -07:00
Dan Gohman
df18f98828 Bug 910796 - IonMonkey: Micro-optimize testNegativeZero on x64. r=sstangl 2013-08-31 07:29:41 -07:00
Dan Gohman
f2d154d5d0 Bug 910796 - IonMonkey: Micro-optimize AbsD on x86/x64. r=sstangl 2013-08-31 07:29:41 -07:00
Dan Gohman
48bfc30101 Bug 910796 - IonMonkey: Micro-optimize sqrt. r=jandem 2013-08-31 07:29:41 -07:00
Dan Gohman
ca5b378a89 Bug 910796 - IonMonkey: Micro-optimize PowHalfD on x86/x64. r=sstangl 2013-08-31 07:29:41 -07:00
Dan Gohman
db861120ea Bug 910829 - SpiderMonkey: Put cpp-private classes in anonymous namespaces. r=waldo 2013-08-31 06:19:15 -07:00
Dan Gohman
2419908046 Bug 910829 - SpiderMonkey: Delete redundant null checks. r=jandem 2013-08-31 06:18:42 -07:00
Dan Gohman
112afab00a Bug 910807 - IonMonkey: Remove Beta's val_ member, which was redundant with getOperand(0), and was suboptimal when the operand is replaced with another beta. r=nbp 2013-08-31 06:11:18 -07:00
Dan Gohman
2679859d05 Bug 910807 - IonMonkey: Avoid rectifyExponent() calls in unionWith, since it isn't needed, and the invariants it checks are temporarily invalid. r=nbp 2013-08-31 06:08:39 -07:00
Dan Gohman
9e6651b088 Bug 910807 - IonMonkey: Add "range" to IONFLAGS=help. r=nbp 2013-08-31 06:08:39 -07:00
Dan Gohman
d85dd8b1a5 Bug 910826 - IonMonkey: Eliminate the remaining interesting calls to useCount() and defUseCount(), which are linear-time operations. r=h4writer 2013-08-31 05:57:12 -07:00
Dan Gohman
48dbf12155 Bug 910866 - Remove a temporary workaround for a bug which is now closed. r=ted.mielczarek 2013-08-31 05:54:00 -07:00
Boris Zbarsky
2f1e4e104d Bug 910220 part 1. Add friend API for determinining whether we're in a strict-mode script. r=waldo 2013-08-31 00:21:22 -04:00
Eric Faust
54996ea417 Bug 901100 - Implement non-shadowing DOM Proxy cacheing in SetPropertyIC. (r=djvj) 2013-08-30 18:50:37 -07:00
Eric Faust
7e161dba9c Bug 785467 - Implement shadowing DOM Proxy cacheing in SetPropertyIC. (r=djvj) 2013-08-30 18:50:37 -07:00
Eric Faust
5fc8136928 Bug 824393 - Part 2: Implement generic Proxy cacheing in SetPropertyIC. (r=djvj) 2013-08-30 18:50:37 -07:00
Eric Faust
82cf04bcdb Bug 824393 - Part 1: Rename ProxyGetExitFrame to ProxyExitFrame. (r=djvj) 2013-08-30 18:50:37 -07:00
Eric Faust
9fade006b1 Bug 824393 - Part 0: Open SetPropertyIC to cases with uncertain TI. (r=bhackett) 2013-08-30 18:50:36 -07:00
Eric Faust
510f12f4d1 Bug 904827 - Part 2: Implement JSNative setter calls in SetPropertyIC. (r=djvj) 2013-08-30 18:50:36 -07:00
Eric Faust
495334a9fb Bug 904827 - Part 1: Rename OOLNativeGetterExitFrame to OOLNativeExitFrame. (r=djvj) 2013-08-30 18:50:36 -07:00
Mike Shal
b2f26a0d64 Bug 903118 - set mozconfig environment variables for sub-makes; r=gps 2013-08-14 09:34:18 -04:00
Bobby Holley
1347c7fba1 Bug 910863 - Skip firing the operation callback if a debugger is attached. r=mrbkap,glandium 2013-08-30 09:46:02 -07:00
Jason Orendorff
6f46bfbf5f Bug 909757 - Silence "warning: empty character constant" in builtin/String.js. r=till. 2013-08-30 11:09:13 -05:00
Jason Orendorff
c69db20ac8 Change some utility macros to parenthesize properly. No bug#, rs=till via IRC. 2013-08-30 11:09:10 -05:00
Jan de Mooij
bc1f6b2e91 Bug 911125 - Remove ScriptAnalysis::printTypes and dump TypeScript's observed types instead. r=bhackett 2013-08-30 17:42:31 +02:00
Masatoshi Kimura
b56a94440f Bug 910751 - Hide UserDataHandler from content. r=smaug 2013-08-30 20:39:37 +09:00
Olli Pettay
414342daf2 Bug 910797, make Event.isTrusted to work in workers, r=khuey 2013-08-30 12:47:19 +03:00
Eddy Bruel
89be33ac32 Bug 906963 - Detect whether a bytecode offset is within the scope of a catch statement. 2013-08-30 10:52:31 +02:00
Mike Hommey
1568928eb8 Bug 907650 - Move debugging options configure.in goop in compiler-opts.m4. r=gps 2013-08-30 11:10:33 +09:00
Mike Hommey
7ac7f0c273 Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Gary Kwong
b0210ed830 Bug 909441 - Test. (r=efaust) 2013-08-29 17:32:21 -07:00
Jeff Walden
c260f55d32 Bug 812218 - Move user-supplied CFLAGS/CXXFLAGS to the end of commandline, so that they can't interfere with the setting of defaults. r=khuey
--HG--
extra : rebase_source : c14dad3f26bbd5b80f44785675c84ad4f6dbdf6c
2012-11-14 16:59:30 -08:00
Steve Fink
b333d20063 Bug 910947 - More static rooting analysis fixes to get it all running on build slaves. r=divine-right
DONTBUILD 'cause NPOTB

--HG--
rename : js/src/devtools/rootAnalysis/suppressedPoints.js => js/src/devtools/rootAnalysis/CFG.js
2013-08-29 14:51:19 -07:00
Justin Lebar
2e2403726d Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Nicholas D. Matsakis
06385c10b6 Bug 910896 - Move StructField constructor into TypeRepresentation.cpp r=shu 2013-08-29 17:22:37 -04:00
Nicholas D. Matsakis
f68c5c446d Bug 910896 - Reorder workrThreadState r=shu 2013-08-29 17:24:22 -04:00
Dan Gohman
02b8786198 Bug 909494 - IonMonkey: Testcase for MMod range analysis for non-integer values. r=nbp 2013-08-29 14:49:57 -07:00
Dan Gohman
152f009c3a Bug 909494 - IonMonkey: Fix MMod range analysis for non-integer values. r=nbp 2013-08-29 14:49:25 -07:00
Doug Turner
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Nicolas Pierron
ccf9338ab8 Bug 909544 - IonMonkey: Check VM Call sanity in visit functions. r=jandem 2013-08-29 10:30:35 -07:00
Jan de Mooij
b865ad7c58 Bug 909401 - Fix MacroAssembler::tagValue on x86/ARM to not assert if the input register is the same as the output type register. r=nbp 2013-08-29 17:39:22 +02:00
Bobby Holley
e5550b2f93 Bug 908019 - Split up watchdog tests to run in parallel. r=mrbkap
This speeds up local xpcshell-test runs by ~6 seconds.
2013-08-29 09:32:25 -07:00
Brian Hackett
359dbd34fe Bug 908699 - Allow generating parse errors and warnings when off the main thread, r=billm. 2013-08-29 09:56:05 -06:00
Jon Coppeard
8bab73cb34 Bug 906387 - Rehash hash tables if necessary when rekeying during minor GC r=terrence 2013-08-29 10:27:50 +01:00
Jan de Mooij
30de7f9dde Bug 910240 part 2 - Assert IonBuilder sets the Folded flag if needed. r=bhackett 2013-08-29 10:08:22 +02:00
Jan de Mooij
a537c05378 Bug 910240 part 1 - Add some missing setFoldedUnchecked calls. r=bhackett 2013-08-29 10:08:16 +02:00