Commit Graph

26033 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Jon Coppeard
d59fbdeff9 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 1 r=terrence 2013-04-15 18:33:27 +01:00
Jon Coppeard
a10b75f310 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley 2013-04-09 16:42:32 +01:00
Jon Coppeard
acbf815198 Bug 864748 - Avoid accessing uninitialized data when calling a getter r=bholley 2013-04-24 10:45:40 +01:00
Jon Coppeard
dde018a4e7 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
4bd274d30f 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
745d0fc380 Bug 863505 - Disallow unbound name ops in self-hosted code. (r=till) 2013-04-23 21:41:08 -07:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Brian Hackett
986ed711e2 Bug 862103 - Split GuardShapeOrType into GuardShape and GuardObjectType, r=dvander. 2013-04-23 16:34:02 -06:00
Luke Wagner
b3ca7bafc4 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
b5321f5c82 Bug 864216 - Allow generating IonScriptCounts for asm.js compiled functions, r=luke. 2013-04-23 13:31:03 -06:00
Douglas Crosher
64659d64f2 Bug 863725 - Fix an IonSpew format string typo in Baseline IC. r=jandem 2013-04-20 00:23:54 +10:00
Douglas Crosher
823802ad6d Bug 814179 - Optimize BC ARM JSOP_URSH for a double type result. r=jandem 2013-04-19 22:40:28 +10:00
Chris Peterson
e66d4332b2 Bug 863804 - Fix -Wunused-but-set-variable warnings in NunboxAssembler.h. r=dvander 2013-04-18 19:30:22 -07:00
Chris Peterson
7b5717d764 Bug 863804 - Fix -Wsign-compare warning in MacroAssemblerARM::transferMultipleByRunsImpl(). r=dvander 2013-04-18 19:12:06 -07:00