Brad Lassey
348fc98ad1
bug 802616 - don't use software floating point math on ARMv6 r=glandium
...
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Nicolas B. Pierron
a989f1ff2d
Bug 800878 - EvalInFrame, Check debug mode before iterating the stack. r=luke,decoder
2012-10-17 15:01:09 -07:00
Jeff Walden
7ad7a1cb1e
Fix up and un-skip the test for bug 406572, following up on a comment in bug 577325. r=jorendorff
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 8457c42ff9ba9151f240462e06192fa4dc444a75
2012-01-29 03:03:18 -08:00
Bill McCloskey
0c1b7aeb25
Backout bug 791174 for orange
2012-10-15 17:00:39 -07:00
Bill McCloskey
e74a04d071
Bug 791174 - Clean up GC tracing code (r=jonco)
2012-10-12 11:28:44 -07:00
Benjamin Peterson
e5bf068b35
Bug 800407 followup - Fix running in browser environment. r=me
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 5f42dac25147c4e44cc24a0b254d047e9bac6203
2012-10-15 17:16:12 -04:00
Benjamin Peterson
7e8bc55d3f
No bug - Add executable bit. rs=terrence
2012-10-15 16:15:52 -04:00
Benjamin Peterson
cc904a1f1a
Bug 800407 - Remove incorrect assertion that Function constructor defined functions cannot have inherited strict mode. r=benjamin code=Nikhil Marathe
...
--HG--
extra : rebase_source : 54cb7adb34ea2b9825d9aadf19f896f68f5dc508
2012-10-15 16:12:41 -04:00
Ehsan Akhgari
9e0549e4d9
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Ed Morley
25701792b7
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Kannan Vijayan
a84513d064
Bug 800935 - Fix ASSERT error in generateCallGetter. (r=nbp)
2012-10-15 10:56:20 -04:00
Ryan VanderMeulen
da830356a6
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ehsan Akhgari
6b1b2c0d54
Bug 801344 - Make sure that JSRuntime::initSelfHosting never returns an uninitialized value; r=till
2012-10-14 11:12:03 -04:00
Ryan VanderMeulen
d37755dc84
Merge the last PGO-green inbound changeset to m-c.
2012-10-13 19:26:29 -04:00
Jan Beich
a9328aa582
Bug 801295 - mincore() call has incorrect type on tier3 (non-Linux). r=jlebar
...
--HG--
extra : rebase_source : 3201ac0b491a8cb40f916276e5b34a14d3122dc7
2012-10-13 09:34:00 -04:00
Justin Lebar
ddc9c65e5f
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-12 10:26:06 -04:00
Justin Lebar
9ed3356569
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Jim Blandy
0a2a9c19f9
Bug 743311: Implement Debugger.prototype.findAllGlobals. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
2935cf9083
Bug 743311: Implement Debugger.prototype.onNewGlobalObject. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
db40a2832d
Bug 743311: Add option to shell 'evaluate' to catch termination, for tests. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
ffc6457899
Bug 796073: Identify debuggees only by Debugger.Object instances and CCWs that can be unwrapped securely. r=luke
...
This patch affects behavior that a lot of debugger tests rely on; I've
tried to update the tests without losing coverage of behavior that is still
supported:
- A prior patch in this series removes uses of addDebuggee to generate
Debugger.Object instances referring to random objects, using
makeDebuggeeValue instead.
- The test debug/Debugger-debuggees-07.js is deleted, because it's testing
for the very behavior we're removing. Other tests are trimmed to remove
usage that is no longer supported.
- The new test debug/Debugger-debuggees-17.js checks that we reject objects
that don't designate debuggees. The existing test
Debugger-debuggees-06.js checks that non-object values are properly
rejected.
- The new test debug/Debugger-debuggees-18.js checks that globals are
correctly identified regardless of how we designate them.
2012-10-13 16:04:41 -07:00
Jim Blandy
b755c3b751
Bug 796073: Use Debugger.Object.prototype.makeDebuggeeValue where appropriate, not Debugger.prototype.addDebuggee. r=luke
...
Many tests use Debugger.prototype.addDebuggee to produce Debugger.Object
instances referring to random objects. Now we have
Debugger.Object.prototype.makeDebuggeeValue to do that, which is more
careful about wrappers. This patch changes all the existing tests that
abuse addDebuggee in this way (well, they didn't have any choice when they
were written) to use makeDebuggeeValue instead, in preparation for
tightening up addDebuggee to only accept global objects.
2012-10-13 16:04:41 -07:00
Jim Blandy
9e7714919a
Bug 795119: Complain coherently when evalInGlobal{,withBindings} is passed a CCW to a global, not a global. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
789197fda9
Bug 799272: Implement Debugger.Object.prototype.unwrap. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
520b89592a
Bug 799272: Implement Debugger.Object.prototype.global. r=luke
2012-10-13 16:04:16 -07:00
Jacek Szpot
0ebb25a85a
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Saurabh Anand
f902b20205
Bug 795780 - Remove unnecessary rooting in proxy methods. r=nnethercote.
...
--HG--
extra : rebase_source : ff593ecc2082dea276f7fe09734394dce595a20c
2012-10-14 17:46:28 +05:30
Siddharth Agarwal
377ab9eb07
Back out bug 585011 (making cl.py a pymake native command) because of bug 794490.
2012-10-14 18:54:18 -07:00
Till Schneidereit
70ab7b00c6
Bug 784400 - Move all intrinsics initialization from the globalObject->intrinsicsHolder object to the runtime's selfHostingGlobal. r=luke
2012-10-11 14:43:21 +02:00
Till Schneidereit
8cf23858fa
Bug 784400 - Enable cloning of object literals within functions. r=luke
2012-10-11 11:53:02 +02:00
Till Schneidereit
9c3f9146e0
Bug 784400 - Give self-hosted code access to standard builtins. r=luke
2012-08-28 04:58:00 +02:00
Till Schneidereit
8af01ce667
Bug 784620 - Support reading self-hosted JS from a file set via environment variable. r=terrence
2012-10-11 11:19:43 +02:00
Benjamin Peterson
e4dfaf6857
Bug 779118 - Try to be more robust about waiting for compression to finish. r=luke
2012-10-13 09:24:13 -04:00
Benjamin Peterson
85e07532ff
Bug 791465 - Fix processDirectives' ASI emulation. code=André Bargull r=benjamin
2012-10-13 09:23:53 -04:00
Benjamin Peterson
3d2f961aae
No bug - Readd executable bit. rs=terrence
...
--HG--
extra : rebase_source : c3a77fb2fd8d6b1bae65efdd2bbc481f139b91e9
2012-10-12 14:44:20 -04:00
Ehsan Akhgari
1b602e3962
Backout bug 798510 because of xpcshell orange
2012-10-11 20:17:33 -04:00
Justin Lebar
2b6b69da90
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-11 18:55:53 -04:00
Justin Lebar
d90a8e1023
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-11 18:55:53 -04:00
David Anderson
3266eed6fc
Don't explicitly unbox before GetPropertyCache (bug 799907, r=djvj).
2012-10-11 13:47:50 -07:00
Nicolas B. Pierron
be98caba91
Bug 797977 - Rename StackIter::fp() to StackIter::interpFrame(). r=luke
2012-10-10 20:50:07 -07:00
Sean Stangl
5304d41f92
Bug 798946 - Confer with TI about the return type of Math.random(). r=dvander
2012-10-10 17:07:53 -07:00
Rafael Ávila de Espíndola
6bf8982169
Bug 799807 - update reference to llvm bug. r=dvander.
2012-10-10 10:31:02 -04:00
Marty Rosenberg
0755fd0e7b
Change the method we use to update ranges on phis so narrowing works properly (bug 799282, r=jandem)
2012-10-10 01:25:03 -04:00
Marty Rosenberg
7240ad13d1
The fix bitand to not compute bogus ranges (bug 799793, r=dvander)
2012-10-10 01:25:03 -04:00
Nicholas Nethercote
a67ecb43f6
Bug 793967 - Refactor Proxy::getElementIfPresent(). r=ejpbruel.
...
--HG--
extra : rebase_source : 5832487556791f6fc36b840d6306875c2c3e386a
2012-10-07 22:39:54 -07:00
Terrence Cole
acbbc1562e
Bug 799777 - Unravel the threaded interpreter; r=luke
...
With the JITs, this is no longer buying us performance proportional to its
complexity.
2012-10-09 17:26:13 -07:00
Terrence Cole
e7ed15573e
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
extra : rebase_source : 122785b474af371ed22d43a6bfcb600c05440405
2012-10-08 15:04:36 -07:00
Jim Blandy
ea20ea661f
Bug 795173: Make Debugger.Object.prototype.evalInGlobalWithBindings pass the right 'this' value. r=jorendorff
...
This also adds a test for Debugger.Frame.prototype.evalWithBindings, to
make sure it puts new variables on the right object; I couldn't find any
existing tests for the non-strict case (Frame-evalWithBindings-11.js
handles the strict mode case).
2012-10-09 12:02:30 -07:00
Eddy Bruel
00c27f6ed0
Bug 797469 - Avoid putting a JSFunction in Objectbox; r=jorendorff
2012-10-09 17:02:00 +02:00
Ted Mielczarek
50d314a70a
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Mike Hommey
da3307eff1
Bug 795204 - Trick make/pymake into waiting for shared libraries rules to run before installing import libraries in DIST/lib. r=ted
2012-10-09 10:17:26 +02:00
Nicolas B. Pierron
e478958e48
Bug 798913 - Prevent inlining of overflow of arguments. r=dvander
2012-10-08 18:12:25 -07:00
Sean Stangl
e0796dd756
Bug 799297 - Pass explicit type to loadUnboxedValue(). r=dvander
2012-10-08 17:27:10 -07:00
Terrence Cole
98b249d2c0
Backout 754a1efb5b37 for bustage on a CLOSED TREE
2012-10-08 15:42:39 -07:00
Nicholas Nethercote
b1fb442071
Bug 799019 - Tweak per-compartment memory reporting. r=Ms2ger.
...
--HG--
extra : rebase_source : 66bab372c7b3a7f4cebfd059b4c64a7562ba1f5d
2012-10-08 15:20:26 -07:00
Terrence Cole
d079920e40
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
rename : content/html/content/test/test_bug797113.html => content/html/content/test/test_bug780993.html
extra : rebase_source : 19b24e3decfc37c7387ea941233aec8239550927
2012-10-08 15:04:36 -07:00
Nicolas B. Pierron
f92d752ea8
Bug 798834 - Remove reset of non-actual arguments for StackFrame. r=luke
2012-10-08 14:57:10 -07:00
Ehsan Akhgari
23c2b32d26
Merge mozilla-central into mozilla-inbound
2012-10-08 16:53:58 -04:00
Alex Keybl
35ba52d414
Merging in version bump NO BUG
2012-10-08 11:01:15 -07:00
Marty Rosenberg
6a945fdafc
Fix the backwards code so it matches the well thought out comment (bug 792589, r=jbramley)
2012-10-08 06:32:39 -04:00
Jacek Caban
f69198925f
Bug 797793 - Disable format warnings on mingw r=glandium
2012-10-08 11:46:53 +02:00
Brian Hackett
4af6f6ca5e
Bug 793491. There isn't really any reason to have lots of type barriers for different objects at a site, since if we manage to discharge all the barriers the target will probably just be marked as a generic object anyways. So go ahead and just fall back to an AnyObject barrier once we have more than BARRIER_OBJECT_LIMIT barriers on a single pc. r=jandem
2012-10-08 10:14:10 +02:00
Phil Ringnalda
621675f4fa
Back out 20899bf87646 (bug 798913) for Windows opt browser-chrome bustage
2012-10-07 23:26:03 -07:00
Marty Rosenberg
c303a227c8
Ranges should all be signed, never unsigned, even when the operation should logically be unsigned (bug 765119, r=djvj)
2012-10-07 23:19:23 -04:00
Marty Rosenberg
1673946b84
Fix windows by adding in an initializer (bug 765119, r=dvander)
2012-10-05 06:15:36 -04:00
Marty Rosenberg
40b0708c67
Add in two patches that were lost while rebasing (bug 765119, r=jandem)
2012-10-03 09:37:50 -04:00
Marty Rosenberg
14ea26e0a0
Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
a6a1717d9e
Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
5c29f1df3e
Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
6dd91698ee
Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
c85f11a62b
Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander)
2012-10-02 04:34:27 -04:00
Phil Ringnalda
aef15dac79
Back out 9157b71a7df1 (bug 793491) for assertion failures
2012-10-07 21:02:46 -07:00
Nicolas B. Pierron
0dd757e894
Bug 798913 - Prevent inlining of overflow of arguments. r=dvander
2012-10-07 20:50:20 -07:00
Brian Hackett
60fcc16b14
Bug 793491. There isn't really any reason to have lots of type barriers for different objects at a site, since if we manage to discharge all the barriers the target will probably just be marked as a generic object anyways. So go ahead and just fall back to an AnyObject barrier once we have more than BARRIER_OBJECT_LIMIT barriers on a single pc. r=jandem
2012-10-07 23:04:38 -04:00
Nicholas Nethercote
10b0363a81
Bug 793076 (part 8) - Make GetCachedLocalTime() infallible. r=jwalden.
...
--HG--
extra : rebase_source : a0631d386fb6666b03c32bd96f594000add57d32
2012-10-07 18:03:20 -07:00
Nicholas Nethercote
873825176b
Bug 793076 (part 7) - Rename CacheLocalTimes() and change its return type from bool to void. r=jwalden.
...
--HG--
extra : rebase_source : 99a9b3e5944d61d5cad87f80afafb0dd22379179
2012-10-07 18:01:54 -07:00
Nicholas Nethercote
3c2ab83aea
Bug 793076 (part 6) - Remove SetDateToNaN. r=jwalden.
...
--HG--
extra : rebase_source : 2fddc9bf0e38c215f169afbc3480a5d793315bb9
2012-10-07 18:01:51 -07:00
Nicholas Nethercote
ae989d9cb1
Bug 793076 (part 5) - Change SetUTCTime()'s return type from bool to void. r=jwalden.
...
--HG--
extra : rebase_source : 33411aca5216e1e8bf298500c7f9fd5dd61d8d6a
2012-10-07 18:01:35 -07:00
Nicholas Nethercote
7d890b7008
Bug 793076 (part 4) - In jsdate.cpp, exactly root remaining JSObject* pointers. r=jwalden.
...
--HG--
extra : rebase_source : f90b0eecbb1f81c38ff55132faf05384b98ef622
2012-09-20 23:23:54 -07:00
Nicholas Nethercote
0b77204fde
Bug 793076 (part 3) - In jsdate.cpp, convert Rooted<JSObject*> pointers to RootedObject. r=jwalden.
...
--HG--
extra : rebase_source : a6493707a8ddc223a5a72b8131483c285543dc02
2012-09-20 23:23:18 -07:00
Nicholas Nethercote
3230c39dbb
Bug 793076 (part 2) - In jsdate.cpp, convert |cx| parameters to |dstOffsetCache| where possible. r=jwalden.
...
--HG--
extra : rebase_source : 27977fc5c54e7f359cdb0bf550a3d6ddcbd4cae5
2012-09-20 23:22:35 -07:00
Nicholas Nethercote
71e4702d8c
Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
...
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Jan de Mooij
0e9732ffe2
Bug 798823 - Don't use an empty IonActivation in FastInvokeGuard. r=dvander
2012-10-07 14:27:11 -07:00
David Rajchenbach-Teller
becea4676b
Bug 795505 - Feed typed arrays to js-ctypes. r=jorendorff
2012-10-06 21:53:23 -04:00
Jan de Mooij
01c51849b8
Temporarily disable bug 797131 part 3 for fuzz crashes. r=dvander on IRC
2012-10-07 01:15:53 +02:00
Jan de Mooij
80eafc3e89
Bug 798819 - Ensure the EnterJIT thunk exists when using FastInvoke. r=dvander
2012-10-06 15:39:04 -07:00
Ed Morley
b9d0962f13
Merge mozilla-central to mozilla-inbound
2012-10-06 21:47:07 +01:00
Tom Schuster
b2ea3f6163
Bug 784765 - Add fastpath for string equality with different length. r=jandem
2012-10-06 21:59:14 +02:00
Ed Morley
5abdf356a2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Kannan Vijayan
f4c56a9326
Bug 798589 - Change GetProp IC attachCallGetter to use script being jitted to get ion framesize instaed of script the getprop belongs to. (r=jandem)
2012-10-06 09:58:06 -04:00
Jan de Mooij
d07b063cd1
Bug 797131 part 3 - Add fast path for calling into Ion. r=dvander
2012-10-06 11:38:18 +02:00
Jan de Mooij
6bd69e62c4
Bug 797131 part 2 - Add FastInvokeGuard and use it. r=dvander
2012-10-06 11:37:59 +02:00
Jan de Mooij
86f932f43a
Bug 797131 part 1 - Various small changes. r=dvander
2012-10-06 11:37:18 +02:00
Mike Hommey
78b05b3276
Bug 797322 - Preprocessed .jsm files don't get //@line info. r=ted
2012-10-06 10:38:58 +02:00
Jim Blandy
eb93391fd2
DONTBUILD
...
(No bug): Remove inaccurate comment for js::gc::CellIter r=billm on IRC
2012-10-05 17:32:41 -07:00
Nicolas B. Pierron
39538cd3ea
Bug 792398 - Recover arguments from bailouts. r=luke
2012-10-04 23:56:07 -07:00
Nicolas B. Pierron
e47ccd76c3
Bug 787813 - Argument object, Use StackIter instead of StackFrame. r=luke
2012-10-04 23:56:06 -07:00
Nicholas Nethercote
fbd23bff54
Bug 797695 (part 4) - Exactly root jsscript.cpp. r=terrence.
...
--HG--
extra : rebase_source : b6cc292b092b30e339a75921245d4605275c104d
2012-10-04 16:22:03 -07:00
Nicholas Nethercote
c9f009a036
Bug 797695 (part 3) - Exactly root js_NewFunction(). r=terrence.
...
--HG--
extra : rebase_source : afece8e51f17ad3ed4d7cef013f169fa957362d4
2012-10-04 16:21:51 -07:00
Nicholas Nethercote
79b7095de1
Bug 797695 (part 2) - Exactly root jsfun.cpp. r=terrence.
...
--HG--
extra : rebase_source : 9a46d4b08cf0e71f34b7d87699329bc8f6ec4e47
2012-10-04 16:21:40 -07:00