Commit Graph

31128 Commits

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