Commit Graph

42279 Commits

Author SHA1 Message Date
Nicolas B. Pierron
d21400035e Bug 1005532 - IonMonkey: Recover MNewObject. r=sstangl 2014-05-11 16:27:12 -07:00
Brian Hackett
2d7c404513 Bug 1008032 - Make ScriptSource a single threaded data structure, clean it up some, r=luke. 2014-05-10 04:53:31 -07:00
Brian Hackett
dd38d42560 Bug 976446 - Use different names for helper functions in baseline and ion ICs to avoid unified build breakage, r=jandem. 2014-05-09 17:31:07 -07:00
Terrence Cole
0e41cc6cd9 Bug 984361 - Crash earlier in diagnostic build if we mark an obviously invalid pointer; r=sfink
--HG--
extra : rebase_source : df94ecebbeff71427ecd906906beaf7408f374e5
2014-05-09 14:20:04 -07:00
Wes Kocher
c112841a98 Backed out changeset 91579a455888 (bug 976446) for build bustage on a CLOSED TREE 2014-05-09 15:31:41 -07:00
Terrence Cole
8011bfe524 Backout 472087bf4626 (Bug 984361) for link errors on a CLOSED TREE.
--HG--
extra : rebase_source : fdd7dba227e4c7481b3394aed30052c7909acda4
2014-05-09 14:59:16 -07:00
Brian Hackett
5499c85404 Bug 976446 - Use different names for helper functions in baseline and ion ICs to avoid unified build breakage, r=jandem. 2014-05-09 14:51:03 -07:00
Terrence Cole
e61f896f90 Bug 969012 - Allow inlining out-of-line slot creation in IonMonkey; r=jandem
--HG--
extra : rebase_source : b814258852359121782588eb59e2142548223fd0
2014-03-06 14:58:22 -08:00
Marty Rosenberg
1c7edf91d3 Bug 969012 - Not only flag an oom, but also, don't continue running the current function; r=terrence
--HG--
extra : rebase_source : 995ce9bc3bf0516c7b3364ca7e393f19e4e016af
2014-05-08 14:18:00 -07:00
Terrence Cole
69227604e3 Bug 984361 - Crash earlier in DIAGNOSTICS mode if we mark a nullptr; r=sfink 2014-05-09 14:20:04 -07:00
Ryan VanderMeulen
be4a497993 Merge m-c to inbound. 2014-05-09 16:56:26 -04:00
Ryan VanderMeulen
98421f2ca0 Merge inbound to m-c. 2014-05-09 15:52:02 -04:00
Dan Gohman
ef98cf1ccc Bug 1007785 - IonMonkey: Make MDefinition::useCount() DEBUG-only. r=h4writer 2014-05-09 12:35:01 -07:00
Daniel Holbert
469fb3265c Bug 1008336: Move MarkIfGCThingWord() and IsAddressableGCThing() inside the #ifndef that guards their only callers. r=billm 2014-05-09 13:30:38 -07:00
Shu-yu Guo
6d1b73a8a1 Bug 1006473 - Refactor fake exit frame handling and fix fake exit frames pushed by bailout and OSR. (r=jandem) 2014-05-09 13:35:40 -07:00
Ed Morley
6b4473abbe Backed out changeset e5edc899d2b2 (bug 988486) for rooting analysis failures; CLOSED TREE 2014-05-09 17:35:31 +01:00
Ed Morley
b0941539c4 Backed out changeset e253218e5f89 (bug 988486) 2014-05-09 17:35:09 +01:00
Brian Grinstead
b19fbc94d1 Bug 1002280 - ID starting with numeric value crashes the devtools DOM inspector;r=jwalker,bholley 2014-05-09 09:58:26 -05:00
Jon Coppeard
be898ab288 Bug 988486 - Attempt to fix rooting analysis bustage on a CLOSED TREE 2014-05-09 15:11:03 +01:00
Hannes Verschore
679bd2c98f Bug 1006885 - IonMonkey: Disable fastpath of bound function for constructing calls with a known non-native, r=jandem 2014-05-09 13:23:59 +02:00
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