Commit Graph

22338 Commits

Author SHA1 Message Date
David Anderson
8e19c38abc Fix merge bustage part 2. 2012-08-29 18:17:32 -07:00
David Anderson
7c2bf8eec7 Fix merge bustage. 2012-08-29 18:04:42 -07:00
David Anderson
f1820f99a7 Merge. 2012-08-29 17:58:13 -07:00
David Anderson
25c3dd55c0 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
f70f4a0893 Bug 784188 - Use the correct ArenaKind for inline CallObject creation (r=dvander) 2012-08-29 14:33:28 -07:00
Sean Stangl
6a72b57ced Backed out changeset d11dafc10fc0 2012-08-29 12:18:45 -07:00
Siddharth Agarwal
6e3e5ab3cb Merge mozilla-central to mozilla-inbound. 2012-08-29 20:41:03 +05:30
Siddharth Agarwal
4ac6379343 Backout bug 784262 because of Pymake bustage and GNU Make "warning: overriding commands for target". 2012-08-29 20:36:23 +05:30
Jan de Mooij
638e50726c Bug 784127 - Stop inlining monomorphic property accesses if a shape guard fails. r=sstangl 2012-08-29 10:56:14 +02:00
Mike Hommey
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
6f9fd5c1fe Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
2c1a2e9335 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
35fc14432b Bug 783950 - Refresh libffi patches. r=ted 2012-08-29 08:55:57 +02:00
Gregory Szorc
aa3ebf1947 Bug 786540 - Remove unused exports target; r=glandium
This rule does nothing. It serves no purpose. It shall be eliminated.
2012-08-28 20:13:29 -07:00
Luke Wagner
1b8703b211 Bug 784894 - Fix sharkctl.h #include on OSX (r=bustage) 2012-08-28 16:56:54 -07:00
Brian Hackett
897e42e112 Don't assume calls with ignored return values will produce undefined, bug 786491. r=luke 2012-08-28 17:39:01 -06:00
Marty Rosenberg
a0a2531a6e Create a new IonContext in a second place (bug 786437, r=dvander) 2012-08-28 19:20:59 -04:00
Marty Rosenberg
bf4581bc06 When discarding Ion code, ensure there is an IonContext around so the autoflusher can function (bug 786004, r=dvander) 2012-08-28 05:20:22 -04:00
Brian Hackett
2cd7a52024 Don't generate ion compilation checks in scripts which have already been ion compiled, bug 785755. r=dvander 2012-08-27 18:43:42 -06:00
David Anderson
7e54805175 Fix race condition between TriggerOperationCallback and InvokeOperationCallback (bug 785560, r=sstangl).
--HG--
extra : rebase_source : 26c8592fb40d17d63ffe52266ebc1fbe01e8b410
2012-08-27 16:02:47 -07:00
Kannan Vijayan
2587d0cd4d Backed out changeset 92b9b2840a79 2012-08-27 15:38:28 -04:00
Kannan Vijayan
c58fb67238 Bug 783008 - Do early inlining of "simple" JS functions. (r=bhackett) 2012-08-27 14:36:35 -04:00
Luke Wagner
a88c217f82 Bug 784894 - put NPOTB tools/utilities in js/src/devtools (r=sfink)
--HG--
rename : js/src/ETWProvider.man => js/src/devtools/ETWProvider.man
rename : js/src/metrics/gc/README.txt => js/src/devtools/gc/README.txt
rename : js/src/metrics/gc/gc-test.py => js/src/devtools/gc/gc-test.py
rename : js/src/metrics/gc/tests/clock.js => js/src/devtools/gc/tests/clock.js
rename : js/src/metrics/gc/tests/dslots.js => js/src/devtools/gc/tests/dslots.js
rename : js/src/metrics/gc/tests/loops.js => js/src/devtools/gc/tests/loops.js
rename : js/src/metrics/gc/tests/objGraph.js => js/src/devtools/gc/tests/objGraph.js
rename : js/src/gnuplot/gcTimer.gnu => js/src/devtools/gnuplot/gcTimer.gnu
rename : js/src/javascript-trace.d => js/src/devtools/javascript-trace.d
rename : js/src/metrics/jint/sunspider/3d-cube.js => js/src/devtools/jint/sunspider/3d-cube.js
rename : js/src/metrics/jint/sunspider/3d-morph.js => js/src/devtools/jint/sunspider/3d-morph.js
rename : js/src/metrics/jint/sunspider/3d-raytrace.js => js/src/devtools/jint/sunspider/3d-raytrace.js
rename : js/src/metrics/jint/sunspider/access-binary-trees.js => js/src/devtools/jint/sunspider/access-binary-trees.js
rename : js/src/metrics/jint/sunspider/access-fannkuch.js => js/src/devtools/jint/sunspider/access-fannkuch.js
rename : js/src/metrics/jint/sunspider/access-nbody.js => js/src/devtools/jint/sunspider/access-nbody.js
rename : js/src/metrics/jint/sunspider/access-nsieve.js => js/src/devtools/jint/sunspider/access-nsieve.js
rename : js/src/metrics/jint/sunspider/bitops-3bit-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-3bit-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bitwise-and.js => js/src/devtools/jint/sunspider/bitops-bitwise-and.js
rename : js/src/metrics/jint/sunspider/bitops-nsieve-bits.js => js/src/devtools/jint/sunspider/bitops-nsieve-bits.js
rename : js/src/metrics/jint/sunspider/controlflow-recursive.js => js/src/devtools/jint/sunspider/controlflow-recursive.js
rename : js/src/metrics/jint/sunspider/crypto-aes.js => js/src/devtools/jint/sunspider/crypto-aes.js
rename : js/src/metrics/jint/sunspider/crypto-md5.js => js/src/devtools/jint/sunspider/crypto-md5.js
rename : js/src/metrics/jint/sunspider/crypto-sha1.js => js/src/devtools/jint/sunspider/crypto-sha1.js
rename : js/src/metrics/jint/sunspider/date-format-tofte.js => js/src/devtools/jint/sunspider/date-format-tofte.js
rename : js/src/metrics/jint/sunspider/date-format-xparb.js => js/src/devtools/jint/sunspider/date-format-xparb.js
rename : js/src/metrics/jint/sunspider/math-cordic.js => js/src/devtools/jint/sunspider/math-cordic.js
rename : js/src/metrics/jint/sunspider/math-partial-sums.js => js/src/devtools/jint/sunspider/math-partial-sums.js
rename : js/src/metrics/jint/sunspider/math-spectral-norm.js => js/src/devtools/jint/sunspider/math-spectral-norm.js
rename : js/src/metrics/jint/sunspider/regexp-dna.js => js/src/devtools/jint/sunspider/regexp-dna.js
rename : js/src/metrics/jint/sunspider/string-base64.js => js/src/devtools/jint/sunspider/string-base64.js
rename : js/src/metrics/jint/sunspider/string-fasta.js => js/src/devtools/jint/sunspider/string-fasta.js
rename : js/src/metrics/jint/sunspider/string-tagcloud.js => js/src/devtools/jint/sunspider/string-tagcloud.js
rename : js/src/metrics/jint/sunspider/string-unpack-code.js => js/src/devtools/jint/sunspider/string-unpack-code.js
rename : js/src/metrics/jint/sunspider/string-validate-input.js => js/src/devtools/jint/sunspider/string-validate-input.js
rename : js/src/metrics/jint/treesearch.py => js/src/devtools/jint/treesearch.py
rename : js/src/metrics/jint/v8/base.js => js/src/devtools/jint/v8/base.js
rename : js/src/metrics/jint/v8/crypto.js => js/src/devtools/jint/v8/crypto.js
rename : js/src/metrics/jint/v8/deltablue.js => js/src/devtools/jint/v8/deltablue.js
rename : js/src/metrics/jint/v8/earley-boyer.js => js/src/devtools/jint/v8/earley-boyer.js
rename : js/src/metrics/jint/v8/raytrace.js => js/src/devtools/jint/v8/raytrace.js
rename : js/src/metrics/jint/v8/richards.js => js/src/devtools/jint/v8/richards.js
rename : js/src/metrics/jint/v8/run-earley-boyer.js => js/src/devtools/jint/v8/run-earley-boyer.js
rename : js/src/metrics/jint/v8/run-raytrace.js => js/src/devtools/jint/v8/run-raytrace.js
rename : js/src/metrics/jint/v8/run-richards.js => js/src/devtools/jint/v8/run-richards.js
rename : js/src/metrics/jint/v8/run.js => js/src/devtools/jint/v8/run.js
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/vprof/manifest.mk => js/src/devtools/vprof/manifest.mk
rename : js/src/vprof/readme.txt => js/src/devtools/vprof/readme.txt
rename : js/src/vprof/testVprofMT.c => js/src/devtools/vprof/testVprofMT.c
rename : js/src/vprof/vprof.cpp => js/src/devtools/vprof/vprof.cpp
rename : js/src/vprof/vprof.h => js/src/devtools/vprof/vprof.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
extra : rebase_source : b328f1463668e12052cb3d8af14d13c2b2f0f91d
2012-08-27 09:13:44 -07:00
Till Schneidereit
faa927d6b6 Bug 785645 - Support constructors in self-hosted JavaScript. r=luke
--HG--
extra : rebase_source : 9d56165f8875d0ebb8d89e88d92492c21fc6b74c
2012-08-29 00:11:13 +02:00
Ryan VanderMeulen
bfa21d0998 Backout 8803fd630316 (bug 783950) and b0d9390b60c6 (bug 778414) due to bustage on a CLOSED TREE. 2012-08-28 18:20:23 -04:00
Martin Husemann
f5d1821942 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Landry Breuil
df9b939699 Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-28 23:00:40 +02:00
David Anderson
fd69d8ac9d Backed out changeset 0f9b4d3635b6. 2012-08-27 02:24:58 -07:00
David Anderson
aad6d8651b Diagnostic patch #2. 2012-08-26 23:39:43 -07:00
David Anderson
7e59e8f166 Backed out changeset a7e6b53bda77. 2012-08-26 23:39:06 -07:00
David Anderson
3036a44684 Temporary debug instrumentation for talos. 2012-08-26 21:55:58 -07:00
Luke Wagner
b4884af740 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
13b4317e28 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
Alex Keybl
6458cc3fa4 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Luke Wagner
37b2170d76 Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett) 2012-08-27 09:13:44 -07:00
Gabor Krizsanits
a4a418d2ac Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Benjamin Peterson
de7d529c1c Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Benjamin Peterson
c7110f1a4e Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00
Bob Clary
b814c458f7 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Brian Hackett
303e3260b2 Tweak condition for triggering Ion compilation from JM, bug 774253. r=dvander 2012-08-25 06:29:43 -06:00
Sean Stangl
66701a3620 No bug - Don't output LIR ID around instructions in debug builds. r=dvander 2012-08-24 16:03:57 -07:00
Brian Hackett
c6ec6b0f9f Restore old behavior for triggering compilation with parallel compilation off, bug 774253. r=dvander 2012-08-24 14:01:43 -06:00
Nicolas Pierron
6c343080a0 Revert "Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke"
This reverts changeset 4c24e4fc3472.
2012-08-24 02:24:49 -07:00
Nicolas B. Pierron
7eddfe50db Bug 761473 - Snapshots, use the same upper-bound variables. r=dvander 2012-08-23 23:11:16 -07:00
Nicolas Pierron
e54796e573 Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke 2012-08-23 22:45:32 -07:00
Alex Crichton
83c94d49ec Bug 785268: Clean up the style/design of the instrumentation. r=dvander 2012-08-23 18:31:02 -07:00
Brian Hackett
965fd4a70b Use PR_NotifyCondVar when only one worker thread needs to wake up, bug 785206. r=sstangl 2012-08-23 17:47:18 -06:00
Brian Hackett
93f90669cb Assert successful return of PR_WaitCondVar, bug 785201. r=sstangl 2012-08-23 17:40:38 -06:00
Brian Hackett
f316a8bc4c Don't pass reference parameter to constructor in x->new_<LIRGraph>, bug 774253. r=dvander 2012-08-23 16:37:06 -06:00
Brian Hackett
cc6b700bf4 Don't leak malloc'ed contents of vectors in LIRGraph, bug 774253. r=dvander 2012-08-23 16:34:23 -06:00
Alex Crichton
bef02656dd Bug 736299: Prevent the frame pointer from being allocated when profiling is enabled. r=nbp 2012-08-23 12:40:49 -07:00
Alex Crichton
30c4756c19 Bug 781979 - Part 2: Track the line number for profiling in IonMonkey. r=nbp,djvj 2012-08-23 12:40:48 -07:00
Alex Crichton
f3cf0ef464 Bug 781979 - Part 1: Template SPSInstrumentation and move it to SPSProfiler.h. r=bhackett 2012-08-23 12:40:48 -07:00
Alex Crichton
3a7dc0fdbd Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett 2012-08-23 12:40:48 -07:00
Sean Stangl
b5fe268d16 No Bug - Fix 40-column emacs/vim tab declarations in certain files. no_r 2012-08-23 12:32:20 -07:00
Luke Wagner
a688f5b795 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
b95f39c7d8 Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
cf01c2b4c5 Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Ehsan Akhgari
f33b9f1461 Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley 2012-09-06 21:59:33 -04:00
Jeff Walden
9d8db6b467 Add #include guards to jsversion.h. No bug, r=howtheheckwerethesenottherebefore
--HG--
extra : rebase_source : 89499382057938c51ebdbf1bb70467cba8b5ca5d
2012-09-06 17:51:42 -07:00
Jeff Walden
65a4f01760 Fix clang warnings on extraneous semicolons after member function definitions, implicit NULL-to-bool conversions, and the utter deadwood-ness of PCStack::cx. No bug, r=themaid, r=sfink
--HG--
extra : rebase_source : ba7420a9d61edfd25ebbea81771b640091d14de2
2012-09-06 16:50:46 -07:00
David Anderson
9618644f2b Add bogus --disable-ion build flag (bug 789319, r=sstangl). 2012-09-06 16:42:54 -07:00
Jan Beich
47a646240c Bug 787904 - Use 8k pagesize on FreeBSD ia64/sparc64. r=terrence 2012-09-06 21:46:47 +02:00
Jason Orendorff
06dcb661c4 Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 2, split PNK_FUNCTION{DECL,EXPR}. r=Waldo.
--HG--
extra : rebase_source : 162c415d5daf356bc89e30ff53358f5eab8e6073
2012-09-06 11:19:56 -05:00
Jason Orendorff
d31e5f54fc Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 1, split PNK_FUNCTIONNS from PNK_FUNCTION. r=Waldo.
--HG--
extra : rebase_source : c43f674bd7dd6ad86050342d07566407ece5c4aa
2012-09-06 08:19:01 -05:00
Jason Orendorff
b503202d1b Minor improvements to js::frontend::ParseNode::dump(). Bug 788227, r=Waldo.
--HG--
extra : rebase_source : f671f221a28240fc249653758255c2c679d09c95
2012-09-06 08:13:10 -05:00
Jason Orendorff
005def8f80 Rename PNK_RB and friends to more meaningful names. Bug 788222, r=Waldo.
--HG--
extra : rebase_source : 756f5b4a3bed9ac4924e9ba0712bfdb62858441c
2012-09-06 08:00:33 -05:00
Jason Orendorff
ce886dcb0f Add ParseNode::as<T>(). Bug 788220, r=luke.
--HG--
extra : rebase_source : 41510e3bdc3f13f891ab0019c5c467534d0aca50
2012-09-06 07:58:29 -05:00
Brian Hackett
674c59919e Enable worker threads, bug 774253. 2012-08-23 08:17:48 -06:00
Brian Hackett
652656bad8 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-23 06:56:35 -06:00
Eric Faust
8bfeeee008 Bug 781855 - Ensure setprop caches allow 'own' property markings on added properties. (r=bhackett) 2012-08-22 23:21:19 -07:00
David Anderson
44cc0c4f11 Backout 4225ee7e35a0. 2012-08-22 22:23:11 -07:00
David Anderson
cf970f1f45 Backed out changeset c1b7927df546. 2012-08-22 22:19:06 -07:00
Nicolas B. Pierron
db16ad2501 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 18:27:38 -07:00
Brian Hackett
5717c18280 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-22 19:00:33 -06:00
Sean Stangl
00273dffab Bug 784568 - Build on foreign compilers. no_r 2012-08-22 17:54:45 -07:00
Sean Stangl
a0de22ce01 Bug 784568 - Refactor calls for clarity. r=dvander 2012-08-22 16:57:06 -07:00
David Anderson
188c88907e Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
f953d0daae Fix merge bustage. 2012-08-21 18:58:10 -07:00
David Anderson
1ef4c57410 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Eric Faust
497dfe5e4e Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv) 2012-09-04 14:46:38 -04:00
Brian O'Keefe
a33b199401 Bug 649567 - Propagate atributes on Arguments object properties. Patch also partially by Tom Schuster <evilpies@gmail.com>. r=jwalden
--HG--
extra : rebase_source : 237525c25bb4e3cdc3a2a4ee1553a892b76de3b4
2012-08-31 15:37:28 -07:00
Marty Rosenberg
57aaf7bba6 Try to flush the instruction/data cache less frequently (bug 781510, r=dvander) 2012-08-21 11:12:39 -04:00
Nicolas B. Pierron
b4a3a859dd Bug 781660 part 1 - Follow goto's target if identical to the reconstructed one. r=luke 2012-08-21 00:01:02 -07:00
Shu-yu Guo
5e7859bd23 Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin) 2012-08-20 22:02:18 -07:00
Shu-yu Guo
f589c14e25 Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin) 2012-08-20 22:02:11 -07:00
Shu-yu Guo
cd0e42e626 Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin) 2012-08-20 22:02:04 -07:00
Bobby Holley
da84660fd1 Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-20 21:03:44 -07:00
Nicolas B. Pierron
030d7d8ff9 Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett"
This reverts changeset 8b2c0239f5bc.
2012-08-20 16:55:38 -07:00
Bobby Holley
d91593dc3f Bug 783989 - Return false after reporting error. r=ejpbruel 2012-08-20 14:04:26 -07:00
Gina Yeh
b9012edcf5 Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kannan Vijayan
f5fbf900f3 Bug 783008 - Use better heuristics for recompile checks from JM on behalf of Ion. (r=dvander) 2012-08-20 16:31:53 -04:00
Nicolas B. Pierron
f41cc9da17 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-20 13:10:05 -07:00
Mike Hommey
6d0f18d429 Bug 783950 - Refresh libffi patches. r=ted 2012-08-20 08:57:13 +02:00
Eric Faust
afde7fde58 Bug 783590 - Stop attempting to optimize prototypal getter callsites on watched objects. (r=sstangl) 2012-08-18 02:12:20 -07:00
Jan de Mooij
fd6829f7c8 Bug 783574 - Remove useMethodJIT, it was not always updated correctly. r=dvander 2012-08-18 10:01:24 +02:00
Nicholas Nethercote
02a17d8ea9 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
440f66cd8a Bug 784608 (part 7) - Change the form and meaning of ParseContext::innermostWith, and do follow-up simplifications. r=luke.
--HG--
extra : rebase_source : 035c8976f4767235c5f88f0440401c668c7676a8
2012-08-23 16:50:25 -07:00
Nicholas Nethercote
230074bf69 Bug 784608 (part 6) - Rename some parsing and emitting variables. r=luke.
--HG--
extra : rebase_source : c21e322bb37172ca45ddac032a851465545fd2b8
2012-08-22 23:16:05 -07:00
Nicholas Nethercote
fdc6f399fd Bug 784608 (part 5) - Rename some FunctionBox method args. r=luke.
--HG--
extra : rebase_source : 19ad67052ec6df71d1a5a1d68a8f21487c7c8d8f
2012-08-22 20:12:44 -07:00
Nicholas Nethercote
567dc0920b Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
f8b702a39f Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
4e8316615c Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
19c7ca4aaa Bug 784608 (part 1) - Remove FunctionBox::inLoop. r=jimb.
--HG--
extra : rebase_source : 451f30919691a128c0003b0e763a3e50d6f627bf
2012-08-21 23:55:51 -07:00
Shu-yu Guo
1bf739b2d2 Bug 784873 - Improve ParallelArray jit-test code (r=dvander) 2012-08-26 12:02:42 -07:00
Jason Orendorff
f9227f858d Bug 778851 - Disable E4X in content by default. 2012-08-26 09:04:33 -05:00
Mike Hommey
397a7e6544 Backout changeset a1ba35958b98 (bug 781529) because of a gcc bug that leads to bug 785679 2012-08-26 10:15:10 +02:00
Jan de Mooij
ac0cb4e571 Bug 783272 - Remove code to eagerly spill phis if there's no register available. r=dvander 2012-08-17 11:37:53 +02:00
Jan de Mooij
91f5c6156c Bug 783290 - LMathD should allow memory operands on x86/x64. r=dvander 2012-08-17 09:40:33 +02:00
David Anderson
3da139adc8 Forbid JITing annotated frames (bug 763233, r=mrbkap,jandem). 2012-08-16 18:26:11 -07:00
Nicholas Nethercote
05e9db6ab1 Bug 770865 - Rename TreeContext as ParseContext. r=luke.
--HG--
extra : rebase_source : 91846a909a39ca08aae0e6ccd7a9e5e533775324
2012-08-16 17:04:54 -07:00
David Anderson
565400115a Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
Brian Hackett
e4527e1b76 Use a common type object for inner arrays of array initializers, bug 782590. r=jandem 2012-08-16 07:14:51 -06:00
Jan de Mooij
0a52f99fae Bug 782977 - Don't inline monomorphic getprop/setprop if there were uncacheable lookups. r=dvander 2012-08-16 10:30:08 +02:00
David Anderson
d52687ed20 Remove JS_FrameIterator (bug 732653, r=luke,mrbkap). 2012-08-15 17:28:33 -07:00
David Anderson
6fe112e8bf Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Shu-yu Guo
f565ae544d Bug 784201 - Use maybeShortid to print out shortid in Shape::dump (r=luke) 2012-08-20 17:04:45 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Olli Pettay
16a0618b95 Bug 783376 - codegenerator should be able generate implementations which inherit other simple events, r=khuey 2012-08-20 11:20:25 -07:00
Ed Morley
86bd51ea45 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-20 16:45:41 +01:00
Rafael Ávila de Espíndola
45552fbbef Bug 783505 - OS X gcc builds failing. r=jorendorff.
This patch adds a workaround for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
2012-08-20 10:36:30 -04:00
Ginn Chen
6a9fa4c810 Bug 783533 testValueABI.cpp and valueABI.c should use same prototype of C_ValueToObject() r=bhackett 2012-08-20 16:27:14 +08:00
Landry Breuil
650050edd4 Bug 777357: declare mjit namespace outside of #ifdef JS_METHODJIT, fixes non-mjit builds. r=bhackett 2012-08-20 09:59:37 +02:00
Nicholas Nethercote
52fc19d5d1 Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.
--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/SharedContext-inl.h
rename : js/src/frontend/TreeContext.h => js/src/frontend/SharedContext.h
2012-08-16 22:05:51 -07:00
Nicholas Nethercote
ca12a195c0 Bug 782871 (part 1 ) - Move TreeContext and related things into the Parser module. r=jorendorff. 2012-08-16 21:29:03 -07:00
Nicolas B. Pierron
7e353e83b9 Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett" CLOSED TREE
This revert changeset 1906fe4159fe.
2012-08-20 13:56:25 -07:00
Nicolas B. Pierron
7f175f0bf6 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-20 13:12:43 -07:00
Gina Yeh
392f4dff11 Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Kannan Vijayan
51613961ca Rolling back patch for bug 782432. Causes regressions in 32-bit SS. 2012-08-15 13:03:10 -04:00
Eric Faust
b1559913eb Bug 782869 - Fix incorrect |this| parameter passing to specialized DOM methods. (r=dvander) 2012-08-15 00:14:20 -07:00
David Anderson
b95f463253 Don't aggressively fold misused Math functions into returning NaN (bug 782087, r=sstangl). 2012-08-14 19:09:49 -07:00
Nicolas B. Pierron
13629111b2 Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-15 01:39:25 +02:00
Sean Stangl
f6e9c3b768 Bug 782776 - Add beginsIonActivation() to StackFrame. r=dvander 2012-08-14 16:28:05 -07:00
Eric Faust
5ee7d8e98d Bug 781364 - Don't attempt to inline monomorphic IC accesses on dictionary mode shapes. (r=dvander) 2012-08-14 16:20:19 -07:00
David Anderson
013577de49 Don't mark Ion activations that are tied to the method JIT (bug 782083, r=jandem). 2012-08-14 12:26:59 -07:00
David Anderson
a31e5baded Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
Sean Stangl
69f167ac52 Bug 782129 - GetPcScript() should use the Ion version when callingIntoIon(). r=dvander 2012-08-13 18:14:55 -07:00
Kannan Vijayan
9773cee987 Bug 782432 - Ion-compile small functions more aggressively. (r=dvander) 2012-08-13 19:41:17 -04:00
David Anderson
7ef28ac5ac Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Tom Schuster
f0fd4f5682 Bug 782077 - IonMonkey: Remove MIRType_Any and MIRType_UpvarSlots. r=jandem 2012-08-13 15:02:43 +02:00
Brian Hackett
34c388b203 Preserve types when swapping objects, bug 774953. r=dvander 2012-08-13 23:25:16 -06:00
Nicholas Nethercote
613f8f933c Bug 782487 - Remove traces of JSStaticAtom. r=billm.
--HG--
extra : rebase_source : 89e892e3e6ca04f0c19747f189535b3e3ae95d77
2012-08-13 20:02:51 -07:00
Alexander Boldyrev
45a38ebb0b Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Brian Hackett
c6ce57ce13 Don't generate missing property ICs for non-native objects, bug 782146. r=luke 2012-08-13 18:51:52 -06:00
Nicholas Nethercote
d5bb285d32 Bug 781722 - Loosen over-tight assertion in JS_GetGlobalForScopeChain.
--HG--
extra : rebase_source : eb94fcced7bc3584de4c43ca511d3d7c0ed3dc20
2012-08-12 16:40:58 -07:00
Nicholas Nethercote
539c810754 No bug - Fix some JSString comments. r=luke, DONTBUILD because comment-only changes. 2012-08-13 16:35:45 -07:00
Sean Stangl
049a509802 Bug 781985 - visitCallDOMNative() must dropArguments(). r=efaust 2012-08-10 18:05:04 -07:00
David Anderson
64aae39e91 Remove parallelarray tests. 2012-08-10 15:49:43 -07:00
David Anderson
a86553e6e6 Remove IonMonkey-specific ParallelArray from the IonMonkey branch, in anticipation of a newer mozilla-central version. 2012-08-10 15:49:13 -07:00
David Anderson
ec11ba4733 Fix typo in rebase of bug 759205. 2012-08-10 15:36:08 -07:00
David Anderson
6497a31d87 Propagate stack overrecursion errors through ion::Bailout (bug 759205 part 2, r=pierron). 2012-08-10 15:29:48 -07:00
David Anderson
02e4709209 Factor out common bailout generation code (bug 759205 part 1, r=sstangl,mjrosenb). 2012-08-10 15:14:21 -07:00
David Anderson
f338a91404 Fix register allocation bug in the JM to Ion call IC (bug 779595, r=jandem). 2012-08-10 14:13:28 -07:00
David Anderson
efd9a9feee Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
Sean Stangl
5107b7b160 Bug 781680 - Track IonCode in MemoryMetrics. r=dvander 2012-08-10 11:32:57 -07:00
Kannan Vijayan
f7b14e9325 Bug 780842 - Check for normalized type id in annotateGetPropertyCache. (r=jandem) 2012-08-10 11:10:23 -04:00
Kannan Vijayan
8fdbbd3ceb Add ion-eager file flag to jit-tests. (r=jandem) 2012-08-10 11:09:30 -04:00
Tom Schuster
8cc3e6c3e3 Bug 764477 - IonMonkey: Inline Math.max and Math.min. r=jandem, mrosenberg 2012-08-10 14:17:26 +02:00
David Anderson
c77c33749b Fix x64 bustage, part 2.
--HG--
extra : rebase_source : 3389115aa9d3898482bf8cecacf802ba2033ca7c
2012-08-09 23:16:26 -07:00
Hannes Verschore
01a1da80bf Bug 781248, eagerly allocate arrays with argument count higher than 1 2012-08-10 03:11:56 +02:00
Hannes Verschore
c5dfb39b3f Back out b07af1efa3dd (Bug 781248) for better fix 2012-08-10 03:01:52 +02:00
David Anderson
133fe06f47 Fix ARM bustage. 2012-08-09 17:52:59 -07:00
David Anderson
447c479dc0 Fix x64 bustage. 2012-08-09 17:19:31 -07:00
David Anderson
bc1eeba083 Overhaul safepoints on X64 to correctly mark Values (bug 779390, r=pierron). 2012-08-09 17:12:34 -07:00
David Anderson
16caf5a06d Ensure type barriers are run when inlining JM to Ion calls (bug 777788, r=jandem).
--HG--
extra : rebase_source : 61fe26467155ec4e099115e446cddcc27d732dad
2012-08-09 17:06:55 -07:00
Kannan Vijayan
24b3923567 Bug 780838 - Dont push unnecessary arguments in between GetProp and Call in poly-inline fallback case. (r=dvander) 2012-08-09 17:08:37 -04:00
David Anderson
20c60a5e93 Make sure |new Array| can take the slow allocation path (bug 781248, r=pierron). 2012-08-09 13:44:29 -07:00
David Anderson
b620fb6c5c Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Nicolas B. Pierron
d7aeebe000 Bug 780451 - ReconstructPCStack: Use hidden pcdepth after branching with a hidden goto. r= 2012-08-09 20:33:21 +02:00
Nicolas B. Pierron
84efde386e Bug 780274 - Remove & Invalidate pending compilation when sweeping. r=bhackett 2012-08-09 20:19:58 +02:00
Hannes Verschore
5e83c1314d Bug 766752: Add trace logging, r=jandem 2012-08-09 15:29:21 +02:00
Jan de Mooij
9fbd4a70ad Bug 781145 - Add a fast path to js::GetProperty for string/array length. r=dvander 2012-08-09 14:48:50 +02:00
Nicolas B. Pierron
bbb3338389 Bug 779245 - Fix isConstructing when JM is calling into Ion. r=dvander 2012-08-08 17:19:02 -07:00
Eric Faust
0c664efd4e Bug 773549 - Implemented inlined calls to specialized DOM methods. (r=sstangl) 2012-08-08 17:02:46 -07:00
Eric Faust
f086d02bd6 Bug 747288 - Implemented inlined calls to specialized DOM accessors. (r=sstangl) 2012-08-08 17:02:46 -07:00
Sean Stangl
9748453131 Bug 781368 - Fold TypeOf strings in MConstant. r=efaust 2012-08-08 16:32:15 -07:00
Kannan Vijayan
8f231bb35d Bug 731214 - Fix nit that I forgot to fix before pushing. (r=mjrosenb) 2012-08-08 18:57:57 -04:00
Kannan Vijayan
508a7669ce Bug 781214 - Ensure plain-ness of template object before looking up properties on it in jsop_initprop. (r=mjrosenb) 2012-08-08 18:51:24 -04:00
Nick Fitzgerald
1528e73f0a Bug 774471: Store source map URLs in the ScriptSource, not on each JSScript. r=jimb 2012-08-13 12:39:57 -07:00
Bill McCloskey
c31671f405 Bug 781945 - Improve GC telemetry (r=mccr8) 2012-08-13 10:30:44 -07:00
David Anderson
6c6f8f0f70 Fix CompilerRootNode misuse in MIR (bug 781022, r=kvijayan). 2012-08-08 15:16:56 -07:00
David Anderson
c9ca5124db Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
2cc047017f Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg 2012-08-22 11:57:22 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Shu-yu Guo
54fafb5e95 Bug 767961 - Only mark properties as definite if we could analyze the entire constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
aa780996c2 Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
63f35e865e Bug 783924 - Part 1: Fix ParallelArray constructor being called with non array-like objects (r=dmandelin) 2012-08-21 12:29:46 -07:00
Brian Hackett
d80b30ab38 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Bobby Holley
625511572e Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
Luke Wagner
083ee54000 Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
Luke Wagner
d2b8e1571a Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff) 2012-08-20 13:45:54 -07:00
Irving Reid
0e5ea6e34a Bug 782471: Add library name to ctypes Library::Create() error message for easier debugging; r=bholley 2012-08-13 13:23:23 -04:00
Jon Coppeard
74c3890d5f Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm 2012-08-21 09:58:30 +01:00
Jon Coppeard
a031bef656 Bug 782993 - Part 1: Always sweep background things at the end r=billm 2012-08-21 09:47:15 +01:00
Jon Coppeard
805b2a0428 Bug 779897 - GC: Use arenaListsToSweep to queue arenas for background as well as foreground sweeping r=billm 2012-08-21 09:45:33 +01:00