Commit Graph

26037 Commits

Author SHA1 Message Date
Bill McCloskey
26c023ee24 Bug 856670 - Bring JS C stack limit closer to actual OS limits (r=bsmedberg) 2013-04-25 21:02:22 -07:00
Bill McCloskey
d5ad35af09 Bug 864462 - Fix OOM in write barrier verifier (r=terrence) 2013-04-25 21:02:15 -07:00
Nicholas Nethercote
95b4815f0e Bug 634839 (part 1) - Remove unnecessary headers (as found by include-what-you-use) from js/src/jsfoo.cpp files. r=luke. 2013-04-23 23:44:36 -07:00
Sean Stangl
125147afcd Bug 812265 - Temporarily comment out standalone JS executable renaming. r=luke 2013-04-25 18:28:48 -07:00
Brian Hackett
21da402f62 Bug 864216 - Only create IonScriptCounts for asm.js code if rt->profilingScripts, r=luke. 2013-04-25 18:18:29 -06:00
Norbert Lindenberg
dcb042cb32 Bug 724533 - Integrate ICU into the Mozilla build (but don't actually build it, until a compile-time flag gets flipped). r=glandium 2013-04-25 15:27:22 -07:00
Sean Stangl
24b2d5d2eb Bug 618485 - Prefer word types that exist. no_r=red 2013-04-25 17:05:20 -07:00
Tim Lunn
27624c0743 Bug 842889 - Include MOZILLA_VERSION in JS_GetImplementationVersion(). r=waldo 2013-04-25 16:40:33 -07:00
Landry Breuil
18ebde5d14 Bug 618485 - Add jsuword view to jsval_layout on 64-bit big-endian. r=luke 2013-04-25 16:18:03 -07:00
Ian Stakenvicius
9c4af6dfd6 Bug 809430 - Add symbol versions. r=glandium 2013-04-25 15:35:40 -07:00
Tim Lunn
7fa89a1cba Bug 812265, Part 4/4 - Fix MOZ_JS_LIBS. r=glandium 2013-04-23 17:21:50 -07:00
Tim Lunn
2758a2a859 Bug 812265, Part 3/4 - Use version number in filename of shell and js-config. r=glandium 2013-04-23 17:05:28 -07:00
Tim Lunn
73525f9e59 Bug 812265, Part 2/4 - Setup versioning and pkg-config support. r=glandium 2013-04-23 16:55:13 -07:00
Ian Stakenvicius
eb3d5e29cb Bug 812265, Part 1/4 - Remove JS_VERSION. r=dmandelin 2013-04-23 15:45:04 -07:00
Boris Zbarsky
7041704c76 Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
There are several changes here:

1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
   effectively allow doing a const_cast without knowing the actual type being
   templated over.  I needed this because I do not in fact know that type in
   the relevant code.  I'm open to suggestions for a better name for this
   method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
   and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
   I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
   in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
   constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Luke Wagner
921dcb548d Bug 851627 - Make LifoAlloc::release run in O(1) (r=sstangl) 2013-04-25 12:28:29 -07:00
Jeff Walden
b3074a2427 s/JS_TRUE/true/g; s/JS_FALSE/false/g. Following up on a request in bug 858677, r=lumpy
--HG--
extra : rebase_source : 992fe9e7f92924d03abeb5f8839bfd0bca8650f1
2013-04-24 22:29:46 -07:00
Brian Hackett
1d9b09d62c Bug 865626 - Disallow generating extra barrier instructions when compiling Array.push, r=dvander. 2013-04-25 15:22:04 -06:00
Brian Hackett
760ae6b90d Bug 865635 - Use MMonitorTypes instead of MTypeBarrier for type write barriers, r=dvander. 2013-04-25 14:44:44 -06:00
Brian Hackett
c9972461db Bug 864957 - Consolidate locks used to avoid operation callback related races, r=djvj,luke. 2013-04-25 13:55:33 -06:00
Steve Fink
2c15ee7168 No bug, DONTBUILD. Updates to the static rooting analysis, including transition from Makefile to python script.
Although this patch contains some updates to Makefile.in, I am no longer using it at all. I now run analyze.py for better control, though note that it depends on loading in some configuration settings that are hardcoded to my environment.

This patch also contains a number of updates to the annotations.

--HG--
extra : rebase_source : ebd4deb590fb9fde4532bdf45214ffca117e1c3a
2013-04-25 09:16:37 -07:00
Boris Zbarsky
eb0cabfa76 Bug 864727 part 1. Root the global before calling WrapObject in XPCConvert. r=bholley
I sort of wish GetGlobalJSObject just returned a handle.
2013-04-25 12:29:52 -04:00
Andrew McCreight
68f54b836e Bug 865397 - Nicen up "id got defined" assertion. r=bholley 2013-04-25 08:42:44 -07:00
Brian Hackett
a281609df4 Bug 865153 - Remove resume point uses in dead blocks when restarting loop processing, r=h4writer. 2013-04-25 09:08:36 -06:00
Jeff Walden
43e64486da Minor style fixes to ObjectImpl.h. No bug, r=sparky 2013-04-18 16:21:48 -07:00
Jeff Walden
dde72f3f7f Bug 858381 - Implement non-writable array lengths, and add a boatload of tests. r=jorendorff and r=bhackett for the major parts of this, r=jandem for the methodjit changes, r=jimb on a debugger test change, r=nmatsakis for the parallel test. (More details available in the bug, where individual components of the fix were separately reviewed.)
More random details:
Various JIT components required updating for this.  In the case of some
methodjit bits, this meant simply disabling those optimizations.  This
patch also, passing, improves the Array.prototype.push method's
fast-path to work for any number of provided arguments, not just one.
The patch also fixes a few pre-existing bugs in how array length setting
works and includes the appropriate tests.  (If anyone notices, it's
because they were a test in a test suite.)  I also added a ParallelArray
test that verifies that arrays with non-writable length function
correctly in parallel code.  We bail before getting there now, because
Object.defineProperty isn't parallel-friendly, but if it ever becomes
so, hopefully the test will start failing.  Hello, is this thing on?
2013-03-19 17:12:06 -07:00
Daniel Holbert
fb5bb1a70d Bug 865396: Insert space between string literal and macro arg, to fix GCC 4.8 Wliteral-suffix build warning. r=sfink 2013-04-24 20:54:24 -07:00
Brian Hackett
1acf20a733 Bug 865192 - Remove unnecessary toPhi() coercion, r=dvander. 2013-04-24 20:07:00 -06:00
Shu-yu Guo
a39c388ab6 Bug 861904. (r=sstangl) 2013-04-24 18:41:03 -07:00
Shu-yu Guo
aa3f42ee31 Bug 858582 - Prevent callsite cloning of callsite clones. (r=bhackett) 2013-04-24 18:41:01 -07:00
Luke Wagner
925b241539 Bug 857700 - Fix race condition in AsmJSMachExceptionHandler (r=vlad)
--HG--
extra : rebase_source : bba872fdedfc119468ad586eca97b00881a5dee9
2013-04-18 21:45:33 -07:00
Bobby Holley
f4fb2c0693 Bug 865260 - Use IsXrayWrapper rather than ObjectIsNativeWrapper in nsWindowSH. r=bz
There are some other uses of ObjectIsNativeWrapper in other scriptable helpers
that are tempting to remove as well, but it's probably just better to wait for
that stuff to just go away. Given that the issue we're running into here is
Window-specific, there's not a pressing need to fix the other stuff.
2013-04-24 15:21:26 -07:00
Till Schneidereit
cbcc26a5b0 Bug 856246 - support specifying thread count in jit-test metalines. r=terrence 2013-04-24 15:46:37 +01:00
Till Schneidereit
8125daee22 Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Jon Coppeard
944a8fc0d8 Bug 861887 Review comments for prev patch r=bholley
--HG--
extra : rebase_source : 7f91680f5f7249c9fb09708eb790bdc19c779c67
2013-04-24 14:22:21 +01:00
Felix S. Klock II
bd1d278cbd Bug 863234 - Fix inlineDump handling for MParDump. r=nmatsakis 2013-04-18 15:38:13 +02:00
Jan de Mooij
7af1562988 Bug 858551 part 2 - Optimize calls from Ion to Baseline code. r=djvj 2013-04-24 12:43:24 +02:00
Jon Coppeard
ca8a10bd6b Bug 864002 - IonMonkey: Assertion failure: (ptrBits & 0x7) == 0, at ./dist/include/js/Value.h:733... r=djvj 2013-04-24 11:34:38 +01:00
Jon Coppeard
e29fd72022 Bug 860145 - IonMonkey: Add support for ArgumentsObject r=nbp 2013-04-24 11:34:38 +01:00
Jon Coppeard
6ba0acddc0 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 2 r=bholley 2013-04-24 10:45:41 +01:00
Jon Coppeard
a590630107 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 1 r=terrence 2013-04-15 18:33:27 +01:00
Jon Coppeard
203717c2c2 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley 2013-04-09 16:42:32 +01:00
Jon Coppeard
362746def2 Bug 864748 - Avoid accessing uninitialized data when calling a getter r=bholley 2013-04-24 10:45:40 +01:00
Jon Coppeard
204e28320f Bug 864738 - Shell crashes when run with GC zeal 10,1 from command line r=billm 2013-04-24 10:45:40 +01:00
Ed Morley
8f70d125c2 Bug 864694 - Remove the string "Assertion failure:" from jsreftest summaries to avoid TBPL false positives; r=terrence 2013-04-24 09:52:04 +01:00
Shu-yu Guo
41362100fc Bug 863505 - Disallow unbound name ops in self-hosted code. (r=till) 2013-04-23 21:41:08 -07:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Brian Hackett
b14719bb2d Bug 862103 - Split GuardShapeOrType into GuardShape and GuardObjectType, r=dvander. 2013-04-23 16:34:02 -06:00
Luke Wagner
c880e28ec5 Bug 864872 - OdinMonkey: protect all the code pages on Windows (r=sstangl)
--HG--
extra : rebase_source : 711eceb2de98b5da053d8ed341e4f5c59d634594
2013-04-23 14:03:45 -07:00
Brian Hackett
c82520f2a0 Bug 864216 - Allow generating IonScriptCounts for asm.js compiled functions, r=luke. 2013-04-23 13:31:03 -06:00