Commit Graph

41093 Commits

Author SHA1 Message Date
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
Nicholas D. Matsakis
b2dd0fcdeb Bug 966575 part 8 -- Move kinds out of Representation into Descr r=sfink 2014-01-30 13:31:58 -05:00
Nicholas D. Matsakis
40c5c91ca3 Bug 966575 part 7.5 -- Assert descrs are pretenured in jit r=sfink 2014-02-06 11:14:11 -05:00
Nicholas D. Matsakis
224f9b69f0 Bug 966575 part 7 -- Replace use of TypeRepr in IonBuilder with TypeDescr r=sfink 2014-01-30 08:59:38 -05:00
Nicholas D. Matsakis
406db95210 Bug 966575 part 6.5 -- Pretenure internal vectors with types / offsets r=sfink 2014-02-06 11:32:33 -05:00
Nicholas D. Matsakis
c71ebdb102 Bug 966575 part06 -- Move field info into reserved slots, remove non-standard fieldName r=sfink 2014-01-29 14:04:05 -05:00
Nicholas D. Matsakis
4716472758 Bug 966575 part 5 -- Add length to sized array descriptors r=sfink 2014-01-30 09:02:55 -05:00
Nicholas D. Matsakis
f4e85180d0 Bug 966575 part 4.5 -- Pretenure type descriptors and things they can reach r=sfink 2014-02-06 11:14:02 -05:00
Nicholas D. Matsakis
ab2445678c Bug 966575 part 04 -- Make TI Type Object Addendum refer to actual descriptor and not TypeRepresentation* 2014-01-28 18:24:23 -05:00
Nicholas D. Matsakis
cfd3452ef4 Bug 966575 part 03 -- Extend Type Descr to include all data from type repr r=sfink 2014-01-27 19:49:36 -05:00
Nicholas D. Matsakis
c19a4cea03 Bug 966575 part 02 - Migrate away from accessing TypeRepresentation directly r=sfink 2014-01-27 18:54:07 -05:00
Dan Gohman
0cdf32eefa Bug 969705 - IonMonkey: Fix truncation of operands for converted comparisons. r=nbp 2014-02-11 13:31:58 -05:00
Benjamin Bouvier
1360c091f9 Bug 966295: Implement variadic Math.min and Math.max in Odin; r=luke 2014-02-11 14:19:59 +01:00
Jon Coppeard
bdd3c4648a Bug 960028 - Use UndefinedHandleValue rather than rooting UndefinedValue() r=sfink 2014-02-11 10:59:16 +00:00
Jon Coppeard
c3759c40ff Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Jon Coppeard
457e5b82c5 Bug 965830 - Add HandleValueArray class to receive rooted arrays of Values r=terrence 2014-02-11 10:59:16 +00:00
Jon Coppeard
f9b9e81392 Bug 965830 - Remove AutoArrayRooter from the public API r=terrence r=smaug 2014-02-11 10:59:15 +00:00
Jon Coppeard
4d149bca47 Bug 965830 - Make AutoValueArray into a fixed-size inline array that roots its contents r=terrence 2014-02-11 10:59:15 +00:00
Hannes Verschore
4bc7ae0025 Bug 957542 - Don't over-allocate dynamic slots of ArrayObject, r=bhackett,terrence 2014-02-10 12:33:27 +01:00
Jan de Mooij
0477dcbeb0 Bug 969336 - ARM simulator: don't flush icache when icache checking is disabled. r=dougc 2014-02-11 11:08:42 +01:00
Mike Hommey
19cc3735e7 Bug 969801 - Fix make install for js standalone builds after bug 950298. r=gps 2014-02-11 10:44:15 +09:00
Mike Hommey
9dfe3dbc7b Bug 969164 - Replace most BUILDING_JS uses with JS_STANDALONE. r=gps
Before making top-level traverse js/src moz.build files, there was a need to
distinguish between top-level traversing e.g. top-level moz.build or
config/moz.build and js/src traversing them. With a single traversal of both
moz.build sets, we now only need to distinguish between js standalone builds
and gecko builds.

There is still, however, a need to distinguish between top-level vs. js/src
configure runs on gecko builds to make them subconfigure icu and libffi from
top-level instead of js/src in js standalone builds, or when choosing to make
js/src's config.status do something when run or not.
2014-02-11 10:37:47 +09:00
Mike Hommey
69e70086e0 Bug 969164 - Traverse js/src moz.builds from top-level configure. r=gps
Before, we would run configure in both top-level and js/src, and both
configures would traverse their own set of moz.builds, without actual
knowledge about the other. With this change, both configures still run,
but only top-level traverses moz.build files, and uses js/src's
config.status when traversing its moz.build files. This allows a better
sharing of information between both build systems and the removal of many
hacks.

This also moves running libffi and icu configure to top-level.

Standalone js builds still have their own configure doing moz.build traversal,
as before.

--HG--
rename : config/autoconf.mk.in => config/autoconf-js.mk.in
rename : config/emptyvars.mk.in => config/emptyvars-js.mk.in
2014-02-11 10:37:47 +09:00
Mike Hommey
ad87fd4cea Bug 969164 - Move icu subconfigure invocation in build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
636aa1fc65 Bug 969164 - Move libffi subconfigure invocation in build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
722c8ac7a6 Bug 968652 - Remove EXTERNAL_SOURCE_DIR for mfbt. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
246b498c52 Bug 968561 - Move ffi detection from configure.in and js/src/configure.in into build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
017e2da0a9 Bug 968537 - Build js-config from configure instead of Makefile. r=ted 2014-02-11 10:37:47 +09:00
Mike Hommey
740c20d702 Bug 946687 - Move ICU detection from configure.in and js/src/configure.in into build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
80e79be833 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Mike Hommey
33bd338597 Bug 748138 - Always export CC, CXX and a few other variables to libffi's configure. r=ted
Also, always pass --build and --host.
2014-02-11 10:37:46 +09:00
Douglas Crosher
bbc8258cf0 Bug 969819 - ARM simulator: Filter the .text section line from the disassembler output. r=jandem 2014-02-09 01:17:07 +11:00
Jeff Walden
b266068297 Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in js/src/. r=shu
--HG--
extra : rebase_source : 9013940d66fe2a7b5e9a49bf9ee80888ddbc523f
2014-02-06 22:05:20 -08:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Masatoshi Kimura
679ef4d260 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Bobby Holley
98779f9a32 Bug 965921 - Handle addons that expose JS-implemented XPCOM components to content. r=mrbkap 2014-02-10 10:27:24 -08:00
Bobby Holley
f209e98c03 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Jon Coppeard
eea6ca3467 Bug 969798 - Convert JS_ConvertArguments APIs to take CallArgs rather than raw Value pointer r=terrence 2014-02-10 16:42:27 +00:00
Ryan VanderMeulen
546ade580e Backed out changeset 6ada8ee0e208 (bug 969375) for check_spidermonkey_style.py failures. 2014-02-10 11:09:18 -05:00
Branislav Rankov
d9e5daab34 Bug 969375 - MIPS port: Added Architecture-mips files. r=nbp 2014-02-10 11:13:06 +01:00
Nicolas B. Pierron
2aadd38210 Bug 962555 part 4 - Merge Headers and rename Slot to RValueAllocation. r=h4writer
--HG--
rename : js/src/jit/Slot.h => js/src/jit/Snapshots.h
rename : js/src/jsapi-tests/testJitSlot.cpp => js/src/jsapi-tests/testJitRValueAlloc.cpp
2014-02-10 06:21:46 -08:00
Nicolas B. Pierron
226cc7f3b7 Bug 962555 part 3 - Remove hasLocation & fromLocation from the SnapshotIterator. r=h4writer 2014-02-10 06:21:46 -08:00
Nicolas B. Pierron
65edb82582 Bug 962555 part 2 - Add multiple UNTYPED modes to prevent duplicating conditions. r=h4writer 2014-02-10 06:21:45 -08:00
Nicolas B. Pierron
019612019c Bug 962555 part 1 - Extract SnapshotReader::Slot. r=h4writer 2014-02-10 06:21:43 -08:00
Ryan VanderMeulen
8faecae69b Backed out changeset 0e7aa3047ec7 (bug 957542) for ggc crashes. 2014-02-10 09:09:42 -05:00
Ehsan Akhgari
096d1fad98 Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Ryan VanderMeulen
31e11e9386 Backed out changeset 2df850200c16 (bug 957542) for jit-test failures. 2014-02-10 08:59:35 -05:00
Douglas Crosher
14f7a18f09 Bug 965229 - ARM simulator: Scratch volatile registers across system ABI calls. r=nbp 2014-02-08 17:21:53 +11:00
Hannes Verschore
0c0dd9cba0 Bug 957542 - Set minimum slots of ArrayObject to 2 to fix GGC, r=jandem 2014-02-10 14:22:36 +01:00
Hannes Verschore
c35477464e Bug 957542 - Don't over-allocate dynamic slots of ArrayObject, r=bhackett 2014-02-10 12:33:27 +01:00
Jacek Caban
2b66317d80 Bug 956507 - mingw fixup. 2014-02-10 12:06:30 +01:00
Nicholas D. Matsakis
4e1a16a16c Bug 969159 -- Adjust assertion to account for zero-sized objects r=shu 2014-02-07 13:48:35 -05:00
Phil Ringnalda
b3e7169e0e Back out 8a36e37f46ed (bug 969159) for Valgrind bustage 2014-02-09 14:11:40 -08:00
Nicholas D. Matsakis
d1df66e05b Bug 969159 -- Adjust assertion to account for zero-sized objects r=shu 2014-02-07 13:48:35 -05:00
Jim Blandy
02e4ce0af0 Bug 969764: Properly carry the source's element attribute name through off-thread compilations. r=bhackett 2014-02-09 11:00:03 -08:00
Douglas Crosher
dc2a4545b4 Bug 965767 - Ionmonkey ARM: Correct the load-immediate-float32 instruction encoding. r=mjrosenb 2014-02-08 15:32:05 +11:00
Jon Coppeard
1b0eea1b45 Bug 967589 - Add OOM test for runtime creation and fix failures r=billm 2014-02-08 09:40:11 +00:00
Phil Ringnalda
df7c3c109f Back out ed6e04e6fc0c (bug 968642) for breaking Windows plugin tests
CLOSED TREE
2014-02-07 21:26:02 -08:00
Jim Blandy
501d9327f4 No bug: Remove "unsigned comparison" warning in ScriptSource::setIntroducedFilename. rs=waldo 2014-02-07 21:10:51 -08:00
Ehsan Akhgari
3d39780674 Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-07 23:22:31 -05:00
Shu-yu Guo
8ab0b01fd6 Bug 969709 - Fix race in ThreadPool::abortJob; fixes intermittent oranges on a CLOSED TREE. (r=nmatsakis) 2014-02-07 17:39:00 -08:00
Shu-yu Guo
78f55f7d0b Bug 967926 - Followup: unbust non-unified builds on a CLOSED TREE. (r=me) 2014-02-07 14:50:18 -08:00
Shu-yu Guo
9f16ffdddb Bug 941805 - Followup: unbreak non-threadsafe builds. (r=bhackett) 2014-02-07 14:40:32 -08:00
Shu-yu Guo
efb3e6b1ff Bug 949296 - Ignore DontStopIon interrupt triggers during ForkJoin. (r=nmatsakis) 2014-02-07 14:40:31 -08:00
Shu-yu Guo
6728ff0e19 Bug 958370 - Unify chunks and slices; self-host the scheduler's slice processing loop. (r=nmatsakis) 2014-02-07 14:40:29 -08:00
Shu-yu Guo
b339b1c3f9 Bug 967926 - Make hasUncompiledCallTarget_ Atomic to be extra careful. (r=jandem) 2014-02-07 14:10:02 -08:00
Shu-yu Guo
ebdea55efd Bug 967930 - Move AutoFlushCache instances in parallel ICs under lock. (r=efaust) 2014-02-07 14:10:01 -08:00
Terrence Cole
1716ba8f56 Bug 885954 - Add comments to barrier classes explaining our use of C++ move semantics; r=jimb 2014-02-07 10:03:21 -08:00
Emanuel Hoogeveen
c103d60ee0 Bug 969038 - Use the custom stack size for JS helper threads on Windows as well. r=bhackett 2014-02-07 16:17:06 -05:00
Jim Blandy
0cbb20a62c Bug 968575: Add unit tests for Debugger.Source.prototype.introductionType. r=djvj 2014-02-07 12:40:54 -08:00
Jim Blandy
0f605b207d Bug 968580: Use the term 'introductionType', as appearing in the Debugger API, throughout the code base. r=djvj 2014-02-07 12:36:03 -08:00
Terrence Cole
e02e6aeb19 Bug 968616 - Hide the explicitly unsafe things we do for testing from the hazard analysis; r=sfink 2014-02-07 10:03:13 -08:00
Felix S. Klock II
b2909d49d2 Bug 944975: regression test (r=shu).
Note that this test may only be interest on builds that have been
configured with --enable-more-determinstic; otherwise the toSource
method is not necessarily invoked when the |new| fails.
2014-02-07 17:56:45 +01:00
Felix S. Klock II
ff17d0edab Bug 944975: cleanup rename JSScript originalFunction to donorFunction (r=shu).
The motivation here is to distinguish the two kinds of methods: one
that assumes the receiver is a clone versus another that assumes
nothing about the receiver. I.e., something along the lines of:

  clone.originalFunction() == clone.donorFunction()
  nonclone.donorFunction() == null
  nonclone.originalFunction() == nonclone
2014-02-07 17:56:42 +01:00
Felix S. Klock II
2e24dda145 Bug 944975: fix bug by getting original fcn for callsite clone in New (r=shu). 2014-02-07 17:56:38 +01:00
Luke Wagner
d10272c495 Bug 969133 - OdinMonkey: fix leak in validation error message (r=bbouvier) 2014-02-07 10:25:16 -06:00
Jon Coppeard
1438060ab1 Bug 961091 - Don't compact full store buffers so often after GC has been triggered r=terrence 2014-02-07 11:21:44 +00:00
Jon Coppeard
fe4db66203 Bug 961091 - Add fewer store buffer entries when describing the stack r=terrence 2014-02-07 11:21:12 +00:00
Jon Coppeard
5ee446722f Bug 961091 - Perform GC if necessary on exit from engine and on interpreter allocation r=terrence 2014-02-07 11:20:38 +00:00
Douglas Crosher
b8837d8b4c Bug 965245 - ARM simulator: Add support for the VFPv3 instructions: vmov.f32 imm, and vcvt with fbits. r=nbp 2014-02-04 19:58:43 +11:00
Douglas Crosher
03bcde7e06 Bug 965240 - ARM simulator: Check that callee saved floating-point registers are preserved. r=nbp 2014-02-07 08:26:31 +11:00
Douglas Crosher
d1b25f0455 Bug 965236 - ARM simulator: Add support for the udiv instruction. r=nbp 2014-02-04 19:51:40 +11:00
Sean Stangl
5ff19cbe41 Bug 968524 - Add atomic_inc32(), atomic_dec32(), and atomic_cmpxchg32() to x86/x64. r=bbouvier 2014-02-06 14:57:26 -08:00
Dan Minor
bfebabe9e6 Bug 967467 - Jit-test basic\bug698584.js timesout on Windows XP test machines for debug builds; r=terrence 2014-02-06 12:37:12 -05:00
Douglas Crosher
b86074de5d Bug 966878 - ARM Simulator: Increase the bit length of the instruction counter to 64 bits. r=jandem 2014-02-06 09:49:43 +11:00
Nicholas Nethercote
25f58c3fd6 Bug 964238 (part 3) - Make js_NewString() return static strings when appropriate. r=terrence.
--HG--
extra : rebase_source : 47ce8ef1396b03ea6bdf3a1a0eed8e3bd6b5634c
2014-01-30 14:59:04 -08:00
Douglas Crosher
cde3aaa2d6 Bug 965242 - ARM simulator: Fix the decoding of the VCVT instructions fraction bits. r=nbp 2014-01-29 10:47:37 +11:00
Bobby Holley
42a2bddf68 Bug 966845 - Make ensureConstructor and initConstructor static. r=Waldo 2014-02-05 13:50:21 -08:00
Brian Hackett
34a0dacb10 Bug 941805 - Make the pool of JS workers be per process rather than per runtime, r=billm. 2014-02-05 11:40:35 -07:00
Bill McCloskey
55fab4d8d9 Bug 962604 - Add ActorDestroy handling to CPOWs (r=mrbkap) 2014-02-05 08:39:59 -08:00
Andy Wingo
22a7750ad4 Bug 967649 - Enable baseline compilation for with statements r=jandem 2014-02-05 15:22:13 +01:00
Andy Wingo
c0cbdba5a7 Bug 966912 - Allocate StaticWithObject into oldspace r=jandem 2014-02-05 15:14:41 +01:00
Jon Coppeard
dead793df6 Bug 967430 - Add --repeat option to jit-tests runner r=terrence 2014-02-05 14:10:52 +00:00
Jon Coppeard
0aec5ecde9 Bug 965745 - Always patch loop backedges in Ion if interrupt flag is set r=jandem 2014-02-05 14:09:41 +00:00
Andy Wingo
ba7766a4a4 Bug 966912 - Part 4: Entering a with statement doesn't push onto the stack r=luke
--HG--
extra : rebase_source : fe40b9c21298fc9f86b9542b70fb9cc34cf1e44d
2014-02-04 18:18:24 +01:00
Andy Wingo
e323e8ab4f Bug 966912 - Part 3: UnwindScope uses static scope chain, not stack depth r=luke
--HG--
extra : rebase_source : 52e408fe655aa201eff41d2010b6f8f3d4398c0d
2014-02-04 18:18:24 +01:00
Andy Wingo
8d6cafa768 Bug 966912 - Part 2: Add StaticWithObject to the static scope chain r=luke
--HG--
extra : rebase_source : c0ccbca2166c953dcac37e32aba9b30175399d25
2014-02-04 18:18:19 +01:00
Jan de Mooij
f42f6308a3 Bug 967474 - Fix TypeScript initialization to not race with compilation threads. r=bhackett
--HG--
extra : rebase_source : 28b5cc109a2656a3ea1c21dc398da08db90926c8
2014-02-05 12:03:35 +01:00
Jan de Mooij
3e1420d7c9 Bug 967457 - Fix a benign TSan data race in BytecodeTypes. r=bhackett
--HG--
extra : rebase_source : 5a5a4b1641611ee92aa3e948b3cb0805b9ca70fb
2014-02-05 11:34:15 +01:00
Jan de Mooij
0466a9d7d6 No bug - Fix ARM simulator opt builds. NPOTB so DONTBUILD. 2014-02-05 11:01:34 +01:00
Benjamin Bouvier
491fbb4542 Bug 878488: Implement asm.js Math constants; r=luke 2014-02-04 16:11:54 +01:00
Andrew McCreight
3cf44e3588 Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage 2014-02-04 20:09:26 -08:00
Andrew McCreight
ac7cc7ff07 Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:59 -08:00
Andrew McCreight
b29822fe19 Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight
2340504f6a Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight
6ba15d9164 Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight
eb84153daa Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight
266e5716aa Bug 965920, part 3 - Smart pointerize newVariant. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight
291bf1fcf7 Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight
9bf248e147 Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley 2014-02-04 19:29:57 -08:00
Phil Ringnalda
381d88b901 Backed out 9 changesets (bug 965920, bug 966765, bug 966766)
CLOSED TREE

Backed out changeset 6c2bba06ed58 (bug 965920)
Backed out changeset e01c94498760 (bug 966766)
Backed out changeset e2585386f84e (bug 966766)
Backed out changeset d1db5d2a417f (bug 966766)
Backed out changeset f114c97660c6 (bug 966766)
Backed out changeset 2dd7d47a1e8c (bug 966765)
Backed out changeset 0f26c4b3eab7 (bug 965920)
Backed out changeset ca0b05e7155f (bug 965920)
Backed out changeset 55dcd2a5362e (bug 965920)
2014-02-04 21:01:19 -08:00
Andrew McCreight
22e6b16ac5 Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage 2014-02-04 20:09:26 -08:00
Nicholas D. Matsakis
2dc923d586 Bug 966575 (Part 1) -- Refactor so that Type Descriptors and Typed Datums make
use of the is<> and as<> methods, making typed object code much more typesafe.
r=sfink
2014-01-27 18:33:06 -05:00
Andrew McCreight
75840f794d Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:59 -08:00
Andrew McCreight
10ea52f843 Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight
4778ec4092 Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor 2014-02-04 19:29:58 -08:00