Phil Ringnalda
fd7fd21135
Back out 61d58d97747a (bug 721463) on expanded suspicion of GC crashes
2012-02-09 21:02:19 -08:00
Phil Ringnalda
a8b3d39330
Back out 710220a5ac33 (bug 714109) on suspicion of causing GC crashes in browser-chrome
2012-02-09 20:40:59 -08:00
Jeff Walden
a0671bae3d
Bug 725888 - Remove some js_GetClassPrototype calls, using faster methods on GlobalObject instead. Also introduce JS_GetObjectPrototype to retrieve Object.prototype so that a friend API can be made un-friendly. r=dmandelin
...
--HG--
extra : rebase_source : d68d7f1fdcc1bc9a1a027c08ea62bebd8e9d0178
2012-02-07 11:45:18 -08:00
Terrence Cole
f4487ecc88
Bug 714109 - Add missing barriers to Generator; r=billm
...
The generator object stores aside values from the stack of the generator
function when the generator is not running. These values need to properly root
objects in the nursery.
2012-01-03 11:50:07 -08:00
Terrence Cole
1e34ebbb78
Bug 721463 - Clean up and minimize marking interfaces; r=billm
...
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.
--HG--
extra : rebase_source : 34797ffbdc8940d3de312b650163910ad8b1b728
2012-01-24 19:34:44 -08:00
Igor Bukanov
3638c8cf65
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
55704654e7
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Jeff Walden
b8e00ef503
Warning patrol. No bug, r=themaid
...
--HG--
extra : rebase_source : 1e5d09b39c41229086d25f3e0368441c7d9ce3f1
2012-02-09 11:43:52 -08:00
Jeff Walden
638e9fa48e
Bug 722121 - Remove the last now-unnecessary uses of CheckRedeclaration from JSOP_GETTER/JSOP_SETTER, as syntactically we guarantee no conflicts are possible. r=jorendorff
...
--HG--
extra : rebase_source : f9b9bac41153cd269e3d9a4f02a4bd6f963b82fa
2012-01-28 23:13:12 -08:00
Jeff Walden
c0a49d053b
Bug 722121 - Remove JSOP_DEFFUN_FC, because it can never be generated. r=jorendorff
...
--HG--
extra : rebase_source : 75d2fd13bfa2b706bbc6f82493b5bd23d241e8ce
2012-01-28 22:46:08 -08:00
Jeff Walden
cff574d67b
Bug 722121 - Remove uses of CheckRedeclaration from defvar/defconst. r=jorendorff
...
--HG--
extra : rebase_source : 01545432f592a4c9e1cf2a2df13ffd7c233e3733
2012-01-28 22:09:15 -08:00
Igor Bukanov
ca990d2064
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Terrence Cole
929648f248
Bug 720439 - Generalize the Chunk allocator; r=igor
...
These are currently hard-coded to the size and alignment required by Chunk.
Since we will need almost identical allocators for the new Nursery and
WriteBuffer required for GenerationalGC, we should just generalize the
existing Chunk allocator.
--HG--
extra : rebase_source : 50995c0bf3b6f35c8b4fe64efc13a433174bdb3f
2012-01-23 14:43:01 -08:00
David Mandelin
6397c4e93f
Bug 725198: reuse js_DoubleToECMAInt32 for js_DoubleToECMAUint32, r=luke
2012-02-08 18:38:32 -08:00
Eddy Bruel
e6428ed134
Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff
2012-02-08 17:21:33 -08:00
David Mandelin
ab64ef8bc8
No bug, mark slow test
2012-02-08 18:09:28 -08:00
Matt Brubeck
ba7210b7df
Backed out changeset af0ab64cb947 (bug 675694) because of build failures
2012-02-08 17:36:53 -08:00
Eddy Bruel
01326717e4
Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff
2012-02-08 17:21:33 -08:00
David Mandelin
d82c4785bb
Bug 714614: don't create call objects with duplicated property names, r=bhackett
2012-01-27 14:33:27 -08:00
Luke Wagner
f79f7ac346
Bug 725138 - tidy up Interpret with formalArg/localSlot (r=bhackett)
...
--HG--
extra : rebase_source : 86e6953be488b4554fc8570555015bcee14bf012
2012-02-03 00:11:31 -08:00
Luke Wagner
d239530b11
Bug 725138 - tidy up vm/Stack code (r=bhackett)
...
--HG--
extra : rebase_source : fe97cc51ada12873577c87b111a1635242e5a9d0
2012-02-03 00:11:31 -08:00
Matthew Noorenberghe
7263196932
Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee
...
--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
2012-02-03 18:31:31 -08:00
Luke Wagner
d97e2cbe45
Bug 723791 - remove now-unnecessary noteArgumentsPropertyAccess (r=jorendorff)
...
--HG--
extra : rebase_source : 66c7930d21f380a1ad885550239f20b890d24e78
2012-02-03 00:11:31 -08:00
Luke Wagner
b41ddecdd5
Bug 723791 - fun_getProperty needs a method barrier (r=jorendorff)
...
--HG--
extra : rebase_source : 3fea7a8d9f965e921bb2744b8588f241e2e7c843
2012-02-03 00:11:31 -08:00
Igor Bukanov
68b70a8965
bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor
2012-02-08 01:51:32 +01:00
Steve Fink
0de86e28cd
Bug 712289 - Test alignment of jsval across C and C++. r=bz
2012-01-18 14:56:49 -08:00
Terrence Cole
47ebc73c1f
Bug 724586 - Use modern tools to clean up obj_ToSource; r=Waldo
...
This patch replaces the fiddly strcat logic with StringBuilder usage and cleans
up the error handling control flow using RAII.
--HG--
extra : rebase_source : d42753a880a8d242627534cd5827075ea4a8966d
2012-02-07 10:39:58 -08:00
Igor Bukanov
b06d882ffd
bug 724810 - storing finalizer in external strings directly. r=luke
...
--HG--
extra : rebase_source : d3222c685190bbdbe9446628f2f73f2a6f81eb11
2012-02-07 19:44:54 +01:00
Jason Orendorff
7d08e94bef
Bug 699565 - Part 6 - for-of loops on typed arrays. r=bhackett.
2012-02-07 12:57:17 -06:00
Jason Orendorff
487db5a582
Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett.
2012-02-07 12:57:17 -06:00
Jason Orendorff
2ee2e8f0d9
Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz.
2012-02-07 12:57:17 -06:00
Jason Orendorff
84ac816f69
Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett.
2012-02-07 12:57:16 -06:00
Jason Orendorff
86a2aac956
Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett.
2012-02-07 12:57:16 -06:00
Jason Orendorff
c2f9f6404d
Bug 699565 - Part 1 - for-of loop basics. r=Waldo.
2012-02-07 12:57:16 -06:00
Marco Bonardo
9461ad58a3
Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests
2012-02-07 10:16:58 +01:00
Makoto Kato
e0b7612a1e
Bug 715849 - yasm and GNU as should add debug flag if MOZ_DEBUG_SYMBOLS=1. r=khuey
2012-02-07 15:06:28 +09:00
Jim Blandy
01319b1c05
Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
...
This adds new tests, and also fixes existing CTypes tests that relied on
the bug's presence.
2012-02-06 21:18:42 -08:00
Brian Hackett
08da3edc46
Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander
2012-02-06 11:18:33 -08:00
Brian Hackett
a509098dee
Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander
2012-02-06 10:49:31 -08:00
Andrew McCreight
ae5be20b56
Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm
2012-02-05 19:43:35 -08:00
Nicholas Nethercote
a2845c0ea3
Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett.
...
--HG--
extra : rebase_source : 211b35134923f4cb99625bb240b96e81f0f28b4b
2012-01-30 18:12:03 -08:00
Tom Schuster
d0d0f9f213
Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett
2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
9c7dfb9706
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov
17db9a067b
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
David Mandelin
34efbde005
Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden
2012-02-03 15:02:39 -08:00
David Mandelin
be9a8abe8b
Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm
2012-02-03 13:47:39 -08:00
Terrence Cole
fec49555cc
Bug 716069 - Add missing post barriers to newObjectFromHit; r=billm
...
When we copy in the new object, we need to trigger barriers on the shape and
type pointers. Note: all value immediates in the object are guaranteed to be
uninitialized.
2012-01-12 19:03:25 -08:00
Jonathan Kew
ec184320f2
backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts.
2012-02-03 14:01:35 +00:00
Luke Wagner
0c3a78bf21
Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
...
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Luke Wagner
19a5502f89
Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo)
...
--HG--
extra : rebase_source : e07b03a817dff4193762ae7d134765e05065fc31
2012-01-27 15:32:53 -08:00
Luke Wagner
cb392d44d9
Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary)
...
--HG--
extra : rebase_source : ae6497b500e93019ecc06ba2668fbdbe70b15417
2012-01-27 15:32:53 -08:00
Luke Wagner
542a670fec
Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
...
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Matt Brubeck
73e694d1d5
Merge mozilla-central to inbound
2012-02-02 20:49:06 -08:00
Olli Pettay
8e65790a5d
Bug 716014 - Use CompartmentGC more often, r=billm,mccr8
2012-02-02 22:34:53 +02:00
Terrence Cole
853d196cb5
Bug 716136 - Add a configure flag to enable Generational GC; r=billm
...
These are already in the tree in several places to protect (empty) post write
barriers. This will make it easier to test this functionality on more
platforms going forward.
--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00
Matthew Gregan
576ad01988
Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey
2012-01-13 14:38:39 +13:00
Andrew McCreight
e9dd77e37e
Bug 721933 - add way to do compartment GC with a reason. r=billm
2012-02-01 17:55:09 -08:00
Jeff Walden
f59e6258a1
Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke
...
--HG--
extra : rebase_source : 0bb078d0ded8aa52753261605bc72a5eef45e65e
2012-01-31 18:03:41 -08:00
Igor Bukanov
ac75a17316
bug 723021 - moving native stack limits into runtime. r=luke
2012-01-31 23:28:22 +01:00
Jeff Walden
29b6689cf7
Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
2012-01-31 16:49:27 -08:00
Jeff Walden
ea987f7685
Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
2012-01-19 17:15:33 -08:00
Steve Fink
01ef79496d
Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof!
...
--HG--
extra : rebase_source : 6249095c7501ba1e1647ea01998de685fe0a278e
2012-01-26 11:55:39 -08:00
Steve Fink
024b8e70d2
Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff
...
--HG--
extra : rebase_source : e1b4bc44adea1fa0bb94188ccaccc156c194dfbb
2012-01-16 17:02:15 -08:00
Phil Ringnalda
5a0b40ee93
Back out 9aac714775b9 (bug 723111) for make check orange
2012-02-01 10:25:04 -08:00
Blake Kaplan
ddbc4e3a61
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
...
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Terrence Cole
a443fae4b9
Bug 716042 - Add missing barriers to JSObject::TradeGuts; r=billm
...
Add a manual post barrier to match the existing pre-barrier.
2012-01-06 14:00:35 -08:00
Brian Hackett
406d930214
Catch some opcodes which return directly from a script, bug 723099. r=dvander
2012-02-02 16:09:47 -08:00
Brian Hackett
2131326400
Remove bogus assert, bug 722021. r=jandem
2012-02-02 16:06:41 -08:00
Blake Kaplan
4296a9ecc3
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
2012-01-26 14:55:27 +01:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
bc4e554f2e
Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap.
2012-01-27 14:16:27 -06:00
Jason Orendorff
814e3ad8bc
Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb.
2012-01-27 14:16:22 -06:00
Jason Orendorff
2d49b6d984
Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke.
2012-01-27 14:14:01 -06:00
Landry Breuil
3120a633d9
Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha
2012-02-02 15:31:56 +09:00
Boris Zbarsky
d51e043630
Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett
2012-01-31 22:40:49 -05:00
Matt Brubeck
ca5328a5d6
Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260)
2012-01-31 17:34:26 -08:00
Jeff Walden
bdc1919d39
Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage
2012-01-31 16:49:27 -08:00
Brian Hackett
da5a8bd9e1
Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin
2012-01-31 16:36:07 -08:00
Jeff Walden
a40d4b431f
Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage
2012-01-31 16:32:02 -08:00
Jeff Walden
3e916d11bc
Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC
2012-01-31 15:48:27 -08:00
Jeff Walden
3f191286a8
Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
...
--HG--
extra : rebase_source : 54ac2dccb9c1cb5c53f726939c988c4abfd74ab7
2012-01-30 17:08:34 -08:00
Jeff Walden
2261405ba1
Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
...
--HG--
extra : rebase_source : 179deea8ca29b157b88658ccde6eabd6df48fab2
2012-01-19 17:15:33 -08:00
Boris Zbarsky
e5a7f88d45
Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap
2012-01-31 17:14:56 -05:00
Ed Morley
e64ba340a4
Merge mozilla-central to mozilla-inbound
2012-01-31 21:20:50 +00:00
Jim Blandy
bcc9969b0b
Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called.
2012-01-31 12:48:14 -08:00
Jim Blandy
7e686fa9c1
Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
...
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
a4822849fd
Bug 700000 - Version bump
2012-01-31 10:57:49 -08:00
David Mandelin
e4b7d42c42
Bug 714616: fix write barrier in Array.shift, r=billm
...
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00
David Anderson
df23f1de54
Support soft-float for ARMv6 (bug 696291, r=mrosenberg).
2012-01-30 18:53:37 -08:00
Jeff Walden
d9cb20ca59
Bug 722023 - Only call GetElementIC::attachGetProp with named properties, not indexed properties. r=bhackett
...
--HG--
extra : rebase_source : aec995e286ec3d6bc85ed539d39840217f2ec4cf
2012-01-29 12:29:29 -08:00
Jeff Walden
6660432aef
Bug 721322 - Functions containing |expr.arguments| should be marked (conservatively) as using arguments. r=jorendorff
...
--HG--
extra : rebase_source : 3ef23e440de3244ffff8ceb30e75fe086ae3b577
2012-01-26 17:04:00 -08:00
Kan-Ru Chen
f54487e0fe
Bug 709585 - Part 5, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Makoto Kato
c879e1a278
Backout bug Bug 702179 due to bustage on MacOSX deubg and Win32 debug
2012-01-31 18:00:25 +09:00
Ginn Chen
0fd3f01707
Bug 702179 Reland 1d0ec7fa8b96 since Bug 719742 is fixed.
2012-01-31 14:51:13 +08:00
Scott Johnson
8a04769547
Backout 6a4c4cb828a8 for bustage on windows.
2012-01-30 18:47:43 -06:00
Kan-Ru Chen
fd88fd0443
Bug 709585 - Part 5/6, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 689315521a72444c8a0fc92efe128d5bf3fbbada
2012-01-30 17:02:51 -06:00
Nicholas Nethercote
2ceea515c6
Bug 721628 (part 5) - Use size_t instead of int64_t in some JS memory reporting structs. r=luke.
...
--HG--
extra : rebase_source : c3e13b8042b8914ae16cee38b0299f6164ba9222
2012-01-29 14:13:18 -08:00
Nicholas Nethercote
f80bd86cce
Bug 721628 (part 4) - Use better names for various JS memory reporting things. r=Ms2ger.
...
--HG--
extra : rebase_source : 4edc916c571906329075b6be68c245267f9b61d0
2012-01-29 14:11:32 -08:00
Nicholas Nethercote
7e06e236ee
Bug 721628 (part 3) - Rename several size type-inference-related measurement functions and types. r=bhackett.
...
--HG--
extra : rebase_source : e66bc2d787c31de93ff80280597543cf47924967
2012-01-26 19:09:31 -08:00
Nicholas Nethercote
99919eca9d
Bug 721628 (part 1) - remove the non-working shell built-in stringstats(). r=luke.
...
--HG--
extra : rebase_source : f56320a19d39035fac5cd6bccf21e101b9184d82
2012-01-26 05:46:54 -08:00
Till Schneidereit
a2f3351029
Bug 679026 - Add gcMallocBytes per compartment. r=gwagner
2012-01-30 13:21:42 -08:00
Igor Bukanov
34cdaf426d
bug 722348 - eliminate JSRuntime::requestCount. r=luke
2012-01-30 11:15:13 +01:00
Jim Blandy
9e950fb416
Bug 718786: Make the shell exit with EXITCODE_RUNTIME_ERROR when code is terminated. r=jorendorff
...
In js/src/jit-test/jit_test.py, add an 'exitstatus' jit-test cookie
attribute (and rename test.error to test.expect_error). Mark tests that
terminate with their expected termination code.
Clean up TMFLAGS comments.
2012-01-28 16:24:03 -08:00
Joe Drew
66ec89ae3f
Merge mozilla-central to mozilla-inbound.
2012-01-28 15:48:23 -05:00
Matt Brubeck
eecf9b9050
Back out 602d30678cac because of test failures
2012-01-27 18:37:18 -08:00
David Mandelin
e65e422523
Bug 714614: holes flag for parameter list, r=luke
...
--HG--
extra : rebase_source : 1297a7dfd311c0d83196740aa6a52df398749c96
2012-01-27 14:33:27 -08:00
Andrew McCreight
be23207db7
Bug 693527 - tell the cycle collector about watchpoints. r=jorendorff
2012-01-27 17:13:21 -08:00
Bill McCloskey
5067a01df6
Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin)
2012-01-27 17:01:25 -08:00
Bill McCloskey
4ad13c19a0
Bug 716619 - Simplify GC probes (r=sfink)
2012-01-27 17:01:04 -08:00
Justin Wood
973281f033
Merge backout
2012-01-27 10:11:46 -05:00
Justin Wood
d6be326494
Bug 721625 - Backed out changeset 886f040f2844 for regression from Bug 719659
2012-01-27 10:11:23 -05:00
Siddharth Agarwal
ace254b5c2
Followup to bug 699385: remove a bit from js/src/configure.in I forgot to tackle in the original patch.
2012-01-27 00:04:09 +05:30
Luke Wagner
de203642c8
Bug 720695 - Fix uint32 overflow and INT32_MIN corner cases in CompareLexicographicInt32 (r=waldo,sgimeno)
2012-01-25 08:54:28 -08:00
Phil Ringnalda
628673af7b
Back out 88145df4191a, 42408569a696, and 2108d51be2e7 (Bug 719841, Bug 678086, and Bug 695922) for tp crashes on a CLOSED TREE
2012-01-27 14:22:10 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
dd08c68dab
Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap.
2012-01-27 14:16:27 -06:00
Jason Orendorff
b8aa7263d8
Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb.
2012-01-27 14:16:22 -06:00
Jason Orendorff
1e79bb239a
Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke.
2012-01-27 14:14:01 -06:00
Bill McCloskey
a9b66cd690
Back out 77b82d0464b4 for build failures (bug 716619)
2012-01-27 11:53:11 -08:00
Bill McCloskey
fdaae46558
Bug 716619 - Simplify GC probes (r=sfink)
2012-01-27 11:35:12 -08:00
Jan de Mooij
51914517ae
Bug 679804 - Move relational ops to jsinterpinlines. r=dvander
2012-01-27 15:36:26 +01:00
Siddharth Agarwal
f55b83ca01
Bug 699385 - Remove support for pre-Windows 7 SDKs. r=ted
...
--HG--
extra : rebase_source : 65ad2481c16199bfba9cebe89965d2065e90dd42
2012-01-26 22:05:34 +05:30
Siddharth Agarwal
5101b91ac2
Bug 718541 - Work around an MSVC compiler bug with inlining JSObject::nativeLookup. r=Waldo
...
--HG--
extra : rebase_source : 15e0e90a4c525b40253d38ed5c6c9b6b7d299891
2012-01-26 21:47:10 +05:30
Dave Herman
537142c830
Bug 721611 - evalWithLocation, r=Waldo
2012-01-26 11:26:59 -05:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Jeff Walden
eea04f58d3
Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
...
--HG--
extra : rebase_source : 0788763db92464426eaab05cc92ba9d4baea152c
2012-01-20 19:00:55 -08:00
Adam
bada412c9a
Bug 688891: Remove unaligned LifoAlloc API. (r=cdleary)
2012-01-18 20:40:20 -08:00
Adam
b9e612ab7c
Bug 688891: C++ power-armor for Sprinter. (r=cdleary)
2012-01-20 15:09:56 -08:00
Luke Wagner
33e1a67ecb
Bug 720067 - re-merge StackSpace.h with Stack.h, extract gc/Root.h (r=bhackett)
2012-01-20 19:49:33 -08:00
Blake Kaplan
fb72901604
Bug 718733 - Allow JSAPI tests to create compartments with principals. r=jorendorff
...
--HG--
extra : rebase_source : cf2530b81125479aacc27f0daf8a679e2f0c0b6e
2012-01-17 19:40:14 +01:00
Blake Kaplan
7c21ecfee1
Bug 720305 - Deal with odd getters and setters. r=jwalden
...
--HG--
extra : rebase_source : b5df534b437a6c79ab95b16ebb081d961b08e87f
2012-01-26 12:54:34 +01:00
Adam
4abd30558d
Bug 720680: Less paren slop. (r=cdleary)
2012-01-25 22:25:31 -08:00
Marco Castelluccio
6532a673e2
Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow
2012-01-26 09:54:31 +09:00
David Mandelin
aad79feec7
Bug 708377: use standard ToInt32 everywhere in typed arrays, r=jwalden
2012-01-20 17:36:24 -08:00
Jeff Walden
970cecb6bc
Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
...
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Jeff Walden
6f2cbe7a02
Bug 720941 - Remove JSDOUBLE_COMPARE (and DOUBLE_COMPARE, outside SpiderMonkey), as tinderbox's Windows compilers seem not to need it any more. r=dmandelin
...
--HG--
extra : rebase_source : 1ee5ff83329ef22e6ea471f5a06815bafa45f345
2012-01-23 11:52:28 -08:00
Bill McCloskey
dc52ba7996
Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8)
2012-01-25 10:59:55 -08:00
Marco Castelluccio
69a2659f69
Bug 664824 - JM+TI: Make JSOP_IN fast for dense arrays. r=jandem
2012-01-25 14:55:00 +01:00
Mike Hommey
a84cacdc0f
Bug 719742 - Make expandlibs properly handle the case where OBJ_SUFFIX is .i_o on Linux PGO first pass. r=ted
2012-01-25 10:34:14 +01:00
Nicholas Nethercote
77a3f1f6b8
Bug 720219 (part 5) - Clean up JS type object measurement. r=bhackett.
...
--HG--
extra : rebase_source : 4d972fd2dd17181bf6facd077e71b05c6cc72307
2012-01-23 15:50:59 -08:00
Nicholas Nethercote
ef910307c3
Bug 720219 (part 4) - Clean up JS script measurement. r=bhackett.
...
--HG--
extra : rebase_source : 5c237412c6f3409f81ef23b1ab38b982540e14c3
2012-01-23 15:39:39 -08:00
Nicholas Nethercote
f1b5f99c6e
Bug 720219 (part 3) - Clean up JS shape measurement. r=bhackett.
...
--HG--
extra : rebase_source : 3667bc230c4f0818c674a86e5beee410edd34f4e
2012-01-23 15:39:00 -08:00
Nicholas Nethercote
197bda7312
Bug 720219 (part 2) - Clean up JS string measurement. r=bhackett.
...
--HG--
extra : rebase_source : bc43388760741370265654aa4661ee422d6b6a33
2012-01-23 15:38:59 -08:00
Nicholas Nethercote
ed9d554a9b
Bug 720219 (part 1) - Clean up JS object measurement. r=bhackett.
...
--HG--
extra : rebase_source : ff9aa7da84814e6868fef88b56bcb038389d5fb9
2012-01-23 15:35:37 -08:00
Jeff Walden
a74e76a203
Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin
...
--HG--
extra : rebase_source : c0b47ed9fd5569e24f8ab058e7cb4e8df0941f68
2012-01-20 23:39:37 -08:00
Jeff Walden
d2c8ed69df
Bug 566700 - Remove sharp variable support. r=dmandelin
...
--HG--
extra : rebase_source : 623f6ef8eb050d626b8c7a828949e291b34abc9a
2012-01-07 00:55:32 -06:00
Tom Schuster
d180920bc3
Bug 686296 - Non-extensible ArrayBuffer __proto__ should not be changable. r=jorendorff
...
--HG--
extra : rebase_source : 93384a978862d4f140e6d28296f24340a32fe4df
2012-01-21 19:25:54 +01:00
David Mandelin
50cc40d596
Bug 718128: Implement draft spec ArrayBuffer.slice, r=jwalden
2012-01-18 17:27:13 -08:00
Brian Hackett
163145abd5
Root strings in native iterators when converting from array of jsids, bug 719686. r=dvander
2012-01-20 16:22:16 -08:00
Brian Hackett
2d818cd9f1
Fix use of space above the active JS stack pointer, bug 718347. r=dvander
2012-01-20 16:19:05 -08:00
Brian Hackett
963d82df9d
Keep track of SSA variable values at exception blocks after an explicit throw, bug 719758. r=dvander
2012-01-20 16:13:23 -08:00
Luke Wagner
88a1823ba1
Bug 719878 - AllFramesIter does not find all frames when the current segment contains only a native call (r=sfink)
...
--HG--
extra : rebase_source : c9f22d1ee0e2aa0501ad90ffe51a7ed1c13f9f33
2012-01-20 16:00:26 -08:00
Geoff Lankow
eee791ac56
Backed out changeset 86da174de8df (bug 719841)
2012-01-21 11:26:40 +13:00
Geoff Lankow
6a0b6f53cf
Backed out changeset febc999231e4 (bug 719841)
2012-01-21 11:26:37 +13:00
Bobby Holley
347327d88f
Bug 719841 - Assert that inner objects don't appear in prototype chains. r=jorendorff
2012-01-20 13:32:44 -08:00
Jason Orendorff
c2952ca599
Bug 719841 - Do not innerize an object assigned to __proto__. r=mrbkap
2012-01-20 13:32:44 -08:00
Brian Hackett
df98b251c6
Backout 5cdf9574bede for build failures.
2012-01-20 07:33:44 -08:00
Brian Hackett
c40f1818a1
Remove emitter special casing for __proto__, bug 717249. r=waldo
2012-01-20 07:14:55 -08:00
Jason Orendorff
5483da2c50
Add file needed by some Map/Set tests (the tests were introduced for bug 697479). r=orange.
2012-01-20 07:30:27 -06:00
Jason Orendorff
cb9bb9c2f3
Bug 697479 - Implement Map and Set builtins for JS. r=jimb.
2012-01-20 06:11:43 -06:00
Jason Orendorff
830e33e2e1
Fix a few typos in comments in js/src. No bug, no_r=me.
2012-01-20 06:11:42 -06:00
Jason Orendorff
d7665153f1
Bug 717278 - Vector should have const and non-const begin(). r=luke.
2012-01-20 06:11:42 -06:00
Jan de Mooij
c11aff8962
Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander
2012-01-20 13:01:44 +01:00
Mike Hommey
34e49862db
Bug 603370 part 1 - Add an option to expandlibs-exec to allow to reorder the objects list. r=ted
2012-01-20 09:50:44 +01:00
Marco Bonardo
0a2d0989df
Merge central to inbound
2012-01-19 11:36:52 +01:00
Marco Bonardo
37527a686e
Merge last green PGO from inbound to central
2012-01-19 11:34:17 +01:00
Brian Hackett
fdd7a080be
Pass scope chain explicitly to FindProperty, bug 717494. r=dvander
2012-01-18 17:15:00 -08:00
Brian Hackett
bdf9362d41
Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander
2012-01-18 16:56:22 -08:00
Brian Hackett
7e3d6561ae
Compile large scripts in chunks, bug 706914. r=dvander
2012-01-18 16:40:18 -08:00
Mark Finkle
cd08c705c6
Backout 60eb0da71cdb as suspected crash cause (bug 718765)
2012-01-18 10:08:29 -05:00
Phil Ringnalda
dc513d1a7f
Back out 78a8aeae5b30 (bug 696291) for Android build bustage
2012-01-18 20:36:59 -08:00
Brian Hackett
87deebd24e
Define mjitChunkLimit in --disable-methodjit builds to fix test failure, no bug, no r.
2012-01-18 19:56:21 -08:00
Bobby Holley
dc35df45dc
Bug 718072 - WeakMaps constructor doesn't always get initialized on the global object. r=Waldo
2012-01-18 19:10:04 -08:00
Chris Leary
4e5446c122
Bug 719315: Free unused chunks. (r=luke)
2012-01-18 18:55:01 -08:00
David Anderson
82961d7267
Follow-up fix for ARMv7 regression after soft-float support on ARMv6 (bug 696291, r=mrosenberg).
...
--HG--
extra : rebase_source : f7a86715ad9a478381c7af37cba946a0c3566f69
2012-01-18 18:07:46 -08:00
Brian Hackett
d01e0076b3
Fix warnings, no bug. r=dvander
2012-01-18 18:08:22 -08:00
David Anderson
3de3a194ba
Support pre-SSE2 CPUs in JaegerMonkey (bug 696291, r=bhackett).
...
--HG--
extra : rebase_source : f1f6a1e60b05974533ff39292a0a278fc69fbb0f
2012-01-13 13:33:56 -08:00
Luke Wagner
7bd847d539
Bug 718134 - un-union StackFrame::args (r=bhackett)
...
--HG--
extra : rebase_source : 51b670e57a9fd4f1fc09808137e152d46e18d33a
2012-01-17 16:35:07 -08:00
Luke Wagner
5f099004b1
Bug 718022 - further nerf f.arguments (r=waldo,sr=dmandelin)
...
--HG--
extra : rebase_source : a93cf7e665753afc38d26a9e3cd2d328eef53b42
2012-01-17 16:34:24 -08:00
Luke Wagner
891396a8af
Remove tracer bits from InterpMode (no bug, r=dvander)
...
--HG--
extra : rebase_source : a7d4938398584a21daa369bf6409decd647ac295
2012-01-06 09:36:49 -08:00
Reuben Morais
a153a8d845
Bug 717805 - Remove CopyArrayElement. r=jwalden
2012-01-17 12:33:08 +01:00
Luke Wagner
d85fb51b34
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
...
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Terrence Cole
2afe66178f
Bug 720891 - Despecialize the optimization for TypeObject marking; r=bhackett
...
This is not worth the cognitive burden and prevents us from nicely compacting
the Marker function definitions.
2012-01-24 16:28:41 -08:00
Bill McCloskey
88c7b0c713
Bug 720853 - Add read barrier for atom table (r=luke)
2012-01-24 18:32:56 -08:00
Bill McCloskey
2138e8b786
Bug 720848 - Trace through watchpoints from TraceRuntime (r=jorendorff)
2012-01-24 18:32:17 -08:00
Matt Brubeck
193896461a
Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures
2012-01-24 17:32:30 -08:00
Terrence Cole
4cf0d5d30d
Bug 720840 - Call MarkStringUnbarriered directly; r=billm
...
We have a special marker function for handling the Atom list because we need to
call JS_SET_TRACING_INDEX externally to avoid clobbering the index. However,
nobody cares about the index here and if they do, they can add custom debug
code. It is better at this point to have a consistent and correct interface,
thus we remove the specialized atomized string marking in favor of the existing
markers. Additionally, this is only used during root marking so we can switch
to using MarkRoot for the extra assertions.
--HG--
extra : rebase_source : b4448f7fde8990a727bf2893e53688690e170535
2012-01-24 15:21:44 -08:00
Jeff Walden
d2ef676a17
Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger
...
--HG--
extra : rebase_source : 2794602c5fa7b1ee5a2d891b7ef0696985ceccd4
2012-01-24 10:30:46 -08:00
Jeff Walden
3d3f0de0d1
Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger
...
--HG--
extra : rebase_source : 2b9e2c5ffff4c017489f54c504b90dacb02f8654
2012-01-24 10:29:55 -08:00
Justin Lebar
d1f2f697a9
Bug 696162 - Followup: Use static_cast rather than reinterpret_cast, where appropriate.
2012-01-24 16:17:28 -05:00
Ms2ger
4193b914d8
Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke
2012-01-24 21:07:00 +00:00
Ed Morley
3303de5d26
Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures
2012-01-24 21:06:59 +00:00
Ed Morley
4968363ad9
Backout b7f926cfa8c8 (bug 672893) for Windows build failures
2012-01-24 20:57:30 +00:00
Ms2ger
25008de059
Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke
2012-01-24 20:14:11 +01:00
Jeff Walden
5bcf1f98f0
Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger
2012-01-24 10:30:46 -08:00
Jeff Walden
a471a1864a
Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger
2012-01-24 10:29:55 -08:00
Justin Lebar
6f9b37fd43
Bug 696162 - Fix jsgcchunk's AllocGCChunk to be more efficient and to avoid potential problems on Mac 10.7. r=igor
...
--HG--
extra : rebase_source : 13160f0e9d8b09ed31359daf451adff3e68de30d
2012-01-24 13:50:45 -05:00
Luke Wagner
6068502afa
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor)
2011-07-18 14:54:48 -07:00
Bill McCloskey
7b51fae2d8
Bug 720505 - Remove MarkRuntime from jsapi.h exports (r=Ms2ger)
2012-01-24 10:21:12 -08:00
Matt Brubeck
5f506f38e1
Back out e7fa7c10803e and ebf0c9794a34 (bug 696162) because of Win64 build failure
2012-01-24 08:59:40 -08:00
Justin Lebar
d9888e6b3c
Bug 696162 - Followup: Fix comment style. DONTBUILD
2012-01-24 10:57:33 -05:00
Justin Lebar
e0d70bfc97
Bug 696162 - Modify jsgcchunk's AllocGCChunk to be more efficient and to avoid potential hangs on Mac 10.7. r=igor
2011-11-10 15:08:59 -05:00