Commit Graph

42259 Commits

Author SHA1 Message Date
Jon Coppeard
f746967097 Bug 988486 - Convert static functions to methods on GCRuntime r=terrence 2014-05-09 11:33:01 +01:00
Shu-yu Guo
fcffeeb528 Bug 1007512 - Propagate construct flag correctly when failing to link asm.js module. (r=luke) 2014-05-08 21:52:34 -07:00
Shu-yu Guo
327120e195 Bug 1007164 - Throw on touching sentinel values in DebugScopeProxy by default but allow Debugger.Environment.prototype.getVariable access. (r=jimb) 2014-05-08 21:30:50 -07:00
Dan Gohman
bae00ca3b8 Bug 998580 - IonMonkey: Generalize RangeAnalysis truncation to handle other kinds of paths to integer types. r=nbp 2014-05-08 18:34:49 -07:00
Nicholas Nethercote
9020b76b27 Bug 1004790 (part 2) - Make FreeList contain a FreeSpan instead of being a subclass. r=billm. 2014-04-30 17:52:55 -07:00
Nicholas Nethercote
48deef3163 Bug 1004790 (part 1) - Split off a new class FreeList from FreeSpan. r=billm. 2014-04-30 17:52:53 -07:00
Wes Kocher
43d93ff145 Backed out 2 changesets (bug 969012) for gc bustage
Backed out changeset 01f27ad85b1b (bug 969012)
Backed out changeset f844291b895b (bug 969012)
2014-05-08 16:30:52 -07:00
Marty Rosenberg
bb4387ec7a Bug 969012 - Not only flag an oom, but also, don't continue running the current function; r=terrence 2014-05-08 14:18:00 -07:00
Ian Stakenvicius
4bd346ef96 Bug 1007788 - Disallow in-source builds for js/src, same as the main m-c tree. r=glandium 2014-05-08 13:22:46 -04:00
Terrence Cole
05fc33bba7 Bug 969012 - Allow inlining out-of-line slot creation in IonMonkey; r=jandem
--HG--
extra : rebase_source : ebc5047b660ece5eab1dcf62a64e4807b4a1afd3
2014-03-06 14:58:22 -08:00
Ian Stakenvicius
5ed44a2450 Bug 1007129 - Use MOZ_APP* to define target includedir path instead of LIBRARY_NAME. r=glandium 2014-05-07 07:55:00 -04:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Dan Gohman
019ea170c8 Bug 1004220 - IonMonkey: Add a dump() for MResumePoint r=nbp 2014-05-08 09:56:38 -07:00
Dan Gohman
9650756698 Bug 716647 follow-up - Add a #include to fix non-unified build bustage. r=bustage 2014-05-08 09:56:21 -07:00
Brian Hackett
6497bb803e Bug 984537 - Keep JIT code around for compartments with Ion frames on the stack when triggering GC, r=jandem. 2014-05-08 11:21:36 -07:00
Jan de Mooij
15efa5873c Bug 964915 part 5 - Add some comments to BaselineIC.cpp to warn about outerization. r=bz 2014-05-08 16:52:41 +02:00
Jan de Mooij
9dabe955bf Bug 964915 part 3 - Optimize window.foo in Ion by doing the get on the global instead. r=bz,efaust 2014-05-08 16:51:14 +02:00
Branislav Rankov
9e80fede6e Bug 994716 - IonMonkey MIPS: Add changes to MIPS code during upload process, part 3. r=nbp 2014-05-07 14:37:21 +02:00
Branislav Rankov
8c2c641e80 Bug 994716 - IonMonkey MIPS: Add changes to MIPS code during upload process, part 2. r=jandem 2014-04-24 17:39:20 +02:00
Heiher
885f9258ff Bug 994716 - Ionmonkey MIPS: Fix bug in MacroAssemblerMIPS::computeScaledAddress(). r=jandem 2014-04-24 16:41:35 +02:00
Branislav Rankov
4f625febae Bug 994716 - IonMonkey MIPS: Add changes to MIPS code during upload process. r=nbp 2014-04-24 12:00:10 +02:00
Branislav Rankov
9e125fb9f7 Bug 994716 - IonMonkey MIPS: Make TestOverflow functions compatible with shared code. r=nbp 2014-04-16 14:22:47 +02:00
Branislav Rankov
99a585bf8c Bug 994716 - IonMonkey MIPS: Style fixes, JS_ASSERT to MOZ_ASSERT. r=nbp 2014-04-11 12:01:39 +02:00
Branislav Rankov
38c8c8150b Bug 994716 - IonMonkey MIPS: Add missing code to MacroAssembler-mips. r=jandem 2014-04-10 17:49:00 +02:00
Branislav Rankov
d97829e614 Bug 972836 - IonMonkey MIPS: Odd float registers follow-up. r=jandem 2014-04-24 16:59:47 +02:00
Jan de Mooij
d72ba93356 Bug 964915 followup - Revert a small part of part 2 to fix Octane-raytrace regression. r=h4writer 2014-05-08 15:52:26 +02:00
Sankha Narayan Guria
0816b8349c Bug 957513 - DecimalIntegerLiteral cannot be 0 directly followed by 8 or 9. r=jorendorff, r=vp 2014-01-30 02:38:57 +05:30
Jan de Mooij
c6b3bf5b1f Bug 964915 part 2 - Refactor IonBuilder to pass obj as argument to getProp* methods. r=efaust 2014-05-08 15:00:45 +02:00
Jan de Mooij
e7ac1c18d7 Bug 964915 part 1 - Remove cx argument from innerObject hook. r=efaust 2014-05-08 15:00:36 +02:00
Henri Sivonen
34b67bca76 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Nicholas Nethercote
3c4ae81d15 Bug 1006300 - Encapsulate and add better documentation and checking for ArenaList. r=jonco.
--HG--
extra : rebase_source : b05df6c5e6ac2a501f2f07a9c57cbba75caadaf1
2014-05-07 23:07:33 -07:00
Boris Zbarsky
e05955b899 Bug 1006718. Add some sanity static asserts about DOM object slot counts. r=peterv,jorendorff 2014-05-07 22:28:57 -04:00
Eric Faust
f63f93a2a6 Bug 978240 - Update step number comments for ES6 Proxy.[[Delete]]. (r=jorendorff)
DONTBUILD because comment onlu
2014-05-07 17:41:38 -07:00
Robert O'Callahan
15be759d67 Bug 1001320. Part 5: Enable GCC visibility pragmas on Android. r=glandium
--HG--
extra : rebase_source : f9286815e8f07c9836fa64a423dd091e7c3d44d1
2014-04-24 14:51:42 +12:00
Jan de Mooij
78e9f554ca Bug 1006065 - Remove bogus assert in ArraySpliceDense and add a testcase. r=h4writer 2014-05-07 12:50:07 +02:00
Bobby Holley
749c042230 Bug 1006629 - Remove unused mFlattenedJSObject from XPCCallContext. r=gabor 2014-05-06 23:17:45 -07:00
Bobby Holley
d0fda7850b Bug 1006629 - Remove GetCalleeWrapper. r=gabor 2014-05-06 23:17:44 -07:00
Bobby Holley
e6bf081ec6 Bug 1001198 - Stop getting XPConnect as a service during Sandbox creation. r=gabor
This causes problems when we try to create a Sandbox during XPConnect
initialization. Luckily, we don't need it at all.
2014-05-06 23:17:44 -07:00
Bobby Holley
97779f0a27 Bug 1001198 - Explicitly create the SafeJSContext from XPConnect. r=gabor 2014-05-06 23:17:44 -07:00
Bobby Holley
44d3ac9bf4 Bug 1001198 - Remove useless (and footgun) XPCWrappedNativeScope::InitStatics. r=gabor
All this does is null out some stuff that's already in the BSS. And it causes
leaks if we create a global before it's called, which the upcoming patch does.
2014-05-06 23:17:44 -07:00
Bobby Holley
9f78de5d77 Bug 1001198 - Remove the call to InitClasses for the SafeJSContextGlobal. r=gabor
In contrast to InitClassesWithNewWrappedGlobal, InitClasses doesn't do much
these days. It pretty much only exists to support JSD globals that are created
without XPConnect's knowledge, and then are suddenly handed to XPConnect.

It really only has two observable effects. The first is ensuring the existence
of an XPCWrappedNativeScope, which we know we have here, because we went through
xpc::CreateGlobalObject. The second is to set up the XPCNativeWrapper
constructor (eww), which definitely doesn't matter here, especially now that
we're asserting that we never run script in this global.
2014-05-06 23:17:44 -07:00
Bobby Holley
4c5f7a4d5b Bug 1001198 - Stop firing onNewGlobalObject for the SafeJSContext global. r=gabor 2014-05-06 23:17:43 -07:00
Bobby Holley
2513cf740a Bug 1001198 - Explicitly fire up the SSM from nsXPConnect. r=gabor 2014-05-06 23:17:43 -07:00
Gary Kwong
8c41e83928 Backout 87feb441d562 for causing issues. 2014-05-06 22:57:59 -07:00
Robert O'Callahan
7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Shu-yu Guo
afd339e573 Bug 1006205 - Only process scripts during debug mode OSR that have been recompiled. (r=jandem) 2014-05-06 19:20:48 -07:00
Shu-yu Guo
778d8dbb16 Bug 1001382 - Don't monitor optimized out values. (r=jandem) 2014-05-06 19:20:48 -07:00
Shu-yu Guo
1ff0ebbb60 Bug 1005458 - Argument slot phis are always observable in non-strict scripts due to Function.arguments. (r=nbp) 2014-05-06 19:20:47 -07:00
Andrew McCreight
0b5a958dcb Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
b89c24ee20 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Bobby Holley
8ba3be8772 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Bobby Holley
9c988d6c40 Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:02 -07:00
Jim Chen
d6c189fd65 Bug 1002878 - Fix misalignment caused by TypeScript being empty. r=bhackett 2014-05-06 10:17:00 -04:00
Tooru Fujisawa
6e351c744f Bug 471713 - Part 2: Add documentation for control statements related opcodes. r=jorendorff 2014-04-30 10:06:00 -04:00
Shu-yu Guo
84b7860039 Bug 1000598 - Clear TypeCompartment tables. r=billm 2014-04-23 17:33:44 -07:00
Boris Zbarsky
bcd52071c8 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv,jorendorff 2014-05-05 16:01:57 -04:00
Boris Zbarsky
eddaa31dbe Bug 997285 part 1. Add JS_GetErrorPrototype to JSAPI. r=jorendorff 2014-05-05 16:01:57 -04:00
Kannan Vijayan
1955bc0dd6 Bug 994957 - Fix pseudostack update by Ion ICs in inlined scripts to use top-level script in the frame and the pc of the call it makes to the inlined script. r=jandem 2014-05-01 15:45:37 -04:00
Luke Wagner
48f8d792b5 Bug 1005955 - asmjscache: remove unused 'global' argument (r=janv) 2014-05-06 12:58:00 -05:00
Terrence Cole
981716ae1f Bug 989414 - Speed up the C++ side of write barriers fired from jitcode; r=jonco 2014-05-01 09:26:17 -07:00
Ehsan Akhgari
3a59a5ce49 Bug 1005706 - Remove the manual install rules from js/xpconnect/tests/components/js/Makefile.in; r=mshal 2014-05-05 21:28:10 -04:00
Terrence Cole
458143c115 Bug 989414 - Access the store buffer through the chunk trailer; r=jonco 2014-05-01 09:26:12 -07:00
Jeff Walden
12cf0ed9a1 Bug 1002864 - Ignore the change-data/same-data argument to neuter() and JS_NeuterArrayBuffer when the buffer being neutered doesn't support the given data disposition. r=sfink 2014-04-30 17:15:14 -07:00
Dan Gohman
ea790d1db4 Bug 998580 - IonMonkey: Generalize RangeAnalysis truncation to handle other kinds of paths to integer types. r=nbp 2014-05-05 15:02:02 -07:00
Dan Gohman
57e5a66c4f Backed out changeset 695049af7654 for having the wrong bug number. 2014-05-05 15:02:01 -07:00
Dan Gohman
4caac74d72 Bug 999580 - IonMonkey: Generalize RangeAnalysis truncation to handle other kinds of paths to integer types. r=nbp 2014-05-05 14:32:15 -07:00
Wes Kocher
3afa6d1ec8 Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Boris Zbarsky
89bcc02957 Bug 997285 part 1. Add JS_GetErrorPrototype to JSAPI. r=jorendorff 2014-05-05 16:01:57 -04:00
Brian Hackett
55db699953 Backout 483210d830f0 (bug 984537) for memory regressions. 2014-05-05 11:06:36 -07:00
Alexandre Poirot
d975eff099 Bug 961777 - Disable reuseGlobal on Mulet. r=bholley 2014-05-05 06:53:00 -04:00
Douglas Crosher
ff1c579c41 Bug 1000960 - IonMonkey (ARM): Correct the order of the operands in moveFloat32. r=mjrosenb 2014-05-02 01:18:57 +10:00
Bobby Holley
6362d89759 Bug 1005806 - HTMLInputElement.controllers should be [ChromeOnly]. r=bz 2014-05-05 10:49:24 -07:00
Boris Zbarsky
f2cd90aa43 Bug 1005590. MNot can also end up with a known-not-object type even while we think it might emulate undefined. Guard against that. r=jandem 2014-05-05 08:46:55 -04:00
Jan de Mooij
f5c42eb4b8 Bug 1004923 part 12 - Use GetSystemTimePreciseAsFileTime if available (Windows 8). r=njn 2014-05-05 13:12:11 +02:00
Jan de Mooij
e99d1dfc18 Bug 1004923 part 11 - Remove slow and bogus GetSystemTimeAdjustment call. r=njn 2014-05-05 13:12:09 +02:00
Jan de Mooij
e41bf426d8 Bug 1004923 part 10 - Remove redundant calibration lock. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
82e5efba7a Bug 1004923 part 9 - Remove more cruft from prmjtime.cpp. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
b47802f488 Bug 1004923 part 8 - Add PRMJ_NowInit, call QueryPerformanceFrequency only once. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
a12f43f05e Bug 1004923 part 7 - Kill unused calibration.last, returnedTime in PRMJ_Now. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
b5c8848ae7 Bug 1004923 part 6 - Simplify PRMJ_Now as QueryPerformanceFrequency never fails on WinXP and newer. r=njn 2014-05-05 10:33:28 +02:00
Ian Stakenvicius
69073f9d01 Bug 950822 - "js/src/vm/Runtime.cpp: remove obsolete code where JS_STACK_GROWTH_DIRECTION > 0" r=bholley 2014-05-03 12:04:00 +02:00
Nick Fitzgerald
14b8f9582b Bug 1004479 - Don't expose the SavedFrame constructor on the global. r=jimb 2014-05-02 10:47:00 +02:00
Hannes Verschore
1eddd2ecf5 Bug 965712: Part 1 - Use our string matching logic for regexps when possible, r=luke 2014-04-30 16:42:25 +02:00
Till Schneidereit
79d4aaeb4e Bug 1005472 - Make trace-logging work on OS X again. r=h4writer
--HG--
extra : rebase_source : 293de5fe9aed1df6da80a05953759b81e4c5d9c0
2014-05-03 16:09:34 +02:00
Till Schneidereit
43d20a30be Bug 1004503 - Backout of failed attempt to fix relazification-related crash. r=jandem
--HG--
extra : rebase_source : e3b1a9f60f34d0b366cbc4f3bb98212f714525ce
2014-05-03 16:09:33 +02:00
Jan de Mooij
ea83ebb772 Bug 1004923 part 5 - Reduce indentation level in PRMJ_Now. r=njn 2014-05-03 11:08:29 +02:00
Jan de Mooij
7d25b0ac84 Bug 1004923 part 4 - Add some early returns to PRMJ_Now. r=njn 2014-05-03 11:08:26 +02:00
Jan de Mooij
c94ad264de Bug 1004923 part 3 - Cleanup Windows PRMJ_Now. r=njn 2014-05-03 11:08:23 +02:00
Jan de Mooij
c0f6ebb0f1 Bug 1004923 part 2 - Cleanup NowCalibrate. r=njn 2014-05-03 11:08:19 +02:00
Jan de Mooij
5c2388c7d5 Bug 1004923 part 1 - Remove "long double", some C-isms from prmjtime. r=njn 2014-05-03 11:08:16 +02:00
Jan de Mooij
3dec5116ae Bug 1003803 - Purge Ion ExecutableAllocator on GC. r=bhackett 2014-05-03 11:08:07 +02:00
Boris Zbarsky
e326fd22da Bug 1004169. Make sure MTest always uses TI information for deciding whether its operand might emulate undefined. r=jandem 2014-05-03 01:08:14 -04:00
Boris Zbarsky
2be1743b63 Bug 1004198. Improve codegen in testValueTruthyKernel to emit as few tests as we can get away with given our type inference information. r=jandem 2014-05-03 01:08:13 -04:00
Steve Fink
d7a767a82d Bug 1001689 - Stop suppressing the xmanager log file, r=njn
When suppressing logs (aka displaying output messages), we still need the xmanager output to go into its log file, because its port number is read out of it (yes, it's ugly.) So pipe through tee instead of redirecting to the log.

--HG--
extra : rebase_source : a4142c1d287779cc05b04988071e21415ffca445
2014-03-27 09:00:58 -07:00
Terrence Cole
ce2cf4e347 Bug 1004457 - Remove unused mutable value operations from BarrieredBase; r=jonco 2014-05-02 16:33:18 -07:00
Shu-yu Guo
3ded46728d No bug - Kill opt-only warning. (r=efaust over IRC) DONTBUILD 2014-05-02 15:25:50 -07:00
Hannes Verschore
41b5cf1bdb Bug 1003825: IonMonkey: adjust funapply tests to trigger again, r=jandem 2014-05-03 00:11:59 +02:00
Hannes Verschore
f55f11acb3 Bug 1005030: IonMonkey: Don't abort the analysis passes during funapply, r=bhackett 2014-05-02 22:23:17 +02:00
Shu-yu Guo
16da6f74c7 Bug 1004527 - Don't eliminate MNewDerivedTypedObject from resume points and recover them on bailout. (r=nmatsakis) 2014-05-02 13:04:12 -07:00
Shu-yu Guo
c86adf4ea1 Bug 1001378 - Don't optimize out argument slots from resume points. (r=nbp) 2014-05-02 13:04:12 -07:00