Nicholas Nethercote
fe84216e70
Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander.
2012-09-19 18:16:49 -07:00
Terrence Cole
8a32cd48a9
Bug 785551 - Remove an orphaned variable: r=Waldo
...
--HG--
extra : rebase_source : 39b2cd075977cd5ae13d4055fda2658a8cb2cede
2012-09-19 17:00:03 -07:00
Luke Wagner
31ed2ae6c2
Bug 786801 - Fix perf regression from adab1fdcfe0a by using currentScript again (r=jorendorff)
...
--HG--
extra : rebase_source : e04b138fa3f68ec893e546a601318923b6655aff
2012-09-19 15:35:42 -07:00
Terrence Cole
e435199147
Bug 785551 - Do not allow inline JSString chars in the frontend; r=luke
...
We need direct access to jschar*s in the frontend (and some other places) for
speed, but if these pointers are inlined into JSStrings then a GC may invalidate
them. This patch ensures that we uninline JSStrings before they enter any of
these regions.
--HG--
extra : rebase_source : ddf62ad2a47b522aa9157be8bd0643022b20909b
2012-08-28 10:28:19 -07:00
Sean Stangl
9263053a92
Bug 791589 - Mark the ArgumentsRectifier in visitApplyArgsGeneric(). r=mjrosenb
2012-09-19 15:28:16 -07:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Benjamin Peterson
1d69909130
Bug 777061 - Don't count defaults in the length property of functions. r=jorendorff
2012-09-19 16:46:16 -04:00
Sean Stangl
04d37de716
Bug 777186 - Detect NULL return from newBlock(). r=dvander
2012-09-19 12:18:00 -07:00
Luke Wagner
2aced2605b
Bug 786801 - js_InferFlags should not stop at compartment boundaries (r=bhackett)
...
--HG--
extra : rebase_source : 19804a0ae5802a3b8a5b540c4b840aa75f3f3223
2012-09-04 14:31:04 -07:00
Andrew McCreight
3cc4e1e63a
Bug 782792 - convert XPCJSRuntime::mJSHolders to nsTHashtable. r=bholley
2012-09-19 09:57:17 -07:00
Nathan Froyd
364bffc4a2
Bug 746223 - remove nsinstall's -l flag; r=glandium
2012-09-19 10:34:02 -04:00
Jan de Mooij
8e73694d1e
Bug 784127 - Purge JM caches when a shape guard fails in Ion. r=sstangl
2012-09-19 13:18:54 +02:00
Bobby Holley
9307d49238
Bug 790905 - Replace no-op principal check with something real. r=luke
...
This would have caught this bug.
2012-09-19 11:15:24 +02:00
Gabor Krizsanits
a7ba877db5
Bug 791845 - mozMatchesSelectorStub should return false on error. r=bholley
2012-09-19 10:53:42 +02:00
Nicholas Nethercote
35184b741b
Bug 791611 (part 2) - Remove unnecessary |script| arg to TypeCompartment::newTypeObject(). r=sfink.
...
--HG--
extra : rebase_source : 793ff656d8e5e12988a1fb77b80fb7f7271118f2
2012-09-18 21:04:07 -07:00
Nicholas Nethercote
cc1fa77fc3
Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
...
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
Nicholas Nethercote
d343c595d8
Bug 790146 - Neaten up some JSScript map handling. r=jorendorff.
2012-09-10 23:03:00 -07:00
Luke Wagner
e61972c84b
Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
...
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Terrence Cole
7b2d2c3062
Bug 792218 - Get more jsreftests green on the rooting analysis; r=sfink
...
This adds correct rooting of several JSScript* and UncachedCallResult that are
blocking jsreftests from passing in root analysis mode. Additionally, this
removes the unused implicit TlsRuntime constructor for Rooted: callers should
pass this manually so that they are easier to track.
2012-09-12 16:09:04 -07:00
Sean Stangl
8c59e4e259
Bug 792234 - Remove erroneous folding for MDiv. r=dvander
2012-09-18 15:31:58 -07:00
Luke Wagner
0ebf25f2e4
Bug 792237 - don't expose outstanding request count, just whether a context is active (r=mccr8)
...
--HG--
extra : rebase_source : 319ebfef9b1212619f9d7b6132c326587cc7625d
2012-09-04 15:22:05 -07:00
Sean Stangl
2728b3082f
Bug 789300 - Properly detect NaN truthiness. r=dvander
2012-09-18 14:18:38 -07:00
Jim Blandy
461e4c0d86
Bug 781439: Trim js/src/jit-test/tests/debug/Environment-find-06.js, and remove assertions. r=luke
...
slotCount() is O(n) on BlockObjects, so that, when used from a loop, those
assertions brought about quadratic behavior. The test creates 'let' blocks
with thousands of bindings, making the quadratic behavior show.
The assertions are unnecessary, as getSlotRef and setSlot do their own
bounds checking. I believe the test can be just as effective with smaller
'let' blocks.
2012-09-18 11:31:15 -07:00
Jan de Mooij
1732cf7548
Bug 792001 followup - Pass jschar to hasUnit/getUnit. r=pierron on IRC
2012-09-18 17:04:45 +02:00
Jan de Mooij
5f089c5033
Bug 792001 - Fix race condition with inlined String.fromCharCode. r=pierron
...
--HG--
extra : rebase_source : 275c53293443fec806ad8cf775173d9fdff698ab
2012-09-18 16:11:05 +02:00
Jason Orendorff
0eb5db15e6
Bug 788356 - Fix memory leak in evaluate(). JS shell only; this code is not part of the browser. r=Waldo.
2012-09-18 06:03:23 -05:00
Jason Orendorff
0317647306
Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 2 - Rewrite IsValidForStatementLHS using early returns. r=Waldo.
2012-09-18 06:03:22 -05:00
Jason Orendorff
6d68b7f853
Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 1 - Move the condition into a helper function. r=Waldo.
2012-09-18 06:03:22 -05:00
Jason Orendorff
926872195f
Bug 728079 - "Assertion failure: pn2->pn_u.binary.iflags & 0x1" with JS 1.7, for-of loop, and destructuring. r=Waldo.
...
--HG--
extra : rebase_source : c395a34587756bcc5e418e2ed04ec9d055ab230d
2012-09-13 07:56:52 -05:00
Jeff Walden
e281d53768
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
2012-09-11 10:32:33 -07:00
Jeff Walden
b55d67b19e
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
2012-09-10 20:42:08 -07:00
Jeff Walden
9f584d33f6
Fix all clang warnings introduced by the Ionmonkey landing (and one or two predating it). No bug, r=dvander over IRC
...
--HG--
extra : rebase_source : 60d83d511c3e1cb7c1673f5c5e7800996716fcc1
2012-09-17 18:02:29 -07:00
Jeff Walden
5bb9436e76
Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
...
--HG--
extra : rebase_source : dcd3f2af4b9e9f9ea0fc98cd4f5ad3559cde4358
2012-09-10 13:27:19 -07:00
Jeff Walden
c471b872a6
Bug 790349 - Define keywords with a higher-order macro. r=jorendorff
...
--HG--
extra : rebase_source : 728450bd46473d7d741c119ecfcf4c3c3f98cbad
2012-09-10 13:27:18 -07:00
Jeff Walden
a7ebfd3cfc
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
...
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
67c5095d13
Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
...
--HG--
extra : rebase_source : 07457587091f60e788a8bddf577514069177b217
2012-09-07 14:42:33 -07:00
Nicholas Nethercote
4c0cbbfb28
Bug 791608 (part 6) - Fix compile warnings about ObjectImpl::writeBarrierPre(). r=jwalden.
...
--HG--
extra : rebase_source : 57115245e52573641978199620c6b5abb6528f79
2012-09-17 17:20:00 -07:00
Nicholas Nethercote
43ec468195
Bug 791608 (part 5) - Fix compile warning about signed/unsigned comparison. r=jwalden.
...
--HG--
extra : rebase_source : a8b8c61addc606a0d17520f3cfac18762836c164
2012-09-17 17:18:32 -07:00
Nicholas Nethercote
93a99b2745
Bug 791608 (part 4) - Fix compile warnings about ObjectImpl::getClass(). r=jwalden.
...
--HG--
extra : rebase_source : dc15218ede7135a3487cb31997e532abccd0d256
2012-09-17 17:16:57 -07:00
Nicholas Nethercote
8ea9e24f58
Bug 791608 (part 3) - Fix compile warnings about JSContext::{enter,leave}Compartment(). r=jwalden.
...
--HG--
extra : rebase_source : 8b184f95cdcff660b9837490e62dbb5c15f267b2
2012-09-17 17:16:23 -07:00
Nicholas Nethercote
831a4ab640
Bug 791608 (part 2) - Fix compile warnings about JSContext::typeInferenceEnabled(). r=jwalden.
...
--HG--
extra : rebase_source : e086bc6c421b2892cf2648c24a0af798159e98f5
2012-09-17 17:15:54 -07:00
Nicholas Nethercote
658af0213b
Bug 791608 (part 1) - Fix compile warnings about JSObject::isFunction. r=jwalden.
...
--HG--
extra : rebase_source : 32e1bd6d65d4c2f6002b40ac0cbdd4955f2ddcdd
2012-09-17 17:11:54 -07:00
Jan de Mooij
2543b6b904
Bug 779411 - Require use-at-start or fixed registers at call instructions. r=sstangl
2012-09-17 17:16:03 -07:00
Javi Rueda
2714e95d5f
Bug 530099 - Remove extensions.getMore* preferences. r=dtownsend
2012-09-17 18:42:36 -04:00
Jeff Walden
9e0a642343
Backed out changeset b6855b090307, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : f7e5b460f3c96ee74a0ba2abbd122c436e134063
2012-09-17 15:11:24 -07:00
Jeff Walden
9c845c1c0a
Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
e70cb19323
Backed out changeset 9eadf573bb38, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 06d158261952934bfb60c0cc1ce38e1cbcede53a
2012-09-17 15:07:42 -07:00
Jeff Walden
491ca7c1dd
Backed out changeset 2cdc9370922f, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 465017bdf909f3fa390e2e676b3421a75c6f5b04
2012-09-17 15:06:58 -07:00
Jeff Walden
3a422e12b3
Backed out changeset cf239b55242a, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 5dc4920582bd2e73e7fa3346ba7b4ec8148a9d0c
2012-09-17 15:06:16 -07:00
Jeff Walden
fed8d27b8a
Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00