Commit Graph

37559 Commits

Author SHA1 Message Date
Ehsan Akhgari
c0aad02f96 Bug 1119259 - Mark virtual overridden functions as MOZ_OVERRIDE in JS; r=Waldo 2015-01-09 09:43:54 -05:00
Jon Coppeard
73ebbc1485 Bug 1080262 - Disallow ctypes from converting array buffers and typed arrays to pointers, except when passed as arguments r=sfink 2014-11-03 11:38:12 -08:00
Jon Coppeard
49a8a79300 Backed out changeset 6d425a16fe7c (bug 1118996) on a CLOSED TREE 2015-01-09 13:56:57 +00:00
Jan de Mooij
9c057e3ddf Bug 1119288 part 3 - Add a ShapeTable::Entry class and use it instead of raw Shape** pointers. r=njn
--HG--
extra : rebase_source : f2d61106f56b981a02774b2fde816c260fa880d9
2015-01-09 14:31:59 +01:00
Jan de Mooij
a64b599dee Bug 1119288 part 2 - Turn ShapeTable into a class with private members. r=njn
--HG--
extra : rebase_source : 234cb16cdb19456fb0ffea05de305df40449e470
2015-01-09 14:31:56 +01:00
Jan de Mooij
fb34edde93 Bug 1119288 part 1 - Clean up ShapeTable::search. r=njn
--HG--
extra : rebase_source : 1977e74d191b2704fb5b69eaa2d8ce7ec9f3c477
2015-01-09 14:31:54 +01:00
Nicolas B. Pierron
ce934f1d70 Bug 1063918 - JSONSpewer: Export the memory dependencies. r=sstangl 2015-01-09 14:19:09 +01:00
Nicolas B. Pierron
53fb078083 Bug 1116491 - IonMonkey: Use a larger code alignment on x86/x64 to load SIMD constants from code sections. r=bbouvier
Delta:
 - Rename SimdStackAlignment to SimdMemoryAlignment
 - Add an assertion which ensure that Code sections in which SIMD constants are
   added are well aligned.
 - Increase x86 & x64 CodeAlignment to match the previous assertion.
2015-01-09 12:39:58 +01:00
Nicolas B. Pierron
a78b3c09b9 Bug 1117146 - Add a |jit-test| flag to run an additional --no-asmjs variant for a test. r=bbouvier 2015-01-09 12:39:58 +01:00
Jacek Caban
597b1de874 Bug 1116777 - Default to static linking on mingw. r=glandium 2015-01-09 11:41:26 +01:00
Jon Coppeard
6e9db8f7e4 Bug 1118560 - Update GC_PARAMETER_ARGS_LIST to keep it in sync with paramMap r=terrence 2015-01-09 09:56:45 +00:00
Jon Coppeard
44ac43a281 Bug 1118996 - Wrap exception object in AutoNewContext r=sfink 2015-01-09 09:56:18 +00:00
Ms2ger
833f562689 Bug 739601 - Rewrite (the used parts of) config/milestone.pl in python; r=gps 2015-01-09 10:24:45 +01:00
Jan de Mooij
1012583023 Bug 1015339 - Fix DumpJSStack to not crash with Ion code on the stack. r=shu 2015-01-09 10:09:30 +01:00
Jan de Mooij
b669bd84ed Bug 1115844 - Fix Baseline to emit a nop for JSOP_DEBUGLEAVEBLOCK to temporarily work around a pc lookup bug. r=shu 2015-01-09 10:09:21 +01:00
Shu-yu Guo
d7cd863cee Bug 1118107 - Convert ThreadSafeContext -> JSContext and remove PJS paths in FrameIters. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
c931a16608 Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in compartment code. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
ac60425436 Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in TypedObject code. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
2446f1cedb Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in error reporting functions. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
b4320e6106 Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in string and conversion ops. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
7e86f97c24 Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in object ops. (r=lth) 2015-01-09 00:06:03 -08:00
Shu-yu Guo
50c6db483c Bug 1118084 - Remove self-hosted and user-exposed PJS methods. (r=lth) 2015-01-09 00:06:03 -08:00
Chris Peterson
424eea2aaf Bug 1118529 - Remove MSIntTypes.h. r=Waldo 2015-01-06 21:41:15 -08:00
Steve Fink
114272ebf3 Bug 1119584 - Return number of allocations until next zeal GC, r=terrence
--HG--
extra : rebase_source : 019322e25ba5902d41f6d24cf9d2e5f8a7e04d48
2015-01-08 22:41:31 -08:00
Steve Fink
0602909413 Bug 1118469 - Disallow storing unrooted pointer in memory pointed to by a UniquePtr, r=terrence
--HG--
extra : rebase_source : 43a15ea4d37948c10c24de5c79ea3194b17fb599
2015-01-08 22:41:07 -08:00
Steve Fink
16d932d3fe Bug 1118469 - Rename some variables for clarity, r=me
--HG--
extra : rebase_source : c616d812df8059520751735d4570447012134a7f
2015-01-08 22:40:39 -08:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
7b8691121b Bug 1119265 - Mark virtual overridden functions as MOZ_OVERRIDE in JS IPC; r=billm 2015-01-08 23:10:41 -05:00
Terrence Cole
1a2b96318c Backout db6bdc09068d (Bug 1110931) for regressing svgx by 40%.
--HG--
extra : rebase_source : f9b39de1dad2dac4416c0184c9fa36feda50a720
2015-01-08 15:07:30 -08:00
Andrew McCreight
8590b36083 Bug 1118044, part 2 - Use GCCellPtr in NoteJSChild. r=smaug,terrence
Also, strongly type the JS_TraceShapeCycleCollectorChildren function, and add an
isShape() method to GCCellPtr.
2015-01-08 15:30:54 -08:00
Nicholas Nethercote
8c62400016 Backout 51e4e9fcde24 (bug 1105895) for causing some Octane and Dromaeo regressions.
--HG--
extra : rebase_source : 3c9da3b3ce85c217d038d81e498771652b775b92
2015-01-08 14:19:36 -08:00
Ben Kelly
0c6b52fca5 Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking 2015-01-08 11:21:52 -05:00
Ehsan Akhgari
71e11c2ac3 Bug 1119232 - Fix a warning for the usage of the uninitialized gc member in JSRuntime's constructor; r=jandem
clang emits the following warning on this code:
warning: field 'gc' is uninitialized when used here [-Wuninitialized]

The warning is not an indication of a real bug since we're just taking the store
buffer's address, but we may as well silence it.
2015-01-08 10:33:40 -05:00
Ehsan Akhgari
fa38f407c5 Bug 1119228 - Fix a fatal warning in PossiblyFail; r=jandem
Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-08 10:33:32 -05:00
ziyunfei
f287850b04 Bug 1117350 - Part 2: Implement %TypedArray%.prototype.{reduce, reduceRight}. r=evilpie 2015-01-07 01:55:00 -05:00
ziyunfei
f6e077fe54 Bug 1117350 - Part 1: Rename "TypedArray" to "TypedObjectArray" for self-hosted methods of typed object arrays. r=till 2015-01-04 06:32:00 -05:00
Jon Coppeard
ccd5aab92b Bug 1077354 - Allow CTypes to pass DataView argumets as pointers r=terrence 2015-01-08 11:31:13 +00:00
Jon Coppeard
3a4db49e46 Bug 1117098 - Move definition of external GC API methods out of jsfriendapi.cpp r=terrence 2015-01-05 13:22:53 +00:00
Jon Coppeard
72a59b3b64 Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Jon Coppeard
2a9322a0b4 Bug 1099152 - Separate out external APIs to start and continute an incremental GC r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Jon Coppeard
576a404907 Bug 1099152 - Separate out methods to start and continue incrmental GC r=terrence 2015-01-02 17:19:43 +00:00
Jon Coppeard
6ced129b68 Bug 1099152 - Call gcSlice() or gc() depending on whether we want a incemental GC or not r=terrence 2015-01-02 17:19:43 +00:00
Nicholas Nethercote
8582ff9187 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Nicholas Nethercote
cbe2a8e0a3 Bug 1014341 (part 0) - Don't use trace-malloc in devtools automation files. r=sfink.
--HG--
extra : rebase_source : 415426282b0fd4684be1221caeee163dbbde5b3e
2015-01-06 14:59:04 -08:00
Michael Pruett
b9d2bd339e Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Shu-yu Guo
739c03aa24 Bug 1116143 - Patch bare callVMs correctly in debug mode OSR. (r=jandem) 2015-01-07 22:02:35 -08:00
Shu-yu Guo
651e1b0207 Bug 1118038 - Remove JIT parts of PJS. (r=lth) 2015-01-07 01:18:42 -08:00
Nicholas Nethercote
192a8800b8 Bug 1118950 - Fix mistyped DEBUG condition in GlobalHelperThreadState(). r=bhackett.
--HG--
extra : rebase_source : 7eb64d3f08095c085af9be4e1ec15df177043235
2015-01-07 17:48:21 -08:00
Nicholas Nethercote
ff5536cd3a Bug 1117017 - Initialize the IdSet lazily in jsiter.cpp:Snapshot(). r=sfink.
--HG--
extra : rebase_source : a07c2f17db6f66985386cb0f9c8b92418c818167
2015-01-07 13:47:10 -08:00
Nicholas Nethercote
8ccacc15a3 Bug 1105895 - Use JSInlineString where possible in ConcatStrings(). r=jandem.
--HG--
extra : rebase_source : d6b8e173fb3721d77076b8a9b58e5fa7a29960b5
2015-01-06 15:41:35 -08:00