Benjamin Peterson
cb8b8abaed
Bug 877058 - Remove compiler member of baseline's FrameInfo. r=jandem
2013-05-29 08:29:59 -07:00
Brian Hackett
d3c2a07077
Bug 876653 - Add missing isNative() test, r=jandem.
2013-05-29 09:13:34 -06:00
Brian Hackett
a16417b9f5
Bug 875804 - Always keep track of the use of custom iterators, r=jandem.
2013-05-29 09:09:45 -06:00
Jon Coppeard
9ddc84ce1b
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix shell r=terrence
2013-05-29 09:28:03 +01:00
Brian Hackett
dd223e86ea
Bug 875476 - Avoid passing operands of the wrong type to EvaluateConstantOperands, r=jandem.
2013-05-29 08:57:02 -06:00
Ed Morley
ad1b3ee4b6
Merge latest green inbound changeset and mozilla-central
2013-05-29 15:24:19 +01:00
Ed Morley
e51bfd0b26
Backed out changeset 82024a9a3dfd (bug 876639) for B2G compilation failures on a CLOSED TREE
2013-05-29 12:09:41 +01:00
Jon Coppeard
e2792a4ae7
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix shell r=terrence
2013-05-29 09:28:03 +01:00
Ryan VanderMeulen
39c4db0fb4
Merge m-c to fx-team.
2013-05-28 21:25:32 -04:00
Eddy Bruel
80b2243d36
Bug 637572 - Fix for Script-sourceStart-03.js CLOSED TREE
2013-05-28 15:08:15 -07:00
Eddy Bruel
69cd1d9077
Bug 637572 - Implement Debugger.Source.prototype.url; r=jimb
...
--HG--
rename : js/src/jit-test/tests/debug/Script-url.js => js/src/jit-test/tests/debug/Source-url.js
2013-05-28 13:02:55 -07:00
Eddy Bruel
a0ed8712fe
Bug 637572 - Implement Debugger.Source.prototype.sourceStart/Length; r=jimb
2013-05-28 12:54:16 -07:00
Bobby Holley
d96de02e67
Bug 872135 - Remove unnecessary nsContentUtils include. r=me DONTBUILD
2013-05-28 11:05:38 -07:00
Bobby Holley
6032157247
Bug 870423 - Tests. r=bz
2013-05-28 10:29:38 -07:00
Bobby Holley
97556fd572
Bug 870423 - Use the actual hasInstance proxy hook for function proxies. r=luke
2013-05-28 10:29:37 -07:00
Blake Kaplan
c30f3f432c
Bug 860435 - Don't use an iterator that's already at the end of the stack. r=terrence
2013-05-28 17:35:44 -07:00
Brian Hackett
887be7ca10
Bug 867820 - Box boolean inputs to double comparisons when a double conversion isn't possible, r=jandem.
2013-05-28 07:27:37 -06:00
Hannes Verschore
7c4d54a91e
Bug 876649: IonMonkey: Temporary disable MSetElementCache when no dense write is seen, r=jandem
2013-05-28 15:09:25 +02:00
Brian Hackett
c613017359
Bug 875276 - Improve robustness when optimizing .length accesses on objects, r=jandem.
2013-05-28 07:00:55 -06:00
Jan de Mooij
dc83deea6b
Bug 876434 - Compile JSOP_CALLEE with Baseline. r=djvj
2013-05-28 14:32:56 +02:00
Jan de Mooij
d8be424dad
Bug 876398 - Compile JSOP_POPN with Baseline and Ion. r=djvj
2013-05-28 14:32:47 +02:00
Jan de Mooij
f377913f91
Bug 876226 - Restore frame chain if evaluate fails. r=luke
2013-05-28 14:32:19 +02:00
Benjamin Bouvier
a22fd8dce1
Bug 875135: IonMonkey: Don't reorder operands when constant is already in rhs, r=sstangl
2013-05-26 13:20:57 -07:00
Joshua Cranmer
1b9302565d
Bug 868285 - Fix static checking builds, part 3: actually check js/src. r=glandium
2013-05-27 16:05:10 -05:00
Joshua Cranmer
c6a8662716
Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan
...
--HG--
rename : build/clang-plugin/tests/TestStackClass.cpp => build/clang-plugin/tests/TestNonHeapClass.cpp
2013-05-27 16:05:02 -05:00
Phil Ringnalda
91622f83cb
Merge m-c to a CLOSED TREE m-i
2013-05-27 11:46:31 -07:00
Hannes Verschore
38e0ff4e07
Backout backout 2bb75f6d6877 (Bug 875276).
2013-05-27 19:01:27 +02:00
Kannan Vijayan
0926414add
Bug 870200 - Fix typeobject assignment to rest-argument arrays. r=bhackett
2013-05-27 12:41:47 -04:00
Hannes Verschore
44f30fa009
Backout 4370f503d69f (Bug 875276).
2013-05-27 18:18:12 +02:00
Kannan Vijayan
5bff1c362e
Backout a17bb92b2d52 for bustage, CLOSED TREE.
2013-05-27 11:40:51 -04:00
Kannan Vijayan
d250d25570
Bug 870200 - Fix typeobject assignment to rest-argument arrays. r=bhackett
2013-05-27 11:16:56 -04:00
Jon Coppeard
c437a3a2c0
Bug 875872 - Add public Heap<T> class for implementing post-barriers in the browser r=terrence
2013-05-27 12:51:25 +01:00
Jon Coppeard
8a68ce4b84
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Nicholas D. Matsakis
40ab6a86a6
Bug 874643 - Declare CallGetIntrinsicValue MIR to be unsafe r=shu
2013-05-25 13:47:10 -04:00
Nicholas D. Matsakis
7934b0dcde
Bug 862892 - Support off-main-thread compilation for parallel execution. r=shu,bhackett
2013-05-25 09:05:05 -04:00
Boris Zbarsky
349dadac4c
Bug 875939. Make passing a Rooted<T> or Handle<T> to a function taking |const T&| not be a gc hazard. r=terrence
2013-05-24 22:38:09 -04:00
Eddy Bruel
c978035b45
Merge for bug 637572
2013-05-24 17:05:46 -07:00
Eddy Bruel
f82d4065be
Bug 637572: Implement Debugger.Source.prototype.text; r=jimb
2013-05-24 17:00:08 -07:00
Shu-yu Guo
808628a419
Bug 875748. (r=djvj)
2013-05-24 16:55:54 -07:00
Shu-yu Guo
ed930f5585
Bug 875742. (r=djvj)
2013-05-24 16:55:54 -07:00
Nicolas B. Pierron
de8d3c79cc
Bug 774006 - IonMonkey: Implement SetElementIC for integer indexes. r=h4writer
2013-05-24 16:32:49 -07:00
Jeff Walden
2513717da8
Followup to bug 816033, remove a test. This was removed locally, but somehow the removal ended up in a different, not-yet-pushed patch. Sorry! :-(
...
--HG--
extra : rebase_source : 1f487c932c5d8ebffabe8c08da12a1f9916e221b
2013-05-24 16:15:46 -07:00
Masatoshi Kimura
46330f1dc1
Bug 875155 - Make bug 809674 test self-contained. r=bholley
2013-05-25 07:55:18 +09:00
Gary Kwong
d349c2ffd3
Backout b9beff192aa2 since it seems to have caused at least topcrash bug 875757, and possibly other topcrashes. r=luke in-person
...
--HG--
extra : rebase_source : 4c02b33ac8305ee1b06bbf64280ae13456b12386
2013-05-24 13:17:10 -07:00
Ed Morley
b04195e0ce
Merge latest green inbound changeset and mozilla-central
2013-05-24 15:49:15 +01:00
Vladimir Vukicevic
ff55db5503
b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz
2013-05-23 22:09:38 -04:00
Gregory Szorc
c85af048cd
Bug 873720 - Part 5: Only call into subtiers that perform work; r=ted
2013-05-23 16:28:11 -07:00
Gregory Szorc
ccf67001bd
Bug 873720 - Part 3: Track build state in build monitor; r=ted
2013-05-23 16:28:10 -07:00
Gregory Szorc
5060dee4f5
Bug 873720 - Part 1: Annotate build output with machine readable markers; r=ted
2013-05-23 16:28:09 -07:00
Luke Wagner
6a1e4910e4
Bug 779863 - check in testcase for bug 778603 (r=me)
...
--HG--
extra : rebase_source : 64416df83a09c0ebd6253cf2e1699f5e4243dc73
2013-05-23 16:09:15 -07:00
Steve Fink
8aa355eeda
Bug 874948 - Fix string rooting hazards in matching code, r=terrence
2013-05-23 15:32:41 -07:00
Jeff Walden
fc048d4c2a
Bug 816033 - Convert a jstest for hash table init with a really huge number to a jsapi-test, to avoid mega-tests taking forever and a day to run. Also add operation callbacks to the JSON.stringify replacer-is-array loop, and cap the initial size of the HashSet used to store property names extracted from the replacer array. (It'll grow naturally if extra elements are added.) r=luke
...
--HG--
extra : rebase_source : ec150c815c0c7003508a103edd45ec5f570603f3
2013-05-23 14:37:23 -07:00
Brian Hackett
a729128107
Bug 870821 - Fix typo.
2013-05-23 13:51:08 -06:00
Nicholas D. Matsakis
8927c4169b
Bug 872352 - Add liquid-resize and other benchmarks into parjs-benchmarks rs=tests
2013-05-23 15:39:05 -04:00
Nicholas D. Matsakis
140ae7ec78
Bug 873522 - Perf integration for IonMonkey r=dvander
2013-05-23 15:38:56 -04:00
Brian Hackett
dd8dda9eaa
Bug 875276 - Don't profile types in scripts until they are compiled by baseline, r=jandem.
2013-05-23 13:25:19 -06:00
Phil Ringnalda
fda0263af1
Merge m-c to birch
2013-05-23 21:20:32 -07:00
Jeff Walden
c70270ee16
Bug 873718 - Add a second argument to MakeConstructible, a value to be set as .prototype on the function. This ensures that .prototype is always an object, and that |new|ing the function will never invoke user-defined code trying to access the .prototype (and possibly hitting such a property along the prototype chain). r=till
...
--HG--
extra : rebase_source : 039448500590360f99e24350fdaa8da4c17f9487
2013-05-21 17:42:34 -07:00
Boris Zbarsky
b6bcc5c7f7
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Ed Morley
a85a630c58
Merge mozilla-central and inbound
2013-05-24 16:09:48 +01:00
François Tigeot
b3bfc574e3
Bug 875666 - add || defined(__DragonFly__) to jsnativestack.cpp (r=luke)
...
--HG--
extra : rebase_source : 23bc7c6997e0e2b1c174f4f7a75f44f6a0155a42
2013-05-24 08:29:53 +02:00
Jan de Mooij
64decbed76
Bug 875473 - Add saveFrameChain option to shell evaluate function. r=luke
2013-05-24 14:03:36 +02:00
Jan de Mooij
7ca3f3c999
Bug 873155 - Remove StackFrame argument duplication. r=luke
2013-05-21 16:09:01 +02:00
Jan de Mooij
eccf118594
Bug 868431 - Disable Ion when Baseline is disabled, remove bailout-to-interpreter code. r=djvj
2013-05-24 14:03:31 +02:00
Jan de Mooij
3c8b0084d5
Bug 874825 - Correctly set HAS_ARGS_OBJ flag when bailing out to baseline. r=djvj
2013-05-24 14:03:28 +02:00
Kyle Machulis
0fa5578aa0
Bug 854517: Gecko configure.in changes for B2G Valgrind support; r=khuey
2013-05-23 12:26:52 -07:00
Brian Hackett
7658b71432
Bug 875290 - Remove TypeScript::LocalTypes, r=jandem.
2013-05-23 12:15:51 -06:00
Gregory Szorc
3a1f6ceaa0
Bug 874543 - Restart Makefile execution if backend is regenerated; r=glandium
2013-05-23 10:10:39 -07:00
Kannan Vijayan
028e4787ac
Bug 874687 - Fix bug with SPS being enabled when non-SPS-instrumented ion frames are on stack. r=jandem
2013-05-23 12:22:36 -04:00
Brian Hackett
c73f548b39
Bug 864218 - Improve performance when accessing variables defined in run-once closures, r=luke,jandem.
2013-05-23 05:59:53 -06:00
Mihai Sucan
1611b7310d
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03:00
Mike Hommey
86fb98589b
Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted
2013-05-23 07:28:08 +02:00
Bobby Holley
4d51cd1086
Bug 874318 - Don't allow CALL on XOWs. r=mrbkap
2013-05-22 22:27:16 -06:00
Bobby Holley
346f85a57c
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
66cef80cfe
Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
4b3957c0bc
Bug 862380 - Be more explicit about rejecting JSID_VOID for XOWs. r=mrkbap
...
We already do this, but it's helpful to be clear about it.
2013-05-22 22:27:15 -06:00
Bobby Holley
04fe393f0c
Bug 862380 - Pass the entered id in addition to the wrapper action to Policy::deny. r=mrbkap
2013-05-22 22:27:15 -06:00
Gary Kwong
18bff9ef41
Bug 776043 - Make jittests assert if an error does not exit with failure; r=terrence
...
--HG--
extra : rebase_source : 629830fae497347215d188d687e3dc1e41144b3f
2013-05-22 10:10:20 -07:00
Eddy Bruel
3ccfaf7eaa
Bug 637572 - Implement Debugger.Script.prototype.source; r=jimb
2013-05-22 16:42:52 -07:00
Eddy Bruel
d4369adba5
Bug 637572 - Use ScriptSourceObject instead of ScriptSource; r=jimb
2013-05-22 16:23:07 -07:00
Eddy Bruel
8882c53b4c
Bug 637572 - Implement ScriptSourceObject; r=jimb
2013-05-22 16:06:54 -07:00
Brian Hackett
d836361354
Bug 870821 - Seed observed values for integer CALLELEM ops with the possible targets, r=jandem.
2013-05-22 16:48:19 -06:00
Bobby Holley
c1dc65c3ef
Bug 868110 - Remove JS_GetGlobalObject. r=luke
...
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
d1daeb827a
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
b0e91fda0d
Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor
...
As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
2013-05-22 15:42:44 -06:00
Bobby Holley
e81b05653a
Bug 871306 - Remove globalObject from jsdIFilter. r=gabor
...
It looks like firebug only ever passes null, which is equivalent to not using
it at all.
2013-05-22 15:42:43 -06:00
Bobby Holley
435d516232
Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor
2013-05-22 15:42:43 -06:00
Tom Schuster
dea1fca4c0
Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz
2013-05-22 22:32:50 +02:00
Terrence Cole
103d8701de
Bug 872384 - Clone self hosted objects directly into tenured; r=till
...
The jit is allowed to bake pointers to intrinsics into jitcode. Since all
self-hosted clones are intrinsics, we need these to always be tenured.
--HG--
extra : rebase_source : b4e6b63db874a95d5eac4cafa34a7aaadd163f58
2013-05-16 10:24:22 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Terrence Cole
684fde513f
Bug 851057 - Implement generational GC support in IonMonkey; r=dvander
2013-04-18 17:03:40 -07:00
Brian Hackett
c95cae4506
Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem.
2013-05-22 11:36:29 -06:00
Bobby Holley
29aaa7a698
Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor
2013-05-22 10:05:28 -06:00
Bobby Holley
ac7f7ccafb
Bug 868130 - Fix include guard. r=me
2013-05-22 10:05:28 -06:00
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba8c5579b5
Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
20dd5cfed6
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
fbfc8f9abe
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
b1aac00cc5
Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor
2013-05-22 10:05:24 -06:00