Граф коммитов

41308 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner dd3bfceeff Bug 977181 - Rename some ion* things to jit* (r=jandem)
--HG--
extra : rebase_source : b407530eb658563f32a5c569d1a0095fc2231d42
2014-02-26 17:38:46 -06:00
Luke Wagner 6fa2286415 Bug 977181 - Don't push/assume IonContext when executing JIT code (r=jandem)
--HG--
extra : rebase_source : ffdd773736657d11a67ef4e7f7110f61594d6d1f
2014-02-26 17:38:24 -06:00
Jim Blandy 6a4b428b35 Bug 969786: Implement Debugger.Source.prototype.introductionScript. r=sfink 2014-02-26 15:20:00 -08:00
Jim Blandy 374b46f9f3 Bug 969786: Record the introduction script in ScriptSourceObjects. r=sfink 2014-02-26 15:20:00 -08:00
Jim Blandy 456674b133 Bug 969786: Add an 'introduction script' compilation option to ReadOnlyCompileOptions, OwningCompileOptions, and CompileOptions. r=sfink 2014-02-26 15:20:00 -08:00
Jim Blandy 55fa8a8fa6 Bug 973130: Remove extraneous code from ActivationIterator::settle. r=hv1989
The 'if' condition in this function can never be true, because it's negated
in the immediately preceding 'while' condition.
2014-02-26 15:16:19 -08:00
Sean Stangl 7657829de5 Bug 933001 - Part 5/5 - Pref-off SharedArrayBuffer outside Nightly. r=sfink 2014-02-20 14:49:09 -08:00
Sean Stangl 6861540eca Bug 933001 - Part 4/5 - Add SharedArrayBuffer tests. 2014-02-20 14:48:42 -08:00
Sean Stangl 8e4c7b954b Bug 933001 - Part 3/5 - StructuredClone changes for SharedArrayBuffer. r=sfink 2014-02-20 14:47:58 -08:00
Sean Stangl d66e757436 Bug 933001 - Part 2/5 - Make SharedArrayBuffer usable as an AsmJS heap. r=luke 2014-02-20 14:47:03 -08:00
Sean Stangl ceed1869bc Bug 933001 - Part 1/5 - Define SharedArrayBufferObject. r=sfink 2014-02-20 14:43:03 -08:00
L. David Baron c91b8791d1 Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Branislav Rankov 268a933374 Bug 969375 - MIPS port: Added MacroAssembler-mips files. r=froydnj,nbp 2014-02-26 11:16:02 -08:00
Luke Wagner 491e5306c9 Bug 976602 - OdinMonkey: fix benign assert in protectCode, add more asserts (r=bbouvier)
--HG--
extra : rebase_source : d78d254fbc9c8d237a40520b426fbef5138595a9
2014-02-26 12:21:18 -06:00
Luke Wagner e3573fb7b1 Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Lars T Hansen d532d3e956 Bug 976504 -- Enabling inlining of TypedObject primitives 2014-02-26 11:57:51 -05:00
Carsten "Tomcat" Book 6c50fbdfed Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jason Orendorff a3355221f6 Bug 968936 - Emit a warning message with stack trace when the "operation callback" (slow script dialog) stops script execution. r=luke. 2014-02-26 08:55:35 -06:00
Jason Orendorff 84b29bf104 Bug 975484 - Reflect.parse location information is inaccurate for CallExpressions. r=luke. 2014-02-26 08:55:35 -06:00
Jason Orendorff 725edb2c81 Bug 973566, part 2 - Change some code to use a new, simpler js::HasOwnProperty signature. r=jimb. 2014-02-26 08:55:35 -06:00
Jason Orendorff 55256bef4f Bug 973566, part 1 - Fix "Assertion failure: offsetsv.isUndefined()" with elements on Object.prototype. r=jimb. 2014-02-26 08:55:35 -06:00
Jason Orendorff c4600431ae Bug 972319, part 2 - Transition some code using JS_SaveExceptionState to JS::AutoSaveExceptionState. r=bholley. 2014-02-26 08:55:34 -06:00
Jason Orendorff 53e5b80193 Bug 972319, part 1 - Add new API JS::AutoSaveExceptionState as a replacement for JS_SaveExceptionState. r=luke. 2014-02-26 08:55:34 -06:00
Carsten "Tomcat" Book 6f5e715f2f Backed out changeset 3a23bcbc4e60 (bug 953164) for JS Reftest Bustage on a CLOSED TREE 2014-02-26 14:00:34 +01:00
Carsten "Tomcat" Book 9a60f1ccd9 Backed out changeset 6f7f5787e46e (bug 953164) 2014-02-26 13:59:41 +01:00
Hannes Verschore 6c87276a20 Bug 953164 - Undo debug code that wasn't part of the review, r=me 2014-02-26 12:41:29 +01:00
Hannes Verschore 55b03a0ef9 Bug 953164 - IonMonkey: Improve type information at branches, r=jandem 2014-02-13 23:19:15 +01:00
Nicolas B. Pierron 9a9df330a9 Bug 973889 - Handle static with objects in XDR/Clone of inner functions. r=wingo 2014-02-26 02:58:36 -08:00
Jan de Mooij 07b2251cf7 Bug 901086 - Fix CodePosition comparison in LSRA findBestBlockedRegister. r=sunfish 2014-02-26 11:12:39 +01:00
Jan de Mooij 46b31338d1 Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Jan de Mooij 522a816f3b Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley 2014-02-26 10:19:45 +01:00
Terrence Cole 42bee7f6b4 Bug 919544 - Allow cached object allocation to GC; r=jandem 2014-02-01 12:04:03 -08:00
Luke Wagner dfb0b68df3 Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Nathan Froyd 84ae283792 Bug 976565 - remove IS_LITTLE_ENDIAN use from MacroAssembler-arm.cpp; r=mjrosenb 2014-02-24 21:33:10 -05:00
Terrence Cole d09ef4dcaf Bug 975947 - Fix generational GC's interaction with the barrier verifier; r=sfink 2014-02-24 15:08:05 -08:00
Andy Wingo 01365b86a7 Bug 976596 - Block-scoped variables indexing refactor r=luke 2014-02-25 18:46:15 +01:00
Andy Wingo 2391b3ce5e Bug 976047 - Simplify jsanalyze.cpp now that locals no longer alias the stack r=jandem 2014-02-25 18:46:13 +01:00
Nicholas D. Matsakis 49e90ffd6d Bug 973563 - Correct assertion for zero-sized structs r=till 2014-02-24 14:31:15 -05:00
Andy Wingo 2d671fab20 Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke,jandem 2014-02-12 18:46:24 +01:00
Bobby Holley 5ebbbb4ebd Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor 2014-02-25 08:38:33 -08:00
Luke Wagner 3c6b2a26d3 Bug 976054 - Fix XDR to store script->nslots_ with a uint32_t (r=wingo) 2014-02-25 09:47:46 -06:00
Masatoshi Kimura aede9b1b4f Bug 975803 - Workaround a MSVC10 compiler bug. r=luke 2014-02-25 21:50:40 +09:00
Nathan Froyd cde7ebbe15 Bug 970498 - remove unnecessary padding in JSClass and js::Class; r=Waldo 2014-02-24 15:20:38 -05:00
Nathan Froyd e7e68c5f36 Bug 970504 - make JS_CLASS_MEMBERS useful in more places; r=jorendorff 2014-02-24 15:08:57 -05:00
Mike Shal 9200dec47d Bug 974205 - Use --with-compiler-wrapper when enabling sccache. r=glandium 2014-02-25 15:41:57 +09:00
Ehsan Akhgari 0202c9a0e3 Backed out changeset 8d8165293e9b (bug 976372) because of Windows debug bustage on a CLOSED TREE 2014-02-24 23:01:54 -05:00
Ehsan Akhgari 32e2ca0af5 Bug 976372 - Remove support for compilers which lack support for dynamic_cast<void*>; r=dbaron
--HG--
extra : rebase_source : 83a23e3b8fa4462eb70a1844b555c7605162a497
2014-02-24 21:06:06 -05:00
Jim Blandy fd29d2c80f Bug 935203: Provide introductionType information for all sources of JS in SpiderMonkey. r=djvj 2014-02-24 15:31:47 -08:00
Jim Blandy f21ef61c65 Bug 935203: Consolidate initialization of ScriptSource from CompileOptions. r=djvj 2014-02-24 15:31:47 -08:00
Jim Blandy 8f3c46ff00 Bug 935203: Don't leak ScriptSources if we error out before a ScriptSourceObject can take ownership of them. r=djvj 2014-02-24 15:31:47 -08:00
Nicholas D. Matsakis ec9d0a481a Bug 972581 part 2 -- Add 1-dim mapPar r=shu 2014-02-13 16:38:21 -05:00
Nicholas D. Matsakis 4bca0b155e Bug 972581 part 1 -- Introduce getDerivedIf and getOpaqueIf r=till 2014-02-13 16:30:26 -05:00
Nicholas D. Matsakis 82ad8a4c2a Bug 975456 -- Preserve invariant that views on a neutered buffer have a NULL data pointer r=shu 2014-02-21 12:32:24 -05:00
Nicholas D. Matsakis 4aa21b8b61 Bug 972579 -- Add worker id 2014-02-13 15:36:06 -05:00
Nicholas D. Matsakis bd8e6a16ad Bug 970285 -- Detect negative lengths supplied to unsized array constructor r=shu 2014-02-12 18:49:46 -05:00
Luke Wagner a14cf7102b Bug 975182 - OdinMonkey: unprotect code while cloning (r=benj) 2014-02-24 12:20:04 -06:00
Jim Chen dca2479fd2 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Romain Perier 408b05701c Bug 975373 - IonMonkey: Use MutableHandleValue for out-parameter in vm calls, r=h4writer 2014-02-24 16:39:28 +01:00
Benjamin Bouvier 09c5bf31d9 Bug 959119: Take into account the use's index when determining whether a mir node can consume a float32; r=sstangl 2014-02-24 16:23:50 +01:00
Sankha Narayan Guria a0392d812e Bug 975412 - Fix length properties of Map and Set constructors. r=jorendorff 2014-02-21 21:17:22 +05:30
Dan Minor dbd09c5457 Bug 975403 - Support chunking in jit-test harness; r=terrence 2014-02-24 08:01:31 -05:00
Ehsan Akhgari 39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Jan de Mooij b9ae7204e8 Bug 975125 - Optimize Baseline IC post barriers to check the value is in the nursery. r=terrence 2014-02-22 14:15:44 +01:00
Bobby Holley f3fdbbc107 Bug 975277 - Followup bustage fix for the very recent removal of shortId. r=me CLOSED TREE 2014-02-21 16:22:48 -08:00
Bobby Holley 30907ef9cb Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Bobby Holley 97f387fd67 Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley 3fb149d9d7 Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor 2014-02-21 15:55:31 -08:00
Bobby Holley 94eedd0b5a Bug 975277 - Rewrite Proxy::set logic. r=efaust
The current logic ends up invoking BaseProxyHandler::set in various cases that
will cause it to invoke handler->getPropertyDescriptor, which is verboten for
mHasPrototype proxies.
2014-02-21 15:55:31 -08:00
Peter Van der Beken 6f7b80e5b5 Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley 2014-02-21 15:55:31 -08:00
Peter Van der Beken 08d239ffd1 Bug 975277 - Add some machinery to allow Traits to specify whether they want to use hasPrototype or not. r=bholley,efaust 2014-02-21 15:55:30 -08:00
Brian Hackett 3955bbd3b5 Bug 964057 - Share self hosted state between runtimes, r=till. 2014-02-21 16:54:25 -07:00
Terrence Cole dda1d29077 Bug 969410 - Do not expose non-tenured addresses in JS_GetObjectId; r=sfink
--HG--
extra : rebase_source : dfa32a19df80b9ae5f9d7d535b141e50007c0149
2014-02-20 13:38:57 -08:00
Brian Hackett 0f79abded3 Bug 975335 - Allow calling CurrentThreadCanAccess{Runtime,Zone} from any thread, r=luke. 2014-02-21 13:22:39 -07:00
Bobby Holley 56b7e9ff9a Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-21 11:35:49 -08:00
Bobby Holley 4b70a01ff8 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-21 11:35:48 -08:00
Bobby Holley 7535769229 Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-21 11:35:48 -08:00
Bobby Holley f0b23970a3 Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence 2014-02-21 11:35:48 -08:00
Brian Hackett 1f8657eed4 Bug 951346 - Don't improve type information for objects with metadata, r=jimb. 2014-02-21 12:26:42 -07:00
Ryan VanderMeulen 19f8efe4ed Backed out changeset 2b2f69d46d30 (bug 975182) for SM(arm) failures.
CLOSED TREE
2014-02-21 13:32:16 -05:00
Ryan VanderMeulen 48b6a8baea Backed out changeset 00d8b2e04b15 (bug 885788) for jit-test assertions.
CLOSED TREE
2014-02-21 12:35:48 -05:00
Luke Wagner faf7aa07a5 Bug 975182 - OdinMonkey: when triggering operation callback, leave PROT_READ|PROT_WRITE (r=benj) 2014-02-21 11:05:36 -06:00
Luke Wagner b1325de739 Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Luke Wagner 3186371e6e Bug 975162 - Remove block object's use of shortids (r=wingo)
--HG--
extra : rebase_source : 2babd344fba8aa17a51552dc756852096d2a5c67
2014-02-21 10:23:57 -06:00
Luke Wagner 3cf81ab8be Bug 975162 - Remove empty destructuring let-block variable goofiness (r=wingo)
--HG--
extra : rebase_source : 39e6b59d4bca2cd547f0e43b34212ff5f967a85d
2014-02-21 10:23:40 -06:00
Sankha Narayan Guria efeb09df29 Bug 885788 - Implement Object.setPrototypeOf. r=jorendorff 2014-01-25 20:13:07 +05:30
Benjamin Bouvier 59a0085085 Bug 930477: Follow-up - Don't allow the power type to be Float32 for MPow; r=h4writer
--HG--
extra : rebase_source : 361b5edcdf6e464168ff2bcd82aee00843410dd2
2014-02-21 11:37:27 +01:00
Luke Wagner 3ec0f2b8c2 Bug 969415 (part 3) - AutoSuppressGC for oomCallback, just like onError since callers assume js_ReportOutOfMemory doesn't GC (r=Hf bustage, CLOSED TREE) 2014-02-20 22:52:23 -06:00
Phil Ringnalda 01ad150169 Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote 926c15fd33 Bug 969415 (part 2) - Add a pref to enable memory report dumping on JS OOMs. r=luke.
--HG--
extra : rebase_source : 3971f809744869a2f2d77e435e95aca44bf7e9d7
2014-02-20 18:35:43 -08:00
Luke Wagner 047510675f Bug 969415 (part 1) - Add OOM callback hook to JS engine. r=njn.
--HG--
extra : rebase_source : f6a7f0b0aa10d6a938e1608f6cb7ccf76f3085c8
2014-02-20 18:35:42 -08:00
Bobby Holley a130f478c1 Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley 21ff903ba9 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley 6c69cdc40d Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-20 18:24:09 -08:00
Bobby Holley b71db74ff5 Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence 2014-02-20 18:24:09 -08:00
Jason Orendorff 96076a1bed Bug 970001 - Fix Valgrind-detected leaks involving sourcePolicy. r=till 2014-02-20 20:22:36 -05:00
Terrence Cole 14b6763f68 Bug 961875 - Add missing post barrier in IonBuilder::jsop_rest; r=shu
--HG--
extra : rebase_source : 0a68d323c075cb95500d404c47e670413143c847
2014-02-20 13:16:20 -08:00
Terrence Cole 2c757813b8 Bug 952818 - Add regression test for the referenced bug; r=sfink
--HG--
extra : rebase_source : b1add4ba4b88a8cc95c562ea0878b93158bd71f1
2014-02-20 13:16:18 -08:00
Terrence Cole c2c5a9e428 Bug 975069 - Remove SpiderMonkey's public tinyid interfaces; r=luke
--HG--
extra : rebase_source : f27ef72793efbed252e6fef2d66d7a055a02f6a0
2014-02-19 18:31:24 -08:00
Andrew McCreight 798ec9614e Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Nicholas D. Matsakis bddb4a0f97 Bug 898356 Part 10 -- Barrier updates to private data for typed object views r=terrence 2014-02-19 23:18:23 -05:00
Nicholas D. Matsakis 276c1cd4ed Bug 898356 Part 9 -- Move array buffers into their own file r=sfink 2014-02-19 14:10:43 -05:00
Nicholas D. Matsakis 557bc50fcd Bug 898356 Part 8 -- Rename from Datum to TypedObject (or typedObj) r=sfink 2014-02-12 11:46:51 -05:00
Nicholas D. Matsakis f652ca5c39 Bug 898356 Part 7 -- Rename TypedObject/TypedHandle to TransparentTypedObject/OpaqueTypedObject r=sfink 2014-02-12 11:39:34 -05:00
Nicholas D. Matsakis e6a9cbc55d Bug 898356 Part 6 -- Add test for interaction between neutering and the JIT r=jandem 2014-02-12 15:25:03 -05:00
Nicholas D. Matsakis fb9f025f3f Bug 898356 Part 5b -- Use args.len(), not argc r=sfink 2014-02-19 12:36:01 -05:00
Nicholas D. Matsakis 3a2dedabf5 Bug 898356 Part 5 -- Use ArrayBufferObjects as the "backing store" for a typed object r=sfink 2014-02-12 15:15:47 -05:00
Nicholas D. Matsakis c88a151f55 Bug 898356 Part 4 -- Check for neutered typed object unless the check is covered by a length check r=jandem 2014-02-10 14:48:51 -05:00
Nicholas D. Matsakis 97fb52429d Bug 898356 Part 3 -- Adjust constructor for typed objects to more closely match upcoming spec r=sfink 2014-02-12 14:20:48 -05:00
Nicholas D. Matsakis f3d94e2b94 Bug 898356 Part 2 -- Simplify HANDLE_BAD_ARGS to just BAD_ARGS r=sfink 2014-02-12 14:09:46 -05:00
Nicholas D. Matsakis eeaa691300 Bug 898356 Part 1 -- Separate out simple type descriptors from the rest so that they can be referenced by TypedArray.h without pulling in everything else r=sfink 2014-02-03 10:55:40 -05:00
Benjamin Bouvier 7f6d1ff795 Bug 930477: Inline MPow with Float32 inputs even if it's not specialized; r=jandem 2014-02-20 19:20:08 +01:00
Nicolas B. Pierron 1064b3b72d Bug 917996 - Decoded scripts can be relazified. r=till 2014-02-20 07:09:35 -08:00
Nicolas B. Pierron af335aca24 Bug 900789 - Instrument evaluate function to save/load the bytecode. r=luke 2014-02-20 07:09:34 -08:00
Nicolas B. Pierron 97c8321fa7 Bug 958172 - Only set the environment while cloning a JSFunction. r=jorendorff 2014-02-20 07:09:34 -08:00
Jan de Mooij 4e977eb457 Bug 973118 - Differential Testing: Different output message involving +x, r=bhackett 2014-02-19 21:15:25 -08:00
Chris Peterson 4ace8887c7 Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Chris Peterson d2c6598a97 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Terrence Cole 45b99b3711 Bug 974739 - Fix non-threadsafe build errors in the SpiderMonkey shell, r=bhackett 2014-02-19 18:54:43 -08:00
Bobby Holley 723c69a129 Bug 960828 - More diagnostics. r=mccr8 2014-02-19 18:23:48 -08:00
Andrew McCreight 6c86943613 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Steve Fink d120576c4b Bug 968616 - "Implement" AutoIgnoreRootingHazards, r=terrence 2014-02-18 14:45:21 -08:00
Andrew McCreight 7cd422c324 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Jan de Mooij e39ecaf9e2 Bug 974350 part 3 - Inline getOrCreateMatchResultTemplateObject fast path. r=h4writer
--HG--
extra : rebase_source : f74684759973915c6a955ad8eddc3caee66a3851
2014-02-19 17:37:30 +01:00
Jan de Mooij 96e9365432 Bug 974350 part 2 - Cleanup CreateRegExpMatchResult. r=h4writer
--HG--
extra : rebase_source : 69492994f03253cd88a5f2b30a13170129b6c1ef
2014-02-19 17:37:24 +01:00
Jan de Mooij f35b41773e Bug 974350 part 1 - Rewrite CreateRegExpMatchResult to not use an AutoValueVector. r=h4writer
--HG--
extra : rebase_source : ea7ea2218bd93f4b9e2c67e67bdbb4cf30fe3c1c
2014-02-19 17:37:17 +01:00
Dan Gohman 602a4633a1 Bug 946478 - IonMonkey: Go back to just using copies to satisfy regalloc constraints for div and mod on x86/x64. r=bhackett 2014-02-19 11:37:25 -05:00
Conrad Irwin 58ebc8457f Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Brian Hackett 2a9fd71c02 Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent. 2014-02-19 09:02:13 -07:00
Nicolas B. Pierron fe2d4b0959 Bug 946849 - XDR restore singleton type of functions. r=bhackett 2014-02-19 07:46:33 -08:00
Nicolas B. Pierron 3557e5f96f Bug 917996 - XDR Lazy Scripts. r=till 2014-02-19 07:46:33 -08:00
Benjamin Bouvier 75cee27b76 Bug 974373: Shows a warning when logging in Odin parallel compilation mode; r=h4writer 2014-02-19 16:02:13 +01:00
Nathan Froyd 7ccd3071f6 Bug 974045 - don't store JS_CRASH_DIAGNOSTICS variables when we don't need to; r=luke 2014-02-18 14:50:35 -05:00
Daniel Holbert c516662c22 back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson 8a8a0e2b81 Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Chris Peterson 58e6c13345 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Ehsan Akhgari 1d8f77d18b Bug 973143 - Move some variables to moz.build; r=glandium
--HG--
extra : rebase_source : b767d6cb044efa50844129df80864b9e802b51bd
2014-02-18 02:02:00 -05:00
Luke Wagner d481f13838 Bug 973725 - OdinMonkey: support linking a single asm.js module more than once (r=benj)
--HG--
extra : rebase_source : 1e6694ca402712257bf70acd3168935fca8868e2
2014-02-18 11:06:38 -06:00
Ehsan Akhgari ff64067a04 Backed out changeset 5ecd0339a087 (bug 973143) because of a possible Talos regression 2014-02-18 14:27:51 -05:00
Ryan VanderMeulen 7afe3b6a76 Bug 966881 - Fix style checker orange. 2014-02-18 09:27:44 -05:00
Jan Beich 390ec1e3a5 Bug 973296 - Pull JitCommon.h explicitly for CALL_GENERATED_CODE. r=jandem 2014-02-18 08:59:34 -05:00
Douglas Crosher 9ef71524c5 Bug 966881 - ARM Simulator: Add support for the ARM hardfp ABI. r=mjrosenb 2014-02-17 22:41:06 +11:00
Jan de Mooij 10401a9c64 Bug 973574 - Fix AutoDebugModeInvalidation to not call FinishDiscardJitCode if it didn't discard JIT code. r=shu 2014-02-18 10:13:48 +01:00
Ehsan Akhgari e613d30a2c Bug 973143 - Move some variables to moz.build; r=glandium 2014-02-18 02:02:00 -05:00
Ehsan Akhgari 9efa231949 Bug 973646 - Port some CXXFLAGS logic in js/src/Makefile.in to the DEFINES variable; r=glandium 2014-02-18 01:10:22 -05:00
Ehsan Akhgari 929a4cfcac Bug 973402 - Move the LOCAL_INCLUDES in js/src to moz.build; r=glandium 2014-02-18 01:09:30 -05:00
Terrence Cole 4412156bf4 Backout bea3f06585ec (Bug 969012) for arm simulator failures. 2014-02-17 19:22:34 -08:00
Terrence Cole ce912be374 Bug 969012 - Make jit allocations of CallObject with external slots use the nursery; r=jandem 2014-02-11 11:53:53 -08:00
Terrence Cole 399061b59f Bug 970071 - Make the jit-test TBPL harness output more useful; r=jorendorff
--HG--
extra : rebase_source : 563afd86815f4d8d02a955c6d16915c3062ba30b
2014-02-10 10:41:18 -08:00
Karl Tomlinson fdaf36b04a b=972983 use enum for BaseProxyHandler::Action values r=bholley
"inline" const static/class member initialization left missing symbols with gcc 4.7.3

--HG--
extra : rebase_source : 9e119ae9946e893b6113b838d49ab6384b472a99
2014-02-18 09:59:03 +13:00
Benjamin Bouvier ced68a1795 Bug 936740: Inline Math.ceil for double inputs where an integer is returned; r=jandem 2014-02-17 19:17:29 +01:00
Jan Beich 1a47463712 Bug 973306 - Don't build JIT tests that depend on Ion with --disable-ion. 2014-02-17 02:57:13 -08:00
Phil Ringnalda c2ca88748e Merge m-c to m-i 2014-02-15 10:15:56 -08:00
Phil Ringnalda 7d3085e511 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Christian Holler 989e1eec3f Bug 972951 - Make gcparam only accept positive integers. r=evilpie 2014-02-15 17:05:00 +01:00
Vaibhav Agarwal 2ae37b022e Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Bobby Holley 20c9918600 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley 85b344030a Bug 968460 - Use the incumbent global for nsGlobalWindow::GetCallerGlobal and remove JS_GetScriptedGlobal. r=bz 2014-02-14 22:39:33 -08:00
Bobby Holley 4de0b7d455 Bug 968335 - Tests. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley c8ca39b87d Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley 521db67db7 Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 22:36:43 -08:00
Mike Habicher 557d8c2d5c Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Jan de Mooij 9bb95be4cb Backout bug 785905, off-thread IonBuilder. r=jorendorff 2014-02-14 13:17:53 +01:00
Shu-yu Guo d640ccb3dc Bug 970427 - Push ForkJoinActivation after calling the bounds function. (r=nmatsakis) 2014-02-13 19:14:14 -08:00
Nicholas Nethercote dc264778f4 Bug 972657 - Move the "is this script too small to compress?" check to a better place. r=benjamin.
--HG--
extra : rebase_source : 5be3ed97b89f1a8cf5579e3e0d39bdb6cf985aeb
2014-02-13 19:04:05 -08:00
Bobby Holley 1c600e7056 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley 2b33b064b7 Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap 2014-02-13 18:57:35 -08:00
Bobby Holley e0f33e6e2e Bug 956382 - Add AccessCheck::subsumesConsideringDomain and clean up other implementations. r=mrbkap
We now assert that we have a principal when we enter the wrap callback, and we
now have a convenient overload defined in nsIPrincipal.idl.
2014-02-13 18:57:34 -08:00
Phil Ringnalda 4d898ac6fc Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
CLOSED TREE
2014-02-14 18:35:30 -08:00
Terrence Cole 855d61051d No Bug - Fix opt builds of generational GC when zeal is enabled; r=themaid 2014-02-14 17:10:28 -08:00
Bobby Holley 4ea924c950 Bug 968335 - Tests. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley 8f0f5028b0 Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley 4a944caaf5 Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 16:13:37 -08:00
Branislav Rankov 66e033dfde Bug 969375 - MIPS port: Added Assembler-mips files. r=froydnj,nbp 2014-02-14 12:49:59 -08:00
Nicolas B. Pierron c12bf4825c Backed out changeset c0f1774ac976 (Bug 969375) for wrong author.
This reverts commit 30bf38956a3125c9bea1a9e94ad36ccee6416429.
2014-02-14 12:49:58 -08:00
Nicolas B. Pierron e9dbacb941 Bug 969375 - MIPS port: Added Assembler-mips files. r=froydnj,nbp 2014-02-14 12:24:19 -08:00
Branislav Rankov 72be0ed040 Bug 969375 - MIPS port: Added Architecture-mips files. r=nbp 2014-02-14 12:16:33 -08:00
Neil Rashbrook a44ebfa138 Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley 2014-02-14 19:44:55 +00:00
Eric Faust 54f47748b6 Bug 952321 - Don't add proxy stubs in unbarriered GetPropertyICs. (r=jandem) 2014-02-14 11:41:44 -08:00
Luke Wagner a3e3ddb291 Bug 936236 - Wait on background sweeping to complete after large-allocation-failure callback (r=jonco)
--HG--
extra : rebase_source : a93e691cbd76995abfa4ceed709c495fdb97d62c
2014-02-14 12:25:04 -06:00
Shu-yu Guo fc03ed3787 Bug 961297 - Increase buffer between PJS worker thread stack size and limit marker. (r=nmatsakis) 2014-02-14 10:22:10 -08:00
Michael Shuen c0179b2588 Bug 934817 - Part 2: Remove 0-length check in XPCStringConvert::ReadableToJSVal and XPCConvert::NativeData2JS. r=bz 2014-02-14 11:15:42 -05:00
Michael Shuen a094223027 Bug 934817 - Part 1: JS_New*StringCopyN should do 0-length optimization. r=luke 2014-02-14 11:15:42 -05:00
Luke Wagner 6f81973871 Bug 936236 - Send memory-pressure notification if ArrayBuffer allocation OOMs and retry allocation (r=mccr8) 2014-02-12 22:50:15 -06:00
Luke Wagner 1ca943dafb Bug 936236 - Inline getTransferableContents into caller and handlify (r=jonco) 2014-02-13 11:17:44 -06:00
Luke Wagner cfbbd9c3a1 Bug 936236 - Inline copyData into caller and handlify (r=jonco) 2014-02-13 11:17:44 -06:00
Luke Wagner 5ac29476e6 Bug 936236 - Inline allocateSlots into caller and handlify (r=jonco) 2014-02-13 11:17:43 -06:00
Luke Wagner 39507d1a49 Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink) 2014-02-13 11:17:41 -06:00
Luke Wagner 0041e1ed35 Bug 971845 - Remove dead JSContext methods (r=sfink) 2014-02-13 08:04:46 -06:00
Steve Fink f7858b6310 No bug. Comment clarification on how to free JS_AllocateArrayBufferContents results. r=woof!, DONTBUILD
--HG--
extra : rebase_source : 60f1176a1a8db91513b7792f2b95bc5768c5296b
2014-02-13 13:33:07 -08:00
Bobby Holley 0d05bf1dc9 Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz 2014-02-13 15:40:50 -08:00
Mike Hommey 15bf118a2d Bug 967556 - Divert AC_CHECK_FUNC so that the #includes it uses can't interfere with the function it tests. r=gps 2014-02-14 08:15:02 +09:00
Benjamin Peterson 0965325469 No bug - Make ScriptSource constructor explicit. rs=jorendorff 2014-02-13 17:08:14 -05:00
Benjamin Peterson e3a13e809a Bug 967936 - Reorder condition to avoid (benign) race with compression thread. r=jorendorff 2014-02-13 17:06:21 -05:00
Kannan Vijayan b061dbf20b Bug 952891 - Check in omitted tests and implementation code from last push on a CLOSED TREE. r=jimb r=jorendorff 2014-02-13 14:57:36 -05:00
Bobby Holley 014cca3d05 Bug 965901 - Followup bustage fix. r=me CLOSED TREE 2014-02-13 11:55:11 -08:00
Bobby Holley 7cbea2a19d Bug 960828 - Diagnostics. r=mccr8 2014-02-13 11:54:59 -08:00
Kannan Vijayan 21e7995fb4 Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD 2014-02-13 14:29:00 -05:00
Kannan Vijayan 158468a425 Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD 2014-02-13 14:24:37 -05:00
Kannan Vijayan d07b085e92 Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff 2014-02-13 14:20:27 -05:00
Eric Faust 1c4e2ff46d Bug 971319 - Stop passing redundant barriering information through to GetPropertyIC. (r=jandem) 2014-02-13 11:04:49 -08:00
Bobby Holley 74dced0ef3 Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8 2014-02-13 10:54:08 -08:00
Bobby Holley 26295823eb Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap 2014-02-13 10:54:08 -08:00
Bobby Holley cab18b5855 Bug 965901 - Track and assert the policy action in AutoEnterPolicy/assertEnteredPolicy. r=gabor sr=mrbkap 2014-02-13 10:54:07 -08:00
Nathan Froyd 3f0773dc5a Bug 972394 - mark PerThreadData::AutoEnterRuntime as MOZ_STACK_CLASS; r=luke 2014-02-13 10:39:57 -05:00
Nathan Froyd 5d49c0d2f0 Bug 972381 - mark AutoThreadSafeAccess as MOZ_STACK_CLASS; r=terrence 2014-02-13 09:40:21 -05:00
Jon Coppeard 735137fc57 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard 2deddb432f Bug 939499 - Pause barrier verification before changing mark stack size r=billm 2014-02-13 15:33:04 +00:00
Michael Shuen 64359911a9 Bug 968390 - Mark Math.pow as safe for parallel execution. r=luke 2014-02-13 10:12:06 -05:00
Dan Gohman 131eee2a5a Bug 960143 - IonMonkey: Check range analysis on phi nodes. r=nbp 2014-02-13 09:53:53 -05:00
Nicolas B. Pierron 2e1ed1cb73 Bug 970643 - Only toggle execution permissions on JIT code. r=luke 2014-02-13 03:07:52 -08:00
Jan de Mooij d3e6cdca99 Bug 931861 - Fix xpcshell to install breakpad signal handlers before AsmJS/Ion signal handlers. r=ted 2014-02-13 10:22:58 +01:00
Phil Ringnalda a81224168b Back out d54433699f2e (bug 936236) for adding 5 rooting hazards
CLOSED TREE
2014-02-12 23:26:28 -08:00
Shu-yu Guo 65082a4626 Bug 971385 - Followup: fix test. (r=test-only) 2014-02-12 21:31:06 -08:00
Luke Wagner bca966a5cc Bug 936236 - Notify memory-pressure observers when allocating a large ArrayBuffer fails (r=mccr8)
--HG--
extra : rebase_source : 49eadf76ae73e5e4f1c24149839bdc7200e00494
2014-02-12 22:50:15 -06:00
Mike Hommey ebc8e1c8c4 Bug 971426 - Define IMPL_MFBT when building standalone js. r=gps 2014-02-13 13:29:31 +09:00
Shu-yu Guo 12c4717666 Bug 971385 - Skip ForkJoin activations in ScriptFrameIter. (r=luke) 2014-02-12 20:31:35 -08:00
Neil Rashbrook 536b10f3dd Bug 966911 Part 3: Passing undefined to an AString param should (like ACString) convert to null, not the empty string r=bholley 2014-02-13 00:26:28 +00:00
Neil Rashbrook 34723bb6f4 Bug 966911 Part 2: An AString out param should use a short lived string instead of wastefully creating an nsAutoString on the heap r=bholley 2014-02-13 00:08:57 +00:00
Andrew McCreight bd8f89a934 Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley 2014-02-12 15:19:32 -08:00
Andrew McCreight 410ae818bb Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley 2014-02-12 15:19:32 -08:00
Jeff Walden 03fcb98c2b Bug 961494 - Adjust an assertion to properly handle objects with built-in properties stored in reserved slots, where the last property of such an object may use a reserved slot that's not the last reserved slot. r=jorendorff, f=bhackett 2014-02-12 13:21:16 -08:00
Wes Kocher 5e1196f169 Backed out changeset c80de8d196af (bug 962599) for crashtest failures 2014-02-12 13:25:15 -08:00
Neil Rashbrook dace60c6bb Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley 2014-02-12 21:22:07 +00:00
Andy Wingo 81bc09ceb0 Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke r=jandem 2014-02-12 18:46:24 +01:00
Ryan VanderMeulen 9858132d7b Backed out changeset d59a1cce18e5 (bug 962599) for crashtest crashes. 2014-02-12 13:49:49 -05:00
Jan de Mooij 98dcdb39cd Bug 832437 - Ensure SPS frame has a valid pc when calling into the VM. r=djvj 2014-02-12 19:27:27 +01:00
Andy Wingo d8cdfd409c Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke r=jandem 2014-02-12 18:46:24 +01:00
Jan Beich c3f8071bdf Bug 968819 - Make HOST_OS_ARCH on BSDs take same values as OS_ARCH. r=glandium 2014-02-12 10:24:21 -05:00
Marty Rosenberg 191d922ded Bug 957504: Fix mis-refactoring, and add some asserts to let debug users know that float32 can be broken (r=sunfish) 2014-02-12 08:41:59 -05:00
Marty Rosenberg d7897d8fcf Bug 965728: Disable analysis that causes compilation when the jits are disabled. (r=jandem) 2014-02-12 08:41:55 -05:00
Hannes Verschore 33ee443acf Backout revision 58a6e689c472 for setting Talos on fire, r=red 2014-02-12 13:53:36 +01:00
Nicholas D. Matsakis af83dc1a25 Bug 969578 -- Remove public facing Handle API r=till 2014-02-10 10:03:49 -05:00
Jon Coppeard d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Hannes Verschore 23ba2818bb Bug 953164 - IonMonkey: Improve type information at branches, r=jandem 2014-02-12 10:57:34 +01:00
Steve Fink 3f1ab61261 Bug 961314 - tooltool manifests for hazard analysis (gcc and sixgill). DONTBUILD
--HG--
extra : rebase_source : 2e9e6540e263d05b73d0cd3075c7dc170a390fdd
2014-02-06 21:57:15 -08:00
Eric Faust fb9422306c Bug 968097 - Fix blatantly mistaken error-handling path. (f=Jesse, r=jwalden) 2014-02-11 15:24:37 -08:00
Steve Fink 7afa40e27e Bug 970253 - cx param to JS_AllocateArrayBufferContents is optional, r=terrence
--HG--
extra : rebase_source : 23adbdf985c85d3879f49578840f3e038aba4527
2014-02-10 14:23:46 -08:00
Steve Fink 706dd325e3 Bug 971208 - Eliminate vanilla new in SegmentedVector.h, r=mjrosenb
--HG--
extra : rebase_source : 00761e68f7821f38a46e2442870bf3d214d370f9
2014-02-11 15:02:48 -08:00
Steve Fink 2009a0a864 Bug 963735 - Switch from DFS -> BFS for finding GC paths, r=terrence
--HG--
extra : rebase_source : 9834e2d4815a7a1f60fd5b86843c0789674175d7
2014-02-03 23:11:52 -08:00
Andrew McCreight 5313ee591a Bug 967023, part 2 - Get rid of XPCWrappedJSClass::GetNewOrUsed out param. r=bholley 2014-02-11 14:56:46 -08:00
Andrew McCreight 283ef4893d Bug 967023, part 1 - Rename clazz to clasp in XPCWrappedNative::GetNewOrUsed. r=bholley 2014-02-11 14:56:45 -08:00
Dan Gohman 1bc988d6ee Bug 960145 - IonMonkey: Don't ignore OSR-like values when computing phi ranges. r=mrosenberg 2014-02-11 17:37:05 -05:00
Masatoshi Kimura 18d6c0f5ff Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Terrence Cole e9ac2e3539 Bug 969012 - Do not leak MNewSlots when allocating CallObject in the nursery; r=jonco
--HG--
extra : rebase_source : cffd1f415c8326b4a54a70eafd03fad1f8e3b228
2014-02-11 11:53:52 -08:00
Shu-yu Guo 234c6a1c8a Bug 967718 - Observe script and frame observance rules in Debugger more systematically. (r=jimb) 2014-02-11 12:05:19 -08:00
Nicholas D. Matsakis 8f90f4e630 Bug 968866 -- Freeze user-visible offset/type vectors r=till 2014-02-06 11:32:58 -05:00
Nicholas D. Matsakis 1be87bc295 Bug 966575 part 12 -- Remove unused slots on typerepr object r=sfink 2014-01-30 23:18:17 -05:00
Nicholas D. Matsakis 1b0a89085a Bug 966575 part 11 -- Remove remaining uses of typeRepr APIs in favor of direct descr access r=sfink 2014-01-30 23:18:04 -05:00
Nicholas D. Matsakis 6e9e6c2eae Bug 966575 part 10 -- Remove uses of raw TypeRepr from SIMD r=sfink 2014-01-30 23:17:20 -05:00
Nicholas D. Matsakis 7f95705fcb Bug 966575 part 9 -- Remove unused type object r=sfink 2014-01-30 15:21:02 -05:00