Commit Graph

31252 Commits

Author SHA1 Message Date
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