Commit Graph

19554 Commits

Author SHA1 Message Date
Cameron Kaiser
1def53eae4 Bug 771320 - Use payloadOf/PAYLOAD_OFFSET when constructing PIC stubs. r=bhackett 2012-07-08 16:33:41 -04:00
Bill McCloskey
76ac85af05 Bug 771720 - Improve GC data collection (r=terrence) 2012-07-08 10:24:32 -07:00
Eddy Bruel
560a0f014c Bug 703537: Rename AbstractWrapper to IndirectWrapper + adding comments; r=bholley 2012-07-08 19:04:14 +02:00
Luke Wagner
a7b1dd068c Remove unnecessary decls (mostly to trigger a clobbering rebuild) (no bug, r=me) 2012-07-07 21:26:14 -07:00
Alex Crichton
13a898fcad Bug 770663 - Add a JS shell function to turn on a static profiling stack (r=luke)
--HG--
extra : rebase_source : 7e7ad51d73d5a517ef6bb9d62255e673944b4330
2012-07-05 10:43:50 -07:00
Alex Crichton
cd618d4e33 Bug 761261 - Add JS profiling to SPS (r=luke,ehsan)
--HG--
extra : rebase_source : 328a82697aa9a9f63d18c7a30a813f436e163922
2012-06-20 17:58:55 -07:00
Jeff Walden
5033396fac Bug 771742 - Refactor the date to-UTC-string methods to not use date_format_utc. r=luke
--HG--
extra : rebase_source : 3e56e0bcf6d26aa16e56a7558f21329d9bf48cf7
2012-07-06 15:35:45 -07:00
Jeff Walden
3eac4cef53 Bug 771742 - Refactor the date to-locale-string methods to do their method-guarding right at the start, and never in nested method calls. r=luke
--HG--
extra : rebase_source : 736038a0511730eea9cf8c87c720ea1d5e10bd8c
2012-07-06 15:26:11 -07:00
Jeff Walden
8c6e1140e9 Bug 771742 - Reimplement the Date.prototype.set<date component> functions in terms of their spec steps, and remove the hard-to-understand date_makeDate. r=luke
--HG--
extra : rebase_source : 84ced3e65ab44f2e0440c8e24bb9b70d12259940
2012-07-06 13:53:11 -07:00
Jeff Walden
d68f5c5e3e Bug 771742 - Reimplement the Date.prototype.set<unit of time> functions in terms of their spec steps, and remove the hard-to-understand date_makeTime. r=luke
--HG--
extra : rebase_source : cf070e258834853ebe24ec9cf0027de1d194a62c
2012-07-06 13:53:10 -07:00
Jeff Walden
49aaa718a1 Bug 771742 - Reorganize all the date/time spec algorithms and constants to be in spec order (when possible), have proper types, be methods rather than macros, and so on. This will make it easier to refactor some of the Date method implementations to read more like the spec algorithms. r=luke
--HG--
extra : rebase_source : 66fb1c02124713ffa3fb66afde15dc075f309744
2012-07-06 13:52:53 -07:00
Jason Orendorff
b36af0f7f2 Bug 768313 - Crash with newGlobal, newContext, --dump-bytecode, happens because jaeger inlines the non-pccount script into the pccount script, r=bhackett 2012-07-07 16:06:09 -07:00
Rafael Ávila de Espíndola
74a6dda7b8 Bug 771683 - Mark some functions MOZ_ALWAYS_INILINE. r=bzbarsky.
When compiling with gcc 4.2 these functions get inlined, but then
again, gcc 4.2 inlines almost anything.

With clang, newer versions of gcc and msvc marking these functions
with MOZ_ALWAYS_INLINE is a win. I assume part of the perf win
gcc 4.5 and msvc get with pgo is from noticing these are hot
and inlining them.

Without PGO it is hard for the compiler to know that this is a
win. With clang this does increase the codesize by about 6%.

The wins from inlining are
* Stack variables (rv in particular) which have their address taken
and are passed as outparams to these functions can go in registers.
* We find that nothing set mCcxToDestroy and ~XPCLazyCallContext
(which is already inlined) can be simplified.
2012-07-06 21:18:17 -04:00
Luke Wagner
953c6a1d7f Bug 770407 - Remove overzealous assert in CrossCompartmentWrapper::nativeCall (r=waldo)
--HG--
extra : rebase_source : 3ba26a72d57b6af9854814a7ccca5c66dad2a597
2012-07-03 18:51:02 -07:00
Jason Orendorff
5a4279d4f3 Bug 770850 - Reimplement DefnOrHeader as DefinitionList. r=njn. 2012-07-06 16:33:58 -05:00
Jason Orendorff
ec7dba8378 Bug 770849 - Move StmtInfoBCE to BytecodeEmitter.cpp. r=njn. 2012-07-06 16:32:57 -05:00
Jason Orendorff
7e22fd0dc8 Bug 770846 - Convert some macros to methods and flags to bitfields in TreeContext.h. Part 4: move isFunctionBodyBlock to StmtInfoTC. r=njn. 2012-07-06 16:32:04 -05:00
Jason Orendorff
cbe94c4c62 Bug 770846 - Convert some macros to methods and flags to bitfields in TreeContext.h. Part 3: GOSUBS and friends. r=njn. 2012-07-06 16:31:33 -05:00
Jason Orendorff
2926bd8d3d Bug 770846 - Convert some macros to methods and flags to bitfields in TreeContext.h. Part 2: StmtInfoBase::flags. r=njn. 2012-07-06 16:31:10 -05:00
Jason Orendorff
d1b726aa3b Bug 770846 - Convert some macros to methods and flags to bitfields in TreeContext.h. Part 1: STMT_IS_TRYING and friends. r=njn. 2012-07-06 16:30:39 -05:00
Kyle Huey
fc74c5d76f Bug 765936. r=bent,peterv 2012-07-06 10:28:51 -07:00
Jason Orendorff
5fa6604e22 Bug 695908 - Use bool in js/src/frontend rather than JSBool. Part 2: JSBool to bool. r=ejpbruel. 2012-07-03 12:37:19 -05:00
Jason Orendorff
8cfe02ab86 Bug 695908 - Use bool in js/src/frontend rather than JSBool. Part 1: true/false literals. r=ejpbruel. 2012-07-03 12:37:00 -05:00
Brian Hackett
8f39f6c99d Check the types of values newly known as doubles at loop heads when entering from the interpreter, bug 769985. r=dvander 2012-07-06 06:54:32 -06:00
Nicholas Nethercote
3e5b5a0e50 Bug 687724 (part 4) - Re-indent JSMemoryMultiReporter's methods. r=bholley.
--HG--
extra : rebase_source : deba800edfc3f55a9016d29acfd91d07a56e2e62
2012-07-05 21:16:11 -07:00
Nicholas Nethercote
c27840e9f1 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Nicholas Nethercote
fce2d7b5db Bug 687724 (part 2) - Make JSCompartment::global() fallible. r=luke.
--HG--
extra : rebase_source : 68a5558772d643ab9f3b32b60a89fdbaf9b5e6ad
2012-07-03 17:25:15 -07:00
Nicholas Nethercote
e134be45fd Bug 687724 (part 1) - Convert JSCompartment::gcRunning to gcState. r=wmccloskey.
--HG--
extra : rebase_source : 5ba4e3b170ffd98495f31dd04a6be46ad33d497b
2012-07-03 17:24:03 -07:00
Siddharth Agarwal
3ff3b5be12 Bug 600522 - Sunspider trace-test 'check-date-format-tofte.js' fails on computers not set to Pacific time. r=dmandelin 2012-07-06 10:38:16 +05:30
Nicholas Nethercote
65965e2124 Bug 770092 (part 4) - Move JSFunction initialization code out of JSScript::fullyInitFromEmitter().
--HG--
extra : rebase_source : ef54cd18e6bc28947ac49d4a11e6590ee697ffd6
2012-07-05 19:35:43 -07:00
Nicholas Nethercote
d6cc43a799 Bug 770092 (part 3) - Move typeSetFunction() from JSScript to JSFunction.
--HG--
extra : rebase_source : 5889ba2bb349a7130440d43952a86e6cf201e677
2012-07-05 19:23:53 -07:00
Nicholas Nethercote
11e9d90176 Bug 770092 (part 2) - Don't set JSScript::function_ in JSScript::fullyInitFromEmitter().
--HG--
extra : rebase_source : 83effb7eabadfcaf7efcd56341191b11e6a05069
2012-07-02 00:03:26 -07:00
Nicholas Nethercote
a29a9cac2f Bug 770092 (part 1) - Move the new script notification code out of JSScript::fullyInitFromEmitter().
--HG--
extra : rebase_source : 03bc8061c11874af7bbf1a9b3edf49bec5601e80
2012-07-02 00:01:54 -07:00
Luke Wagner
fa35904ecb Bug 771242 - Disable the 'arguments' optimization for generators (r=bhackett) 2012-07-05 15:52:28 -07:00
Benjamin Peterson
e497bebe54 Bug 771281 - Remove js shell workers. r=jorendorff 2012-07-05 21:08:02 -04:00
Nicholas Nethercote
e0a30f1240 No bug. Fix two compile warnings. r=luke,jwalden.
--HG--
extra : rebase_source : 9cf85eb1112ac9dcb792eeccc213b887e3c74a31
2012-07-05 17:24:35 -07:00
Bill McCloskey
23554c3fa2 Bug 767074 - Fix bug in barrier verifier (r=bhackett) 2012-07-05 16:38:12 -07:00
Bill McCloskey
b6e81abbe8 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
d57947baca Backed out changeset fe305819d2f2 (bug 771026) for orange 2012-07-04 20:22:30 -07:00
Bill McCloskey
ab72b4aa50 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
252cf2ecc5 Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Luke Wagner
83fa53f7f9 Bug 770261 - hoist eval code into builtin/Eval.{h,cpp} (r=jorendorff)
--HG--
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-03 10:24:35 -07:00
Bill McCloskey
1775e92469 Bug 770999 - Add get() method to Handle<T> and Rooted<T> (r=bhackett) 2012-07-04 13:34:42 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
5842de901d Merge backouts 2012-07-04 19:44:26 -04:00
Ehsan Akhgari
751b028c22 Backout changeset aec1ad4171a1 (bug 769504) because of merge conflicts with the rest of the backouts 2012-07-04 19:44:15 -04:00
Ehsan Akhgari
f051d81342 Backout changeset 8e3bc766092d (bug 725909) because of merge conflicts with the rest of the backouts 2012-07-04 19:43:42 -04:00
Ehsan Akhgari
a809593e1c Backout changeset f44eca03418c (bug 725907 part 5) because of merge conflicts with the rest of the backouts 2012-07-04 19:43:03 -04:00
Ehsan Akhgari
16ddbb65fa Backout changeset b23429ce0d81 (bug 695908) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:28:14 -04:00
Ehsan Akhgari
6310954652 Backout changeset 1e28b1f771c1 (bug 695908) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:27:50 -04:00