Commit Graph

31368 Commits

Author SHA1 Message Date
Bobby Holley
81e8330e64 Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley
97ed9c1935 Bug 951948 - Stop using nsISecurityCheckedComponent for nsJSID. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley
19dcb15c73 Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Steve Fink
6c233b3599 Bug 946947 - Convert getLineNumberOffsets param to a number instead of insisting on a number. r=jimb 2013-12-06 17:00:49 -08:00
Steve Fink
e6f5e24081 Bug 951743 - Make JS_FRIEND_API always export symbols with default visibility, r=glandium 2014-01-14 13:20:24 -08:00
Michael Shuen
6d6057b630 Bug 940253 - minorgc() returns itself. r=luke 2014-01-14 10:23:37 -05:00
Jon Coppeard
1a00d3db97 Bug 950927 - Don't forward Ion elements pointers until end of minor collection r=terrence 2014-01-14 14:51:08 +00:00
Nicolas Pierron
0c49cb4a75 Bug 957475 - Disable compilation with setarg & arguments. r=djvj 2014-01-14 04:42:11 -08:00
Jan de Mooij
496ed98f03 Bug 958882 - Add script size limit for TI new-script analysis. r=djvj 2014-01-14 10:26:46 +01:00
Ryan VanderMeulen
36a1449613 Merge m-c to inbound. 2014-01-13 17:52:40 -05:00
Ryan VanderMeulen
4d0972315d Merge inbound to m-c. 2014-01-13 17:44:24 -05:00
Mike Hommey
925edbca14 Bug 950298 - Make the js build system use top-level as its root objdir. r=gps 2014-01-14 07:38:40 +09:00
Mike Hommey
8e811db321 Bug 956597 - Package mozwebidlcodegen and gyp in the js source archive. r=gps 2014-01-14 07:32:12 +09:00
Jan de Mooij
7ab2f49782 Bug 958432 - Remove two bogus asserts on a CLOSED TREE. r=djvj a=RyanVM 2014-01-13 20:45:01 +01:00
Christian Holler
2b8c3752c8 Bug 959208 - Handle OOM in CloneObject. r=jandem
--HG--
extra : rebase_source : 3832f184a7a0f81efcead90460dfcb95efb90f41
2014-01-13 17:03:01 +01:00
Christian Holler
1668e25520 Bug 958598 - Reorder some code in SIMDObject::initClass to handle OOM. r=nmatsakis
--HG--
extra : rebase_source : d1c043ee7c2fcf5fa0a5fd032a0bc65c0a54a123
2014-01-13 16:39:21 +01:00
Shu-yu Guo
fe1d4c04ca Bug 958797 - Give functions gotten from the Function constructor scripted function types. (r=jandem) 2014-01-13 09:50:53 -08:00
Shu-yu Guo
d671d9fdc2 Bug 919638 - Followup: fix non-threadsafe builds. (r=me) 2014-01-13 09:50:53 -08:00
Steve Singer
44f779e63b Bug 958803 - Add the new args to ExecuteSequentially in the non-ion path. r=shu 2014-01-12 23:52:41 +01:00
Robert Strong
b266d892b6 Bug 921148 - Remove XRE_UPDATE_ROOT_DIR dir provider along with MOZ_APP_NAME, MOZ_APP_PROFILE, MOZ_APP_VENDOR, and MOZ_APP_BASENAME from xpcshell. r=bbondy 2014-01-12 13:47:44 -08:00
Nathan Froyd
865a3925a0 Bug 958262 - reduce space required by JSPropertySpec; r=till,bz,Waldo 2014-01-10 12:11:31 -05:00
Nicholas D. Matsakis
b050660309 Bug 953270 - Canonicalize NaN on lane access r=till 2014-01-08 05:00:05 -05:00
Christian Holler
edce1a11d3 Bug 959167 - Handle OOM in js::CloneRegExpObject. r=jandem
--HG--
extra : rebase_source : 22b04af4ecfc73b591c1460f4ac7f4d8343002f3
2014-01-13 15:41:43 +01:00
Niko Matsakis
962d3dda24 Bug 955815 - Correct test headers for SIMD tests 2014-01-08 01:44:00 -08:00
Till Schneidereit
c508e44ae8 Bug 958804 - Properly handle lazy functions in GenerateScopeChainGuard. r=jandem
--HG--
extra : rebase_source : daa5fedc69972d2c1bd7a8d36f294d0e2de679b4
2014-01-11 17:54:32 +01:00
Phil Ringnalda
b12597a3a1 Back out 30d5d70de548:1d61285b1da5 (bug 958672) for Linux32 jit-test failures
--HG--
extra : rebase_source : 57253988fe8ec431e03a28f4203d122ceb5c4da9
2014-01-10 18:44:50 -08:00
Shu-yu Guo
448fd0a7b4 Bug 919638 - Followup: unbreak compiling without NSPR. (r=pnkfelix) 2014-01-10 17:12:17 -08:00
Wes Kocher
d4fb1ca15a Backed out changeset ab1d9c6b581a (bug 919638) for build bustage 2014-01-10 17:33:08 -08:00
Shu-yu Guo
bb8ac58b5d Bug 919638 - Followup: unbreak compiling without NSPR. (r=pnkfelix) 2014-01-10 17:12:17 -08:00
Sean Stangl
1959090123 Bug 958672 - Part 2/2 - Don't load unobservable MCall return values. r=h4writer 2014-01-09 15:51:47 -08:00
Sean Stangl
72e20d6f5e Bug 958672 - Part 1/2 - Remove argslot from MCall LIR. r=h4writer 2014-01-09 15:32:51 -08:00
Felix S. Klock II
07ed04aee6 Bug 939715: TypedObject PJS API tests (r=nmatsakis). 2013-12-13 09:59:00 +01:00
Felix S. Klock II
cea0863a0d Bug 939715: TypedObject PJS API implementation (r=nmatsakis). 2013-12-11 05:57:00 +01:00
Jon Coppeard
c6c0428255 Bug 945275 - Update comment DONTBUILD 2014-01-10 15:49:11 +00:00
Jon Coppeard
fbd7beb3d9 Bug 945275 - Mark ThisV in rectifier frames r=jandem 2014-01-10 15:34:25 +00:00
Jon Coppeard
d018724a59 Bug 957110 - Don't assert nursery start address when then nursery is disabled r=terrence 2014-01-10 15:34:25 +00:00
Till Schneidereit
fbccef954e Bug 953013 - throw exceptions for uncorrectly-interpreted regular expressions instead of treating them as non-matching. r=jandem
--HG--
extra : rebase_source : c7814721b2a1d2a5aeb7cb43a1926e3d9f5b94a4
2014-01-10 15:24:32 +01:00
Till Schneidereit
6bd0db8893 Bug 896105 - Implement ES6 ArrayBuffer.isView. r=nmatsakis
--HG--
extra : rebase_source : 5ec4753296af4e52155ab576d16b71c03ce9e80a
2013-12-22 02:49:51 +01:00
Till Schneidereit
9b9c919e78 Bug 952898 - String.prototype.startsWith and .endsWith should throw when called with a regexp as first argument. r=jwalden
--HG--
extra : rebase_source : 4336a68e7a99f2e67fd2c4a13c2471d41997a8ff
2014-01-10 15:19:05 +01:00
Till Schneidereit
446f5472f9 Bug 886193 - Part 3: Relazify non-JITted JSFunctions on GC. r=jandem
--HG--
extra : rebase_source : 6e2ee0613ae04c9bcaeb987ddf76fa733df5ce02
2013-12-19 14:07:24 +01:00
Till Schneidereit
ce6f052ad0 Bug 886193 - Part 2: Introduce JSScript::nonDelazifyingFunction and use it whereever possible. r=jandem
--HG--
extra : rebase_source : cd6926e6e1fead242263e50763ce89348b5e9cd5
2014-01-09 17:13:25 +01:00
Till Schneidereit
4f04996e56 Bug 886193 - Part 1: Remove usages of fun->nonLazyScript. r=jandem
--HG--
extra : rebase_source : 1b21c291669c181e057a65c9e0d73840a0af41d2
2014-01-02 20:53:59 +01:00
Shu-yu Guo
b81da004ad Bug 958349 - Decompile {get,call}intrinsic opcodes in ExpressionDecompiler. (r=till) 2014-01-10 02:25:34 -08:00
Shu-yu Guo
db50f09e1c Bug 951542 - PJS: Fix race between interrupt check and main thread finishing. (r=nmatsakis) 2014-01-10 02:25:34 -08:00
Shu-yu Guo
d1e62d2d8a Bug 919638 - Part 2: Change warmup semantics to be sequential in slices, low to high. (r=nmatsakis) 2014-01-10 02:25:34 -08:00
Shu-yu Guo
858f7992dd Bug 919638 - Part 1: Implement a work stealing thread pool for PJS. Original patch by Daniele Bonetta. (r=shu,nmatsakis) 2013-10-11 12:32:28 -07:00
Dan Minor
c94e429899 Bug 949536 - Remove cpp unittests from 'make check'; r=gps 2014-01-09 21:59:28 -08:00
Ryan VanderMeulen
f427c884c8 Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Steve Fink
5d733d1bda Bug 956434 - Avoid unnecessary zeroing of memory, r=terrence 2014-01-08 18:27:51 -08:00
Terrence Cole
d7904b91ad Bug 957891 - Treat PersistentRooted as Rooted for the hazard analysis; r=sfink
--HG--
extra : rebase_source : 6744bb6509f2c3016f751d1f246c84ecd09603ab
2014-01-09 09:59:51 -08:00
Tom Schuster
af21b5b94c Bug 939294 - Handlify all the rest. r=terrence 2014-01-09 18:39:37 +01:00
Tom Schuster
2e0669fb59 Bug 939294 - Handlify XPConnect. r=gabor 2014-01-09 18:39:36 +01:00
Tom Schuster
bf23659c60 Bug 939294 - Change xpidl header generation code to use JS handles. r=bsmedberg 2014-01-09 18:39:36 +01:00
Jan de Mooij
563e9b1f37 Bug 957628 - Don't call TypeScript::Monitor from monitored Ion ICs. r=efaust 2014-01-09 17:11:59 +01:00
Gabor Krizsanits
2d18c11e26 Bug 952192 - getObjectPrincipal should be script callable. r=bholley 2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
fc7c23e4aa Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE 2014-01-09 12:53:22 +01:00
Jan de Mooij
189c762bb9 Bug 955850 - Fix regalloc safepoint issue. r=djvj 2014-01-09 12:10:14 +01:00
Jan de Mooij
bf07737958 Bug 956156 - Fix FinishDefinitePropertiesAnalysis to not assert if a script is compiled more than once. r=shu
--HG--
extra : rebase_source : de9dde08065e866c0ce1007798c83eb1646d51e6
2014-01-09 11:15:26 +01:00
Jan de Mooij
b4a6c97b08 Bug 951632 - Fix shell metadata hook to skip functions from other compartments. r=luke
--HG--
extra : rebase_source : c1b5d5fdde8748890cc6179d7d0676c809c4939b
2014-01-09 11:07:59 +01:00
Gabor Krizsanits
db12b3ec81 Bug 952192 - getObjectPrincipal should be script callable. r=bholley 2014-01-09 11:31:33 +01:00
Luke Wagner
49fe60b61b Bug 938385 - Disable script compression for super-large scripts (r=billm)
--HG--
extra : rebase_source : b50b64415bc272a8002bd9cc9fdf5d121f621435
2014-01-08 23:30:35 -06:00
Nicholas D. Matsakis
7bf874515f Bug 953108 - Initialized TypedObject module when initializing SIMD module r=till 2014-01-08 04:36:17 -05:00
Terrence Cole
ab60cf8bb2 Bug 952646 - Fix a potential exact rooting hazard in rollbackProperties; r=sfink
--HG--
extra : rebase_source : 78d68eeb1f1a8baa2879f389182d1fe2c053f6c4
2013-12-20 14:08:04 -08:00
Nicholas D. Matsakis
1bd974bb06 Bug 953111 - Check length before initializing typedobject instance r=sfink 2014-01-02 17:54:44 -05:00
Douglas Crosher
bd2420036d Bug 951988 - IonMonkey: Use canBeNegativeDividend() in the ARM backend. r=mjrosenb 2013-12-22 08:48:02 +11:00
Neil Rashbrook
34dcf4918b Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Steven Michaud
9247e51139 Bug 956931 - ICU linker error doing 32-bit and universal builds. r=mshal 2014-01-08 13:48:45 -06:00
Bert Belder
dd0dd70b1f Bug 956899 - Use mozilla::ThreadLocal instead of NSPR for ForkJoinSlice's thread-local variable, and use it in all cases, not just threadsafe, for simplicity. Also do some slight style-fix renaming. r=jwalden
--HG--
extra : rebase_source : 577b0ffc6c8136d722b7d39fd566a07c6ead2f18
2014-01-08 12:54:25 -06:00
Bert Belder
968f2abf04 Bug 956899 - Remove unused stack-base-address tracking code from the JS shell. r=jwalden
--HG--
extra : rebase_source : bfff6e4eb041241a108b43d5e1530b7232614c66
2014-01-08 12:54:24 -06:00
Bert Belder
ca303e32ae Bug 956899 - Fix compilation failure when JS_GC_ZEAL isn't defined. r=terrence
--HG--
extra : rebase_source : 9289522c0c7d974ed5d08fce496a1a2c48dcfb39
2014-01-08 12:21:30 -06:00
Bert Belder
cceac91aa1 Bug 956899 - Use "||" as a preprocessor operator rather than the non-standard "or". r=jwalden
--HG--
extra : rebase_source : da6a96d1acf2c97ff3d687d24a61695a0d12e709
2014-01-08 10:50:12 -06:00
Hannes Verschore
44df9c02db Bug 951947 - IonMonkey: Inline the call to str.replace(re, string), r=jandem 2014-01-08 13:23:36 +01:00
Jan de Mooij
3812eeea3a Bug 950462 - Clear template object convert-double-elements flag if needed. r=h4writer
--HG--
extra : rebase_source : 39f449e09dbf3ffa77f56d382586409342eadc42
2014-01-08 13:08:25 +01:00
Jan de Mooij
b5ec9cef88 Bug 957075 - Add missing parentheses, silence an MSVC warning. r=shu
--HG--
extra : rebase_source : 5c95b5a56b3e03cb2933582226ce03d32df23a85
2014-01-08 12:46:52 +01:00
Steve Fink
cfd5937f9d Bug 956434 - Apply gczeal to object cache allocations, r=terrence 2014-01-06 14:43:19 -08:00
Steve Fink
2c89feb84e Bug 956434 - Do not pass an internal pointer on the stack, r=terrence 2014-01-06 14:41:47 -08:00
Nicholas Nethercote
3557587132 Bug 957021 - Fix messed-up memory reporter paths. r=khuey.
--HG--
extra : rebase_source : 2bd46a9442c54ffba04279a405aeb270ce7bbb23
2014-01-07 17:02:23 -08:00
Boris Zbarsky
dd2f4ef162 Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence 2014-01-07 19:53:17 -05:00
Boris Zbarsky
bddbb72a18 Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem 2014-01-07 19:53:17 -05:00
Terrence Cole
dc8409657f Backed out changeset 12a28278bb20 (Bug 952818) for adding rooting hazards on a CLOSED TREE. 2014-01-07 13:49:39 -08:00
Ryan VanderMeulen
0064b8a651 Merge m-c to inbound on a CLOSED TREE. 2014-01-07 16:32:38 -05:00
Ryan VanderMeulen
21eabfc7cc Merge fx-team to m-c. 2014-01-07 16:15:43 -05:00
Nick Fitzgerald
3ee31d64a9 Bug 933460 - part 1: rename 'sourceURL' to 'displayURL' throughout spidermonkey for consistency; r=ejpbruel 2014-01-07 10:17:39 -08:00
Nick Fitzgerald
c5c169f211 Bug 933460 - part 0: add 'displayURL' filtering to Debugger.prototype.findScripts; r=ejpbruel 2014-01-07 10:17:39 -08:00
Hannes Verschore
414912cb4f Bug 956361 - IonMonkey: Add extra debugging code for optimization levels, r=jandem 2014-01-07 17:55:42 +01:00
Hannes Verschore
29b5378881 Bug 956353 - IonMonkey: Show message when logging a script isn't possible, r=djvj 2014-01-07 17:55:13 +01:00
Brian Hackett
3a436523cd Bug 952818 - Derive the run-once property on the main thread to avoid an off-thread nursery access; r=jdemooij,terrence
--HG--
extra : rebase_source : 742d9d56a97ce64a98860590932057c4c86ffa9a
2014-01-03 07:46:00 -08:00
Terrence Cole
ca70f1dd99 Bug 955660 - Fix an exact rooting hazard in CallSetup; r=bz 2013-12-31 08:30:57 -08:00
Brian Hackett
e2f6877f2c Bug 956072 - Distinguish non-writable from non-data properties in type information. r=jandem 2014-01-06 19:02:28 +01:00
Steve Singer
71a9a71c8d Bug 950513 - Add jsscriptinlines to fix sparc64 link errors. r=luke 2014-01-06 12:40:03 -05:00
Ryan VanderMeulen
15e51f7603 Bug 956434 - Disable testArrayBufferSlice.js for unpredictable failures on ggc builds. 2014-01-06 12:40:03 -05:00
Dan Gohman
dfd1b82648 Bug 953120 - IonMonkey: Don't use pushedAtCycle_ when using push/pop. r=jandem 2014-01-06 08:59:58 -08:00
Luke Wagner
0e21aefd85 Bug 956402 - OdinMonkey: refactoring: add Float to NumLit (r=bbouvier)
--HG--
extra : rebase_source : 7704ee36047dc19ab6a44cb3c820af5145116476
2014-01-06 10:17:57 -06:00
Birunthan Mohanathas
66c2623a3a Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan
--HG--
extra : rebase_source : e44e854e1c946c89c38bbef73c53fe8a48510f65
2014-01-06 10:07:38 -05:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
masaya iseki
3cea2348be Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp, r=h4writer 2014-01-06 10:03:41 -05:00
Ed Morley
f5ef92b540 Merge latest green inbound changeset and mozilla-central 2014-01-06 12:51:38 +00:00
Edgar Chen
c21937d32d Bug 956240 - WebMobileConnection: Use webidl event generator for the event that is dispatched by mozMobileConnection. r=smaug 2014-01-03 13:55:27 +08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jan de Mooij
444d280495 Bug 956293 - Don't pass RegExp proto to CloneRegExpObject. r=h4writer 2014-01-03 18:58:56 +01:00
Steve Fink
4891f23eb9 Bug 955660 - Remove most field annotations now that virtual methods are handled correctly, and declare that nsIXPConnectJSObjectHolder.GetJSObject will not be overridden. r=terrence 2014-01-02 11:02:19 -08:00
Jeff Walden
b01c238639 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Jeff Walden
573ddd1f84 Bug 953316 - Add all the other object flags to JSObject::dump's output. r=bhackett
--HG--
extra : rebase_source : 82e7371ceb07550f918c9012c57dab937cee7214
2013-12-20 21:53:40 -05:00
Luke Wagner
6028b1aaec Bug 956274 - add missing ensureBallast() to MIR allocation loops (r=jandem) 2014-01-07 09:54:34 -06:00
Nicolas Pierron
ad7dc036cb Bug 953256 - IonMonkey: Rename Folded MIR flag to ImplictlyUsed. r=jandem 2014-01-07 05:56:21 -08:00
Carsten "Tomcat" Book
70b32967d3 Backed out changeset 99eb8a370b21 (bug 952840) for permament B2G ICS Emulator Opt test failure 2014-01-07 13:46:20 +01:00
Jon Coppeard
6906a39dc5 Bug 956673 - Postbarrier writes to crosscompartment wrappers table r=terrence 2014-01-07 10:34:25 +00:00
Jon Coppeard
95e2a3f501 Bug 929546 - We don't need to mark the initial shape table in minor GCs any more r=terrence 2014-01-07 10:34:25 +00:00
Jon Coppeard
c479aa1d3c Bug 929546 - Rekey initial shape table for moved proto/parent/metadata pointers r=terrence 2014-01-07 10:34:25 +00:00
Jon Coppeard
16f21b9890 Bug 956671 - Don't iterate over all compartments in Debugger::sweepAll(), only those in the current zone group r=billm 2014-01-07 10:34:25 +00:00
Hannes Verschore
d54e45dc91 Bug 951400: IonMonkey: Disable thread safety asserts during IONFLAGS=logs, r=bhackett 2014-01-03 18:09:44 +01:00
Luke Wagner
157554fed7 Bug 952616 - Fix typo in previous commit changing success message (r=me) 2014-01-03 11:04:23 -06:00
Luke Wagner
7db5895601 Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jan de Mooij
d1bdb837a1 Bug 956316 - Fix ShellOperationCallback compartment mismatch. r=luke 2014-01-03 17:14:46 +01:00
Jon Coppeard
5d3f3da546 Bug 952819 - Disallow starting pre barrier verification when post barrier verifier is already running r=terrence 2014-01-03 10:30:51 +00:00
Jon Coppeard
e765d8705b Bug 930427 - Add a compartment option specifically for mergable compartments r=billm 2014-01-03 10:30:51 +00:00
Jim Blandy
2f9b79f381 Bug 951720: Allow the DebuggerWeakMaps used for Debugger.Source instances to have keys in invisible-to-debugger compartments. r=jonco 2014-01-03 10:30:40 +00:00
Jon Coppeard
55fbe00121 Bug 955818 - Fix missing include of ScopeObject.h r=terrence 2014-01-03 10:26:18 +00:00
Jan de Mooij
fc9170e992 Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett 2014-01-03 11:19:50 +01:00
Luke Wagner
1e6e357a4d Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Boris Zbarsky
fcdb4ed304 Bug 936056 followup. Check for a DOM jitinfo before assuming we have a DOM method in Ion ICs. r=efaust 2014-01-06 21:53:23 -05:00
Andrew McCreight
022e4a0e0b Bug 952840 - Remove scope from XPCWN::FindTearOff. r=bholley 2014-01-06 17:35:54 -08:00
Andrew McCreight
01f8bc9e65 Bug 952840, part 2 - Get rid of one goto in XPCNativeSet::GetNewOrUsed. r=bholley
arr.get() only returns null if the second argument to its constructor is null,
but here it is being infallibly allocated.
2014-01-06 17:32:25 -08:00
Andrew McCreight
e49b1a9227 Bug 952840, part 1 - Eliminate goto in XPCWrappedNative::FindTearOff. r=bholley 2014-01-06 17:32:24 -08:00
Jeff Walden
3651214840 Bug 956601 - Add Char16.h to RequiredDefines.h so that SpiderMonkey standalone works again, in compilers without native char16_t support. r=sstangl
--HG--
extra : rebase_source : 7a36d31e37e0336b9ccfe765d9c98353f6e56aa0
2014-01-05 18:05:11 -06:00
Jeff Walden
f8e3941938 Bug 956597 - Update the SpiderMonkey source package generation script for bug 794506. r=gps
--HG--
extra : rebase_source : 327fdc90831d288e88924095a00a36bd1ce7edf2
2014-01-05 17:17:36 -06:00
Masatoshi Kimura
af2eb9b1af Bug 948405 - Define a dummy environment variable to ensure that the build system will not choke with non-ASCII characters. r=gps 2014-01-07 07:58:30 +09:00
Sean Stangl
9a23aeb353 Bug 951439 - Use CallVM for RegExp.exec(). r=h4writer 2014-01-06 14:51:34 -08:00
Ryan VanderMeulen
cba76dcb2f Backed out changeset 884a27ad7c5e (bug 950407) for mochitest orange.
CLOSED TREE
2014-01-06 15:49:17 -05:00
Andrew McCreight
f78e86e676 Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor 2014-01-06 11:54:43 -08:00
Andrew McCreight
737d0d5fa9 Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08:00
Ryan VanderMeulen
4171aed1aa Backed out changeset 843d930512db (bug 951439) for bustage.
CLOSED TREE
2014-01-06 14:49:49 -05:00
Eric Faust
def585f7f4 Bug 950407 - Fix broken scripted proxy prototype set forwarding. (r=bholley) 2014-01-06 11:34:26 -08:00
Sean Stangl
df96ea1bab Bug 951439 - Use CallVM for RegExp.exec(). r=h4writer 2014-01-06 11:24:50 -08:00
Boris Zbarsky
0d6c3ccfcb Bug 939581 part 3. Mark DOM calls as movable as needed and allow them to be CSE'd. r=efaust 2014-01-03 16:44:45 -05:00
Boris Zbarsky
e12893d83b Bug 939581 part 2. Don't create resume points for non-effectful methods (which currently just means DOM methods), on the assumption that such methods have no side-effects and throw deterministically based on thisval and arguments. r=jandem,efaust 2013-11-20 11:24:10 -05:00
Boris Zbarsky
be5663751b Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Ehsan Akhgari
58ee2029fd Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Jan de Mooij
20fa9ad06c Bug 953114 - Fix GetElementIC typed array issue. r=efaust 2014-01-04 13:32:35 +01:00
Wes Kocher
1a8353a018 Backed out 3 changesets (bug 939581) to see if it fixes the apparently permanent rootanalysis orange
Backed out changeset 6034450c8684 (bug 939581)
Backed out changeset 6badd39e9d6f (bug 939581)
Backed out changeset 4abc092e62c5 (bug 939581)
2014-01-03 18:23:45 -08:00
Boris Zbarsky
0624d4112c Bug 939581 part 3. Mark DOM calls as movable as needed and allow them to be CSE'd. r=efaust 2014-01-03 16:44:45 -05:00
Boris Zbarsky
6db1297d09 Bug 939581 part 2. Don't create resume points for non-effectful methods (which currently just means DOM methods), on the assumption that such methods have no side-effects and throw deterministically based on thisval and arguments. r=jandem,efaust 2013-11-20 11:24:10 -05:00
Boris Zbarsky
ffc9cbd30f Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Jan de Mooij
f704b17cb2 Bug 956300 - Remove Class argument from functions that also take a TypeObject. r=bhackett 2014-01-03 22:02:57 +01:00
Chris Peterson
ce8d729455 Bug 956161 - Fix Firefox for Android's last -Wuninitialized warning! r=luke 2013-12-14 19:09:06 -08:00
Luke Wagner
7384b47bfa Bug 953104 - OdinMonkey: report validation failure for missing function-pointer tables (r=bbouvier)
--HG--
extra : rebase_source : 4d3c08640274629bd44393aee2234c4f6f829cb0
2014-01-02 17:20:36 -06:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Hannes Verschore
9a5e3ac59e Bug 952984: Fix barriers around matchResultTemplateObject, r=terrence 2014-01-02 20:45:51 +01:00
Andrew McCreight
6cfd8e569a Bug 952660, part 9 - rename clazz to clasp in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:42 -08:00
Andrew McCreight
308a7aade6 Bug 952660, part 8 - Insert non-root wrappers into the list in the constructor for nsXPCWrappedJS. r=bholley
A non-root wrapper has to be inserted into the list. There's only one place this is needed, but I
think it makes more sense like this.
2014-01-02 11:33:42 -08:00
Andrew McCreight
663d876a37 Bug 952660, part 7 - Replace if with else in nsXPCWrappedJS::GetNewOrUsed. r=bholley
We check for root, then don't change root and check for !root, so this can just be
an else.
2014-01-02 11:33:42 -08:00
Andrew McCreight
64090143a1 Bug 952660, part 6 - Add and use nsXPCWrappedJS::FindOrFindInherited. r=bholley
FindInherited is only ever used after running Find, and the way the checks
are chained is a little weird.
2014-01-02 11:33:42 -08:00
Andrew McCreight
84a36ae02a Bug 952660, part 5 - The null check at the end of nsXPCWrappedJS::GetNewOrUsed will always fail. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
20b1ae972d Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
ab20f03087 Bug 952660, part 3 - Eliminate goto return_wrapper. r=bholley
Substitute in the tail of the function for each goto, then eliminate
the resulting branches where possible.
2014-01-02 11:33:41 -08:00
Andrew McCreight
5085bb4817 Bug 952660, part 2 - Take advantage of new being infallible in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
af3de44f9b Bug 952660, part 1 - Use smart pointer for clazz in nsXPCWrappedJS::GetNewOrUsed. r=bholley
The trickiest thing the goto in GetNewOrUsed does is release clazz in some cases,
so using a smart pointer will simplify things.
2014-01-02 11:33:41 -08:00
Andrew McCreight
e21965c2c3 Bug 947336, part 3 - Add comment about ownership of nsXPCWrappedJS::mRoot. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
e102183e17 Bug 947336, part 2 - Make nsXPCWrappedJS::mClass a smart pointer. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
6b2d93abd5 Bug 947336, part 1 - Make nsXPCWrappedJS::mOuter into a smart pointer. r=bholley 2014-01-02 11:33:40 -08:00
Luke Wagner
9d4515e054 Bug 952616 - OdinMonkey: tweak success message when not stored in cache (r=bbouvier)
--HG--
extra : rebase_source : fd8b46ce32a3231ae8f3533f445576200003be65
2013-12-20 14:32:04 -06:00
Brian Hackett
c164a4e915 Bug 951497 - Add type constraints for definite property analysis. r=jandem 2014-01-02 11:53:38 -05:00
Jan de Mooij
9aa85fd474 Bug 953373 - Use NewObjectWithType when cloning regexps. r=bhackett 2014-01-02 17:39:00 +01:00
Ryan VanderMeulen
4fad5b8144 Backed out changeset cb4cd38abdc5 (bug 945596) for bustage.
CLOSED TREE
2014-01-02 11:17:12 -05:00
masaya iseki
86327b8008 Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp 2014-01-02 10:50:14 -05:00
Hannes Verschore
dc9ac690c8 Bug 953410: Test for JS_ION in jit/IonOptimizationLevels.h to fix builds with --disable-ion, r=bhackett 2014-01-02 16:22:13 +01:00
Bobby Holley
c88d7136c7 Bug 951847 - Stop pushing a cx in the XPCCallContext constructor. r=gabor 2014-01-01 19:23:56 -08:00
Bobby Holley
ab6785509b Bug 951847 - Make the |cx| param to XPCCallContext mandatory. r=gabor 2014-01-01 19:23:55 -08:00
Bobby Holley
d80873ca4a Bug 951847 - Don't construct an XPCCallContext just to find a JSContext. r=gabor 2014-01-01 19:23:55 -08:00
Terrence Cole
c1622b31ab Bug 955735 - Reorganize the code in nsScriptLoader to eliminate some rooting hazards; r=smaug
--HG--
extra : rebase_source : db78c06d3eaa5539e906bfc95650abd8aac9be38
2013-12-31 08:30:07 -08:00
Ms2ger
fe059e78f7 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Benjamin Peterson
5448ab75a7 Bug 953284 followup - Update trap offsets. r=me
--HG--
extra : rebase_source : 78f1b045973c8ac86cc6b93107fae577a29cae31
2013-12-27 16:27:27 -06:00
Benjamin Peterson
aa73ec2ea6 Bug 953284 - Remove JSOP_NOTEARG. r=jandem 2013-12-27 15:30:26 -06:00
Tom Schuster
a88f0f4057 Bug 952744 - Remove jsd_java. r=terrence 2013-12-27 21:27:03 +01:00
Jan de Mooij
5fc5417478 Bug 952992 - Remove MPrepareCall and MPassArg instructions. r=nbp
--HG--
extra : rebase_source : 51c7d7a273a7e52e374fabec0793206bdba24c2c
2013-12-27 20:49:33 +01:00
Jan de Mooij
ac84996eb5 No bug - Fix typo in CodeGenerator.cpp Emacs mode line. r=me DONTBUILD 2013-12-27 12:00:04 +01:00
Benjamin Peterson
7530c9daef No bug - Put initializer list in the right order to quiet GCC warnings. r=me 2013-12-26 16:53:21 -06:00
Brian Hackett
13fba1ed1b Bug 951213 - Improve robustness when rolling back properties after the definite properties analysis fails, allow metadata objects to be in the nursery, r=jandem,terrence. 2013-12-26 15:25:33 -07:00
Sylvestre Ledru
2e17f88dd7 Bug 625015 - Improve the error message when the X development libraries are not available; r=glandium
Patch based on the one of Aikeremu Tiemuer
2013-12-24 15:32:53 +01:00
Jan de Mooij
6514fba38e Bug 937697 - Simplify some BoundsCheckRange code. r=bhackett
--HG--
extra : rebase_source : 719258647e87d0bf52636e5d23085e2f1f7e2ec5
2013-12-24 13:51:26 +01:00
Tom Schuster
d277c8c1de Bug 918879 - Implement String#codePointAt and String.fromCodePoint r=till 2013-12-23 21:48:47 +01:00
Dan Gohman
290dcd4789 Bug 937132 - SpiderMonkey: Check for overflows in LifoAlloc. r=luke 2013-12-23 09:09:05 -05:00
Boris Zbarsky
2d815f3083 Bug 936056. Be consistent about the thisobj we pass to getters. r=jorendorff 2013-12-02 19:08:07 -05:00
Wes Kocher
446f07be42 Merge m-c to inbound 2013-12-20 19:00:45 -08:00
Wes Kocher
6bc4f795b0 Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Steve Fink
0196ff5131 No bug. Hold the line at 3 hazards! r=terrence 2013-12-20 18:00:51 -08:00
Steve Fink
7621ab12a9 Bug 950176 - Use mangled names to identify nodes in callgraph, r=bhackett 2013-12-17 11:21:41 -08:00
Kannan Vijayan
e0fcc8ecec Bug 951528. r=jandem 2013-12-20 18:11:21 -05:00
Wes Kocher
b74e34db6f Backed out changeset 4c45705d14c4 (reland bug 952330 since it wasn't at fault for the ggc orange) 2013-12-20 14:27:26 -08:00
Wes Kocher
c4520e3e81 Backed out changeset 39778c27c5fd (bug 951213) for causing ggc orange 2013-12-20 14:26:29 -08:00
Terrence Cole
c190be4349 Bug 952615 - Fix an opt build failure with generational GC enabled; r=sfink 2013-12-20 12:48:43 -08:00
Luke Wagner
b10ea5ff0f Bug 952022 - Consolidate detachAsmJSModule and destroyBackedges (r=bhackett)
--HG--
extra : rebase_source : 38aba86b0badc80dbfd911cc08450b4d52652bf3
2013-12-20 15:41:00 -06:00
Wes Kocher
af88047607 Backed out changeset 226af3342987 (bug 952330) for ggc orange 2013-12-20 13:15:48 -08:00
Terrence Cole
5aef8503a8 Bug 952619 - Kill some SpiderMonkey build warnings; r=Waldo 2013-12-20 12:48:41 -08:00
Brian Hackett
53f4bf0ebd Bug 950452 - Fix SETARG in IonBuilder, r=jandem. 2013-12-20 13:07:23 -07:00
Brian Hackett
2b76c32533 Bug 952330 - Synchronize updates to the slots pointer in global objects, r=jandem. 2013-12-20 13:05:00 -07:00
Brian Hackett
21a7baccc0 Bug 951213 - Improve robustness when rolling back properties after the definite properties analysis fails, r=jandem. 2013-12-20 13:04:08 -07:00
Terrence Cole
1b4d0bf00c Bug 952551 - Fix an exact rooting hazard in Shape::dump; r=sfink 2013-12-20 10:16:11 -08:00
Jan de Mooij
1486f7e3ec Bug 951366 - Use AutoDetectInvalidation for disabled GetElement caches. r=h4writer
--HG--
extra : rebase_source : ff7dd0a3478303d85d4f9472637412035d4365a7
2013-12-20 18:16:48 +01:00
Nicolas B. Pierron
cdd66aa7ad no bug - JS Shell: Fix help message of isAsmJSModuleLoadedFromCache. r=me
DONTBUILD
2013-12-20 09:17:39 -08:00