Commit Graph

31108 Commits

Author SHA1 Message Date
Brian Hackett
33db6c5829 Bug 956072 - Distinguish non-writable from non-data properties in type information. r=jandem 2014-01-06 19:02:28 +01:00
Steve Singer
b4b43b136e Bug 950513 - Add jsscriptinlines to fix sparc64 link errors. r=luke 2014-01-06 12:40:03 -05:00
Ryan VanderMeulen
1dbc7ec205 Bug 956434 - Disable testArrayBufferSlice.js for unpredictable failures on ggc builds. 2014-01-06 12:40:03 -05:00
Dan Gohman
9b327ef41d Bug 953120 - IonMonkey: Don't use pushedAtCycle_ when using push/pop. r=jandem 2014-01-06 08:59:58 -08:00
Luke Wagner
3ccd10272d 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
75d56a8d75 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
dfbad43639 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
1e1a5f9ae3 Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp, r=h4writer 2014-01-06 10:03:41 -05:00
Ed Morley
f2c3dd2277 Merge latest green inbound changeset and mozilla-central 2014-01-06 12:51:38 +00:00
Edgar Chen
0c346992a8 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
eaa7491d77 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
f9c8f7cdba Bug 956293 - Don't pass RegExp proto to CloneRegExpObject. r=h4writer 2014-01-03 18:58:56 +01:00
Steve Fink
f4f0130c08 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
12220c1619 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
0fbc910744 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
Hannes Verschore
1c3456742b Bug 951400: IonMonkey: Disable thread safety asserts during IONFLAGS=logs, r=bhackett 2014-01-03 18:09:44 +01:00
Luke Wagner
72bb1eebf3 Bug 952616 - Fix typo in previous commit changing success message (r=me) 2014-01-03 11:04:23 -06:00
Luke Wagner
d169b4cf47 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
b90e26c728 Bug 956316 - Fix ShellOperationCallback compartment mismatch. r=luke 2014-01-03 17:14:46 +01:00
Jon Coppeard
d4f6b5e3a1 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
2e9d59d556 Bug 930427 - Add a compartment option specifically for mergable compartments r=billm 2014-01-03 10:30:51 +00:00
Jim Blandy
4ac40feb03 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
c9c9bcc59d Bug 955818 - Fix missing include of ScopeObject.h r=terrence 2014-01-03 10:26:18 +00:00
Jan de Mooij
2992b45583 Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett 2014-01-03 11:19:50 +01:00
Boris Zbarsky
4f07bfa379 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
aa8197c51f 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
f48d286557 Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Ehsan Akhgari
ac73237d97 Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Jan de Mooij
1b14d68585 Bug 953114 - Fix GetElementIC typed array issue. r=efaust 2014-01-04 13:32:35 +01:00
Wes Kocher
f842d37640 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
4d2311bdc0 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
1582f5b607 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
3a2e367c34 Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Jan de Mooij
def97c1cb2 Bug 956300 - Remove Class argument from functions that also take a TypeObject. r=bhackett 2014-01-03 22:02:57 +01:00
Chris Peterson
166ee7d3cc Bug 956161 - Fix Firefox for Android's last -Wuninitialized warning! r=luke 2013-12-14 19:09:06 -08:00
Luke Wagner
706a9c4449 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
ed423fbdef Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Hannes Verschore
ea90dc9a47 Bug 952984: Fix barriers around matchResultTemplateObject, r=terrence 2014-01-02 20:45:51 +01:00
Andrew McCreight
eca95c1840 Bug 952660, part 9 - rename clazz to clasp in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:42 -08:00
Andrew McCreight
0ac48b918c 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
13bc621ff8 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
22e04d22b1 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
29b47e833d 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
2e31c3711b Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
2c95dc4ab5 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
3f5eda09cd 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
a68b28690e 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
12ab686961 Bug 947336, part 3 - Add comment about ownership of nsXPCWrappedJS::mRoot. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
1d5a828eca Bug 947336, part 2 - Make nsXPCWrappedJS::mClass a smart pointer. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
d9c65a6e80 Bug 947336, part 1 - Make nsXPCWrappedJS::mOuter into a smart pointer. r=bholley 2014-01-02 11:33:40 -08:00