Commit Graph

26047 Commits

Author SHA1 Message Date
Jan de Mooij
42c9f9c686 Bug 863018 part 1 - Fix regalloc issue with useFixed/tempFixed and safepoints. r=bhackett 2013-04-26 14:05:08 +02:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
e0a4cd5848 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ms2ger
e12555a543 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Jan de Mooij
0524c01499 Bug 865406 - Disable IonMonkey LICM if a script bails out frequently. r=h4writer 2013-04-26 12:10:28 +02:00
Ms2ger
957b1b9641 Bug 862446 - Use CallArgs in XPC_WN_Helper_{Call,Construct}; r=bholley 2013-04-26 08:48:40 +02:00
Ms2ger
fe234fbc7f Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Steve Fink
07e8f7c49b 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
Jon Coppeard
20a89ef139 Bug 864848 - Mark Rooted<> as stack only r=terrence 2013-04-25 11:55:30 +01:00
Jan de Mooij
81a45d6b0d Bug 849526 - Workaround Clang issue with the conservative stack scanner. r=dvander
--HG--
extra : rebase_source : 4b4baa63b7413a022a41f28ea62e280f7905f1c5
2013-04-26 09:42:35 +02:00
Boris Zbarsky
2399aa7dd7 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
fc6549149f Bug 865397 - Nicen up "id got defined" assertion. r=bholley 2013-04-25 08:42:44 -07:00
Nicholas Nethercote
9146bccc1a Bug 857382 (part 2) - Prefix zone addresses in about:memory with "0x" for consistenty with other addresses. r=billm.
--HG--
extra : rebase_source : a8c669c0bf27fa0b1d90c9b7862ca43dfe4a80bd
2013-04-21 13:55:05 -07:00
Bill McCloskey
4da563b989 Bug 856670 - Bring JS C stack limit closer to actual OS limits (r=bsmedberg) 2013-04-25 21:02:22 -07:00
Bill McCloskey
f71c8746ba Bug 864462 - Fix OOM in write barrier verifier (r=terrence) 2013-04-25 21:02:15 -07:00
Nicholas Nethercote
a28003635b 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
1ae37e619b Bug 812265 - Temporarily comment out standalone JS executable renaming. r=luke 2013-04-25 18:28:48 -07:00
Brian Hackett
fbfbcd2a45 Bug 864216 - Only create IonScriptCounts for asm.js code if rt->profilingScripts, r=luke. 2013-04-25 18:18:29 -06:00
Norbert Lindenberg
2739bde633 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
f4fee95fc1 Bug 618485 - Prefer word types that exist. no_r=red 2013-04-25 17:05:20 -07:00
Brian Hackett
7e48e47630 Bug 865153 - Remove resume point uses in dead blocks when restarting loop processing, r=h4writer. 2013-04-25 09:08:36 -06:00
Tim Lunn
4b50b73bdc Bug 842889 - Include MOZILLA_VERSION in JS_GetImplementationVersion(). r=waldo 2013-04-25 16:40:33 -07:00
Landry Breuil
b9de24c5a0 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
b2627b0608 Bug 809430 - Add symbol versions. r=glandium 2013-04-25 15:35:40 -07:00
Tim Lunn
3294ba3c91 Bug 812265, Part 4/4 - Fix MOZ_JS_LIBS. r=glandium 2013-04-23 17:21:50 -07:00
Tim Lunn
b057c4a2cf 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
6d0071c7f3 Bug 812265, Part 2/4 - Setup versioning and pkg-config support. r=glandium 2013-04-23 16:55:13 -07:00
Ian Stakenvicius
b33c5dffaf Bug 812265, Part 1/4 - Remove JS_VERSION. r=dmandelin 2013-04-23 15:45:04 -07:00
Boris Zbarsky
7a5392b28d 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
e84ca2109d Bug 851627 - Make LifoAlloc::release run in O(1) (r=sstangl) 2013-04-25 12:28:29 -07:00
Jeff Walden
63b625865e 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
0d0c29df01 Bug 865626 - Disallow generating extra barrier instructions when compiling Array.push, r=dvander. 2013-04-25 15:22:04 -06:00
Brian Hackett
9868c5da25 Bug 865635 - Use MMonitorTypes instead of MTypeBarrier for type write barriers, r=dvander. 2013-04-25 14:44:44 -06:00
Brian Hackett
726813c2d9 Bug 864957 - Consolidate locks used to avoid operation callback related races, r=djvj,luke. 2013-04-25 13:55:33 -06:00
Jeff Walden
17308bdfa8 Minor style fixes to ObjectImpl.h. No bug, r=sparky 2013-04-18 16:21:48 -07:00
Jeff Walden
590bf18f6e 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
fe6d51ca2e 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
c256883c4a Bug 865192 - Remove unnecessary toPhi() coercion, r=dvander. 2013-04-24 20:07:00 -06:00
Shu-yu Guo
6a37a4b2fe Bug 861904. (r=sstangl) 2013-04-24 18:41:03 -07:00
Shu-yu Guo
28b9432d97 Bug 858582 - Prevent callsite cloning of callsite clones. (r=bhackett) 2013-04-24 18:41:01 -07:00
Luke Wagner
63d72e3683 Bug 857700 - Fix race condition in AsmJSMachExceptionHandler (r=vlad)
--HG--
extra : rebase_source : bba872fdedfc119468ad586eca97b00881a5dee9
2013-04-18 21:45:33 -07:00
Bobby Holley
6fd248fb89 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
23d19cebe3 Bug 856246 - support specifying thread count in jit-test metalines. r=terrence 2013-04-24 15:46:37 +01:00
Till Schneidereit
580f4427f5 Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Jon Coppeard
4764cd3074 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
f76a1128df Bug 863234 - Fix inlineDump handling for MParDump. r=nmatsakis 2013-04-18 15:38:13 +02:00
Jan de Mooij
9e27a9cb33 Bug 858551 part 2 - Optimize calls from Ion to Baseline code. r=djvj 2013-04-24 12:43:24 +02:00
Jon Coppeard
2274cdb6cb 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
2b09eed93b Bug 860145 - IonMonkey: Add support for ArgumentsObject r=nbp 2013-04-24 11:34:38 +01:00
Jon Coppeard
8710c00b07 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 2 r=bholley 2013-04-24 10:45:41 +01:00