Jason Orendorff
7bf894ced1
Back out changeset ac870e3e94f3 due to red on m-i.
2012-07-09 14:39:50 -05:00
Jason Orendorff
bb2ea5126a
Back out changeset a88ce0cbdba6 due to red on m-i.
2012-07-09 14:38:49 -05:00
Jason Orendorff
390c9a2dd5
Bug 770865 - Rename TreeContext to ParseContext. r=njn.
...
--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/ParseContext-inl.h
rename : js/src/frontend/TreeContext.cpp => js/src/frontend/ParseContext.cpp
rename : js/src/frontend/TreeContext.h => js/src/frontend/ParseContext.h
2012-07-09 13:55:04 -05:00
Jason Orendorff
bfff7ba007
Bug 770854 - Put frontend code in the frontend namespace. r=njn.
2012-07-09 13:54:28 -05:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Brian Hackett
548b46b175
Fix --enable-root-analysis builds break, no bug. r=billm
2012-07-09 09:58:22 -06:00
Mike Hommey
4f24ca47f6
Bug 771870 - Avoid js/src/Makefile being created with wrong topsrcdir. r=khuey
2012-07-09 15:47:26 +02:00
Luke Wagner
63ab279d39
Bug 771896 - rm LOAD_ATOM, LOAD_NAME, and 'atoms' from js::Interpret (r=waldo)
2012-07-08 04:31:04 -07:00
Luke Wagner
22b7a4a825
Bug 770795 - add NullPtr and associated Handle constructor (r=billm)
2012-07-08 03:00:11 -07:00
Ryan VanderMeulen
623e378e7a
Backout 2dd36c1cd662 (bug 771320) due to red.
2012-07-08 16:50:32 -04:00
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