Commit Graph

40306 Commits

Author SHA1 Message Date
Jan de Mooij
e362a0d351 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
bf696efe67 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
421ebe4af8 Bug 952192 - getObjectPrincipal should be script callable. r=bholley 2014-01-09 11:31:33 +01:00
Luke Wagner
5001c1ce2d 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
f7e45458aa Bug 953108 - Initialized TypedObject module when initializing SIMD module r=till 2014-01-08 04:36:17 -05:00
Terrence Cole
15421cbf8e 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
5211399451 Bug 953111 - Check length before initializing typedobject instance r=sfink 2014-01-02 17:54:44 -05:00
Douglas Crosher
a9d8df11de Bug 951988 - IonMonkey: Use canBeNegativeDividend() in the ARM backend. r=mjrosenb 2013-12-22 08:48:02 +11:00
Neil Rashbrook
465a600b29 Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Steven Michaud
9c31e8f8c8 Bug 956931 - ICU linker error doing 32-bit and universal builds. r=mshal 2014-01-08 13:48:45 -06:00
Bert Belder
adc22b1b0b 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
e807db70f2 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
eabb604360 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
6a1b8779f6 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
b876330428 Bug 951947 - IonMonkey: Inline the call to str.replace(re, string), r=jandem 2014-01-08 13:23:36 +01:00
Jan de Mooij
3aa49e0588 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
c8b7a41180 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
23681a1e91 Bug 956434 - Apply gczeal to object cache allocations, r=terrence 2014-01-06 14:43:19 -08:00
Steve Fink
8b21a45635 Bug 956434 - Do not pass an internal pointer on the stack, r=terrence 2014-01-06 14:41:47 -08:00
Nicholas Nethercote
0aa47c52fb 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
72e2ce7440 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
a989ae183c Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem 2014-01-07 19:53:17 -05:00
Terrence Cole
87dd06b75b Backed out changeset 12a28278bb20 (Bug 952818) for adding rooting hazards on a CLOSED TREE. 2014-01-07 13:49:39 -08:00
Ryan VanderMeulen
30a912783c Merge m-c to inbound on a CLOSED TREE. 2014-01-07 16:32:38 -05:00
Ryan VanderMeulen
23c63aae9b Merge fx-team to m-c. 2014-01-07 16:15:43 -05:00
Nick Fitzgerald
1149b5fc7e Bug 933460 - part 1: rename 'sourceURL' to 'displayURL' throughout spidermonkey for consistency; r=ejpbruel 2014-01-07 10:17:39 -08:00
Nick Fitzgerald
835a69d98d Bug 933460 - part 0: add 'displayURL' filtering to Debugger.prototype.findScripts; r=ejpbruel 2014-01-07 10:17:39 -08:00
Hannes Verschore
6a2276de90 Bug 956361 - IonMonkey: Add extra debugging code for optimization levels, r=jandem 2014-01-07 17:55:42 +01:00
Hannes Verschore
5df1a678bc Bug 956353 - IonMonkey: Show message when logging a script isn't possible, r=djvj 2014-01-07 17:55:13 +01:00
Brian Hackett
18ade1ae77 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
5f6e9be3fb Bug 955660 - Fix an exact rooting hazard in CallSetup; r=bz 2013-12-31 08:30:57 -08:00
Brian Hackett
e0b0ea92ee Bug 956072 - Distinguish non-writable from non-data properties in type information. r=jandem 2014-01-06 19:02:28 +01:00
Steve Singer
92cec17caf Bug 950513 - Add jsscriptinlines to fix sparc64 link errors. r=luke 2014-01-06 12:40:03 -05:00
Ryan VanderMeulen
7463789a9a Bug 956434 - Disable testArrayBufferSlice.js for unpredictable failures on ggc builds. 2014-01-06 12:40:03 -05:00
Dan Gohman
94b6e63c1b Bug 953120 - IonMonkey: Don't use pushedAtCycle_ when using push/pop. r=jandem 2014-01-06 08:59:58 -08:00
Luke Wagner
53392a793e 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
7a614075df 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
d05644b6b3 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
eadb0e55e4 Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp, r=h4writer 2014-01-06 10:03:41 -05:00
Ed Morley
14b30df82f Merge latest green inbound changeset and mozilla-central 2014-01-06 12:51:38 +00:00
Edgar Chen
5238d6a834 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
1b83407ce9 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
8f7a8a0f8f Bug 956293 - Don't pass RegExp proto to CloneRegExpObject. r=h4writer 2014-01-03 18:58:56 +01:00
Steve Fink
97bafd9383 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
5d3f01c937 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
4641b211fe 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
1c251106f6 Bug 956274 - add missing ensureBallast() to MIR allocation loops (r=jandem) 2014-01-07 09:54:34 -06:00
Nicolas Pierron
f7cf973b9a Bug 953256 - IonMonkey: Rename Folded MIR flag to ImplictlyUsed. r=jandem 2014-01-07 05:56:21 -08:00
Carsten "Tomcat" Book
52485ed029 Backed out changeset 99eb8a370b21 (bug 952840) for permament B2G ICS Emulator Opt test failure 2014-01-07 13:46:20 +01:00
Jon Coppeard
70d4f5f61c Bug 956673 - Postbarrier writes to crosscompartment wrappers table r=terrence 2014-01-07 10:34:25 +00:00