Commit Graph

22698 Commits

Author SHA1 Message Date
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
Bobby Holley
c30bf840f9 Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz 2012-10-11 19:44:20 +02: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
Bobby Holley
0403fed8cc Bug 797204 - Remove API. r=mrbkap
\o/
2012-10-10 11:01:26 +02:00
Bobby Holley
220736fd0b Bug 797204 - Consolidate XBL filename hack logic into nsContentUtils. r=mrbkap
These two functions do the exact same thing, as far as I can tell.
2012-10-10 11:01:26 +02:00
Bobby Holley
055fcd4448 Bug 789224 - Remove chrome check in xpc_EvalInSandbox. r=mrbkap
This function is also called to evaluate javascript:// URIs, at which point the chrome caller assumption isn't actually valid. Let's just do the modern thing here, and fix up the caller that breaks.
2012-10-10 11:01:26 +02:00
foudfou
3a23c1b328 Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02: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
Ehsan Akhgari
7d0ac4e6bc Bug 799432 - Backout changeset 30ab4e1d4874 and changeset dbcc29e9fcf6 from bug 777292 since they're no longer necessary with bug 795238 2012-10-09 16:01:24 -04: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
Benoit Jacob
966189fec7 Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz 2012-10-09 14:39:49 -04:00
Chris Peterson
4aecbbb60b Bug 799307 - Remove some XPCDebug.cpp cruft that was obsoleted by bug 787856. r=billm 2012-10-08 17:29:47 -07:00
Bobby Holley
ccb9171060 Bug 786142 - Make sure we have a real WN in MoveWrappers. r=peterv 2012-10-09 17:28:13 +02:00
Gabor Krizsanits
741ac104b0 Bug 684601 - window.toString.call() with native JS Object; r=bz 2012-10-09 17:21:53 +02: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
Nicholas Nethercote
bc8cd01df6 Bug 799000 - Don't double count when memory-reporting for JSObject2WrappedJSMap. r=terrence.
--HG--
extra : rebase_source : 77553d19751c45e050b5945bb0813dd7155dfea6
2012-10-08 15:20:13 -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
Hsin-Yi Tsai
81d7a61b89 Bug 783525 - part 1 - idl and DOM impl for ICCCardLockErrorEvent. r=smaug, sr=sicking 2012-10-03 14:29:07 +08: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