Commit Graph

16886 Commits

Author SHA1 Message Date
Brian Hackett
c58767db1c [IFER] Fix red. 2011-09-04 13:17:50 -07:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Terrence Cole
9e219e8b92 Bug 646597 - Remove unneeded #ifdef DEBUG: use DebugOnly instead; r=bhackett
Assignment to a DebugOnly variable results in a call to either the empty
'operator =' or to an empty implicit 1-arg constructor and empty copy
constructor when in non-debug mode.  Either of these get inlined and
eliminated as dead code above -00, so there is no benefit to skipping
this assignment for non-debug builds.
2011-09-04 13:58:00 +01:00
Jan de Mooij
7900111d6f Bug 670493 - Refactor and optimize booleanJumpScript. r=bhackett 2011-09-03 22:23:33 +02:00
Brian Hackett
4797355341 [INFER] Don't use invalid activeCall when finishing an outer function frame, detect nesting in parents which add scope objects earlier, bug 663138. 2011-09-03 11:04:45 -07:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Jason Orendorff
53eb0f605c Fix the JS standalone build. r=amazing_brokenness. 2011-09-03 07:30:13 -05:00
Marco Bonardo
2c9501a685 Backout e2807e45402c for Android b-c permaorange and 502c33ae0d81, 3326454d70f5 for Android M5 permaorange. 2011-09-03 12:22:10 +02:00
Tom Schuster
5e9f41713e Minor ident followup fix for Bug 588537 rs=Ms2ger 2011-09-03 11:57:02 +02:00
Marco Bonardo
f7ab1e5a89 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Mike Hommey
42fa5b0cd7 Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Matheus Kerschbaum
e07b5a7ab9 Bug 682716 - Remove remaining support for Symbian. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
f815f4bd6c Bug 689920 part 1: Remove build support for old Unix platforms. r=ted 2011-09-03 01:55:29 +01:00
Luke Wagner
1214ad91f1 Bug 684110 - Simplify IsActiveWithOrBlock, tidy jsinterp.h (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
f569944101 Bug 684110 - Remove empty-script special case in Invoke (r=bhackett) 2011-09-02 17:23:36 -07:00
Luke Wagner
a56e9afd91 Bug 684110 - Simplify InitExnPrivate (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
d043e3bfa9 Bug 684110 - Tidy up Exception constructor (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
a195a3c4ed Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
357b5b8cf8 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
2d385ce59f Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies 2011-09-03 03:21:25 +01:00
Terrence Cole
1ec766c60b Bug 684344 - Remove a reinterpret_cast in delayMarkingChildren; r=billm
All of the types we call this with derive from js::gc::Cell, so there is no
need for this to take a void*.

--HG--
extra : rebase_source : 206c2ef1ae304a0c7f6346f38cfb00bd4eab5a43
2011-09-02 17:58:10 -07:00
Luke Wagner
673da87302 Bug 684110 - Simplify IsActiveWithOrBlock, tidy jsinterp.h (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
cd9ae565bf Bug 684110 - Remove empty-script special case in Invoke (r=bhackett) 2011-09-02 17:23:36 -07:00
Luke Wagner
be07afb63a Bug 684110 - Simplify InitExnPrivate (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
db607aaf2b Bug 684110 - Tidy up Exception constructor (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
2560b5a93d Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
39242fcb8c Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Olli Pettay
926e572e15 Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Ehsan Akhgari
78f4e1ccb9 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Igor Bukanov
9dc4e22f8a bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Andrew McCreight
fc9615e7fa Bug 681104 - Add JSTracer flag to disable visiting WeakMap mappings. r=billm 2011-09-04 11:25:49 -07:00
Bill McCloskey
9b3ccb5237 Bug 604747 - Set GC max heap size to 4GB in JS shell (r=gregor) 2011-09-19 15:22:31 -07:00
Igor Bukanov
ee75e05a9b Bug 686144 - eliminating gc::MarkingDelay. r=wmccloskey 2011-09-12 11:43:43 +02:00
Atul Aggarwal
6a036e76b8 Bug 481282 - fix uninitialized variable warning in nsXPConnect::Traverse. r=mrbkap 2011-09-02 11:04:43 +05:30
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Daniel Holbert
86a96e1d1b Bug 683998: Remove unused variable from jstracer.cpp. r=billm 2011-09-01 15:21:42 -07:00
Brian Hackett
9128f54230 Merge MC -> JM 2011-09-01 13:41:12 -07:00
Brian Hackett
736384af84 [INFER] Use type barriers for NAME accesses on scripts whose types have been purged, bug 663138. 2011-09-01 12:36:42 -07:00
Brian Hackett
3e0ad0ceba [INFER] Improve performance for non-reentrant closures, bug 663138. 2011-09-01 12:20:30 -07:00
Mike Hommey
022079a913 Bug 683875 - Fixup. r=me 2011-09-01 20:24:13 +02:00
Mike Hommey
30b5c313fc Bug 683875 - Remove stale static library when only creating a fakelib. r=ted 2011-09-01 18:26:07 +02:00
Mike Hommey
cfd3ac70a2 Bug 677501 - Build a mozutils library containing jemalloc and other things. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozutils/Makefile.in
rename : memory/jemalloc/fixcrt.py => memory/mozutils/fixcrt.py
rename : memory/jemalloc/jemalloc.def => memory/mozutils/mozutils.def.in
2011-09-01 14:12:10 +02:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Brian Hackett
62d90f802f Don't compile or analyze new script properties for scripts with a cleared global, bug 683317. 2011-08-31 17:43:01 -07:00
Leon Sha
eb1d707ea3 Bug 683413 - [INFER] jit-test/tests/v8-v5/check-earley-boyer.js failed on sparc. r=bhackett. 2011-09-01 08:24:41 +08:00
Jason Orendorff
08f5a5a5bd Bug 677957 - Fix peculiarly dynamically-nested for-in loops. ("Assertion failure: !cx->iterValue.isMagic(JS_NO_ITER_VALUE), at jsiter.cpp:1017") r=dvander. 2011-09-02 16:52:13 -05:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Igor Bukanov
c89518270e bug 683862 - Using JSGCTraceKind in the public API. r=luke 2011-09-01 20:43:46 +02:00
Jason Orendorff
a2b30a5076 Bug 676343 - Lexical scoping bug involving UPVAR_LEVEL_LIMIT. r=brendan. 2011-09-01 11:31:09 -05:00
Kyle Huey
411121afb0 Back out Bug 659311 for messing up Linux PGO builds. 2011-08-31 10:49:42 -04:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Ms2ger
9f3b109361 Bug 659053 - Followup to make Node.isSameNode fast again; r=bz over IRC 2011-08-31 11:23:34 +02:00
Marco Bonardo
6cda1d359c Merge mozilla-central and mozilla-inbound 2011-08-31 10:43:43 +02:00
Brian Hackett
a7ad625b02 Keep key register pinned longer when accessing elements of hoisted arguments objects, bug 683207. r=dvander 2011-08-30 19:23:55 -07:00
Sander van Veen
3347c443e5 Bug 673158 - Separate regexp JIT code and normal mjit code in about:memory. code=sandervv,Bas.Weelinck, r=nnethercote. 2011-08-30 17:21:36 -07:00
Blake Kaplan
3f8acddf7d Bug 671148 - De-bogosify test_EvalInSandbox.xul's handling of iframes. r=peterv 2011-08-30 15:26:57 -07:00
Blake Kaplan
19b49f517f Bug 679877 - Allow properties to be resolved on these objects. r=jst 2011-08-30 15:26:50 -07:00
Blake Kaplan
b3a9afc939 Fix bug 670319. r=jst 2011-08-30 15:25:59 -07:00
Shu-yu Guo
94bbb956a8 Bug 679977 - Guard on callee when accessing upvar through deactivated stack frame. (r=gal) 2011-08-30 22:45:31 +01:00
Jason Orendorff
7ce1bc6c4e Bug 561359 - Predication of method optimization is too dynamic, causing "Assertion failure: &shape.methodObject() == &prev.toObject()". r=dvander.
--HG--
extra : rebase_source : 0a101adb7b237c56bde65ff7af3fdfcee0ad13df
2011-08-30 12:55:46 -05:00
Jason Orendorff
a9ecbfb46a Bug 682298 - Calling shell-only clear() function with no arguments reads garbage. r=luke.
--HG--
extra : rebase_source : ac11611035f5ebfc0c3b898236f70f9e8d0205b8
2011-08-30 06:10:09 -05:00
Ed Morley
974a0ec8a8 Merge last green (and non Ts-regressing) changeset from m-i to m-c 2011-08-30 12:09:51 +01:00
Jason Orendorff
1b79b825c8 Bug 669369 - Simplify Parser::setFunctionKinds. r=dmandelin.
--HG--
extra : rebase_source : 2c6d99d8cb30b947b0c1192968a30f70ef19178f
2011-08-30 06:08:30 -05:00
Jason Orendorff
02ba209c05 Bug 682306 - Remove an unused field in JSFunction. r=dmandelin.
--HG--
extra : rebase_source : efc52ac69404fae459ddf61f74e2e4642e1e5d5d
2011-08-30 06:07:10 -05:00
Terrence Cole
193dba8738 Bug 682925 - Remove duplicate #ifdef DEBUG conditional; r=luke 2011-08-30 20:20:08 +01:00
Brian Hackett
2daef6ad8a [INFER] Only prematurely release script code when calling destroy script hook from GC, bug 679461. 2011-08-29 20:45:33 -07:00
Brian Hackett
639ecd7257 Merge MC -> JM 2011-08-29 18:41:32 -07:00
Brian Hackett
7d7b9639b8 [INFER] On destruction, release JIT code for scripts before debugger hooks try to recompile them, bug 679461. 2011-08-29 15:03:59 -07:00
Brian Hackett
dc1c86d1e9 [INFER] Don't truncate object types when testing for particular primitive types, bug 682855. 2011-08-29 14:01:51 -07:00
Brian Hackett
3750708eee [INFER] Don't use loop registers for entries after coercing them to double/any for a branch, bug 682563. 2011-08-29 13:59:06 -07:00
Brian Hackett
604519588f Merge MC -> JM 2011-08-29 12:34:59 -07:00
Chris Leary
af3d8d9fb7 Bug 679138: argv past script argument should not be interpreted as options. (r=dvander) 2011-08-29 12:19:19 -07:00
Luke Wagner
85b720d343 Bug 683470 - InlineReturn should assert using js_GetOpcode instead of *regs.pc (r=dvander) 2011-08-31 15:42:04 -07:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Terrence Cole
4d39ce28ad Bug 683654 - Make TraceVis compile and run again; r=dmandelin 2011-09-01 16:56:58 +01:00
Ed Morley
b105110b75 Merge tips of mozilla-inbound and mozilla-central 2011-08-28 21:20:46 +01:00
Brian Hackett
7c364c5624 [INFER] Fix orange. 2011-08-28 08:42:35 -07:00
Atul Aggarwal
70ea895999 Bug 678988 - "potential null pointer dereference in js/jsd/jsd_scpt.c" [r=sphink] 2011-08-28 07:48:00 -07:00
Siarhei Siamashka
b2d3db4a4d Bug 644136 - Add missing fpu directive to fix libffi build on ARM hardfloat systems; r=bsmedberg 2011-08-28 12:03:22 +01:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Brian Hackett
1a3fb6272e [INFER] Fix orange. 2011-08-27 20:28:24 -07:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Brian Hackett
9da2f62d4b [INFER] Avoid spurious censoring of type barriers on writes of 'undefined' to singleton objects, bug 682345. 2011-08-26 20:21:59 -07:00
Brian Hackett
1766b3bcda [INFER] Fix orange. 2011-08-26 20:17:26 -07:00
Brian Hackett
2819cc2b9d [INFER] Don't pointlessly generate extra copies of interpreter backedge logic, bug 682477. 2011-08-26 19:58:22 -07:00
Brian Hackett
8e19ba6201 [INFER] Encapsulate GC arena/cell iteration, bug 679887. 2011-08-26 12:39:31 -07:00
Brian Hackett
045638a1ea Merge MC -> JM 2011-08-26 11:23:35 -07:00
Brian Hackett
7f4dcc90fb [INFER] Use mark stack for type objects, bug 679887. 2011-08-26 09:50:48 -07:00
Matt Brubeck
94680ab6db Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Brian Hackett
6e0458f6d1 [INFER] Watch for recompilation triggered by while compiling a call in an inlined frame, bug 680951. 2011-08-26 08:55:00 -07:00
Kyle Huey
2ccad6cccb Bug 680515: Follow up fix quoting issue for Windows. r=me 2011-08-26 11:00:57 -04:00
Kyle Huey
0c8cb9cb96 Bug 680515: Move optimization flags out of js/src/Makefile.in and into js/src/configure.in. r=ted 2011-08-26 08:06:51 -04:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell
f6795ab075 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Ed Morley
931f3fdad4 Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Matheus Kerschbaum
f9d50e065c Bug 671465 - Remove whitespace from autoconf, configure, config.mk and rules.mk in js/src r=bustage 2011-08-26 01:29:23 +01:00
Matheus Kerschbaum
3bcb2143b6 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
b9a52be4e0 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Rafael Ávila de Espíndola
be6ade2240 Bug 678558 - Detect broken vrp and disable it.
Test if the gcc we are using has PR49911 and if so disable value range
propagation to avoid.

--HG--
extra : rebase_source : d539914fa66a44f69399f2964740315f0723378f
2011-08-26 15:39:34 -04:00
Kyle Huey
18452e06eb Merge b-s to m-c. 2011-08-25 08:19:48 -04:00
Ed Morley
1eeeb8a78f Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Brian Hackett
96aa830103 [INFER] Leave type sets initially empty for undefined properties of objects with singleton type, bug 680951. 2011-08-24 21:08:24 -07:00
Matheus Kerschbaum
e35d718807 Bug 403616 - Remove --enable-application=standalone build option. r=callek 2011-08-25 02:18:22 +01:00
Brian Hackett
ea929b27a4 [INFER] Don't augment type barriers with undefined value tests at ops which have observed undefined, bug 681004. 2011-08-24 16:59:54 -07:00
Jason Orendorff
4f3fd3a83e Back out changeset 28dd46b9ee31 (bug 679031) because the test is failing on all the buildbots. 2011-08-25 18:32:35 -05:00
Dave Camp ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
db9e3ebada Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg.
--HG--
rename : toolkit/components/ctypes/ctypes.jsm => js/ductwork/debugger/jsdebugger.jsm
2011-08-25 16:38:30 -05:00
Jim Blandy
75d3325ec6 Bug 679136: Use js::Interpret's interrupts to implement JSOPTION_PCCOUNT's bytecode profiling. r=sfink. 2011-08-25 16:36:50 -05:00
Ehsan Akhgari
46e980489f Backout changeset a8199bd4af83 because it was not the right fix for bug 680277 2011-08-26 11:27:19 -04:00
Rafael Ávila de Espíndola
4e8e49aac3 Bug 673017 - Fix use of uninitialized data. r=wmccloskey.
The chunk's bitmap was being cleared at the first GC cycle, but it could be
read before that. Clear it early to fix that.

--HG--
extra : rebase_source : 09b1fb28e8e03ca6798f767426e4b423eb716d4d
2011-08-29 13:56:58 -04:00
Kyle Huey
0e655f0dc8 Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Nicholas Nethercote
6a3fcc17e7 Update nanojit-import-rev stamp. 2011-08-23 22:02:58 -07:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Brian Hackett
72f29e4500 Merge MC -> JM 2011-08-23 07:08:50 -07:00
Brian Hackett
ba18b7bbde [INFER] Don't maintain normal registers for known-double entries after branching to opcodes where the entry is not known as a double, bug 681006. 2011-08-22 18:11:58 -07:00
Luke Wagner
2215b35a8b Bug 676934 - Limit number of stack frame objects created by XPCJSStackFrame::CreateStack (r=mrbkap) 2011-08-22 16:35:17 -07:00
Nicholas Nethercote
bad4583a0c Bug 675545 - Completely re-do jsarena.{cpp,h}. r=cdleary. 2011-08-28 23:04:45 -07:00
Brian Hackett
1a78e80c60 [INFER] Don't emit deformed decomposed versions of incops that need an INDEXBASE, bug 680976. 2011-08-22 16:19:44 -07:00
Brian Hackett
3abb63779a [INFER] Account for singletons with lazy types when testing type barriers, bug 680842. 2011-08-22 15:25:53 -07:00
Brian Hackett
f6bda3215b [INFER] Maybe fix ARM build. 2011-08-21 20:31:10 -07:00
Brian Hackett
a8c7cd87da [INFER] Fix ADDPROP PIC recompilation hazard, bug 680797. 2011-08-21 20:28:38 -07:00
Brian Hackett
02b4833303 [INFER] Don't mark the entry register allocation for a loop as needing updating until it has actually been computed, bug 680809. 2011-08-21 20:23:30 -07:00
Rafael Ávila de Espíndola
305df53162 Bug 678051 - Fix c++0x initializer list error found by clang. r=nnethercote.
--HG--
extra : convert_revision : 55c10227eece4a02b593997eda3dedef39af7beb
2011-08-21 20:18:18 -07:00
Brian Hackett
2c43eb4076 [INFER] Ensure inlined frames are expanded when searching for exception handlers, bug 680759. 2011-08-21 19:52:04 -07:00
Brian Hackett
45b8a69877 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Ed Morley
ffbfafd053 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
Igor Bukanov
cf19ff5d15 bug 680755 - replacing last frame checks with an auto class. r=jorendorff 2011-08-21 16:23:48 +02:00
Jason Orendorff
04e98f6fd3 Bug 677386 - Fix jsdbg2 breakpoint GC rules. r=billm. 2011-08-24 18:42:19 -05:00
Jason Orendorff
51d9a1ec05 Fix a breakpoint GC bug found by billm. See bug 677386 comment 8, first paragraph. r=billm on IRC. 2011-08-24 18:42:19 -05:00
Jim Blandy
01972cd38f Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff. 2011-08-23 14:45:36 -05:00
Jim Blandy
3abd972834 Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke. 2011-08-23 14:45:21 -05:00
Jim Blandy
fab58c0d9c Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.
2011-08-23 14:44:22 -05:00
Jim Blandy
f392770f34 Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.
2011-08-23 14:44:03 -05:00
Brian Hackett
8cbe20828b Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff. 2011-08-23 14:43:26 -05:00
Jason Orendorff
b33e0d70c3 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
2011-08-23 14:42:17 -05:00
Rafael Ávila de Espíndola
a8617e6339 Bug 680515 - Don't use MODULE_OPTIMIZE_FLAGS in js/src.
Using MODULE_OPTIMIZE_FLAGS overrides MOZ_OPTIMIZE_FLAGS and prevents
js/src/configure from sharing more logic with the toplevel configure.
2011-08-20 18:28:52 -04:00
Phil Ringnalda
6f5f23ea63 Back out ecef6506d094 (bug 680515) for busting opt OS X 2011-08-19 18:42:11 -07:00
Matt Brubeck
505315087e Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
Rafael Ávila de Espíndola
60c25ccc4f Bug 680515 - Setting MOZ_OPTIMIZE_FLAGS in js/src/configure.in is not effective; r=khuey 2011-08-19 18:16:31 -04:00
David Flanagan
429a3e19b2 Bug 680228 - In Disassemble show associated catch for a try opcode. r=sphink
--HG--
extra : rebase_source : f2412f188c0bb7db7f5c4e9717938a9888c7c0ed
2011-08-19 22:46:32 +02:00
Benjamin Smedberg
8693754aaa Bug 679796 - Make js_DumpStackFrame traverse saved frame chains and use the topmost iterated frame, not cx->fp(), r=luke 2011-08-19 15:39:27 -04:00
arno renevier
7a8e500d3d Bug 677864: fixes components members class description; r=mrbkap 2011-08-19 15:27:43 -04:00
Kyle Huey
dbf45cc017 Back out Bug 678867. 2011-08-19 15:17:34 -04:00
Kyle Huey
b9c27ce7e8 Back out Bug 678867. 2011-08-19 15:17:19 -04:00
Brian Hackett
553636a891 [INFER] Remove s.live assertion. 2011-08-19 11:45:37 -07:00
Brian Hackett
f2c77a7056 [INFER] Don't treat initializers mutating __proto__ as constant singletons, bug 680217. 2011-08-19 10:54:51 -07:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -04:00
Marty Rosenberg
6eca8ea513 Bug 678928: don't use fmem_imm_off in the macro assembler, use its wrapper: 'floatTransfer'. r=adrake 2011-08-19 15:08:42 -07:00
Igor Bukanov
3b06c78f95 bug 681884 - faster slow path of GC allocations. r=wmccloskey 2011-08-18 09:16:08 +02:00
Igor Bukanov
53fcc3230a bug 684010 - remove JSScrit::isAboutToBeFinalized. r=bhackett1024
--HG--
extra : rebase_source : 7281e691bf5cbe62772e7671baa59d514829ff5f
2011-09-01 21:47:07 +02:00
William Maddox
7685c1d387 Bug 673214 - nanojit.h should probably include njcpudetect.h [stejohns@adobe.com] (r=nnethercote)
--HG--
extra : convert_revision : fc5941cc395ec47ca06c022fd7cdb44d9130eaf8
2011-08-17 15:41:30 -07:00
Steve Fink
243e7968e5 Bug 678954 - Add object files back into dtrace command line for Solaris dtrace support (r=khuey)
Also the current version of systemtap on Linux does not need those object files any more (older versions did), they are accepted without complaint.

--HG--
extra : rebase_source : 95171251f96b31b4dbc9064fc75ff3aeaac4bf87
2011-08-17 15:14:52 -07:00
Bill McCloskey
ca3db625cd Bug 679593 - Null out JSScript (r=dmandelin) 2011-08-22 14:33:32 -07:00
Ed Morley
6d02b96c78 Backout e10579e136f1 (bug 680636) for breaking pymake builds 2011-08-22 22:26:00 +01:00
Gregory Szorc
f50e80f32d Bug 680636 - Execute nsinstall.py as Python module under PyMake; r=khuey 2011-08-22 19:32:51 +01:00
Mounir Lamouri
19c9fefc9c Merging mozilla-central into mozilla-inbound. 2011-08-22 19:47:54 +02:00
Mounir Lamouri
40f9c8f332 Merging mozilla-inbound into mozilla-central. 2011-08-22 19:46:18 +02:00
Gregory Szorc
617912109c Bug 680534 - Clean up $(IDL_DIR) rule definition; r=khuey 2011-08-22 18:34:01 +01:00
Rafael Ávila de Espíndola
09c724072a Bug 680711 - Remove the BUILD_MODULES variable. r=khuey 2011-08-22 13:10:15 -04:00
nospam.kotarou.dono@gmail.com
f5a04ae59a Bug 672024 - Mingw build error: undefined reference to `WinMain@16\' in nsinstall_win.c r=khuey 2011-08-22 14:22:03 +02:00
Geoff Brown
7329896875 Bug 668351 - Add make targets to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Brad Lassey
95b9e4b0eb Bug 661282 - Follow up: Bring back the original handling for not specifying --appomni; f=gbrown r=bsmedberg 2011-08-22 09:00:34 +01:00
Sander van Veen
5e4ea0ca8d Bug 673331 - Add identifying information to system compartments. r=mrbkap. 2011-08-21 16:02:24 -07:00
Kyle Huey
7393462fd3 Back out Bug 680515. 2011-08-22 11:08:48 -04:00
Kyle Huey
7887b9304a Backed out changeset 53f198cfbf47 because Bug 680515 caused compiler flags to change undesirably. 2011-08-22 11:08:33 -04:00
William Maddox
b1deb597ff Bug 679454 - Correctly handle cross-segment jumps on MIPS [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : bed1948bd2e72c4d77016289242645a50277483d
2011-08-17 14:29:08 -07:00
Edwin Smith
38fd21bc5d Bug 679397 - X64 branch patch code seems to be wrong for jmp 64bit, but is actually fine: comment needed. (r=edwsmith)
--HG--
extra : convert_revision : f8df3cfd88b628f5488f3b6734543e3f7ff6f968
2011-08-17 16:11:36 -04:00
Igor Bukanov
712146a6db bug 686017 - avoid Cell::arenaHeader() on fast paths. r=bhackett1024 2011-08-16 12:27:34 +02:00
Igor Bukanov
cc337ac79c bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024 2011-08-09 10:51:59 +02:00
Jason Orendorff
367c025c85 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Jim Blandy
22fd080846 Update object -> prototype GC edge names in findReferences tests. Bug 685372, r=jorendorff.
--HG--
extra : rebase_source : 9486c08e60bb4a8c0557daef58ea85e6d426127d
2011-09-08 16:19:13 -05:00
Ehsan Akhgari
70ccb012fd Backout changeset 9360e5529f22 (bug 685150) because of make check failures 2011-09-09 10:03:55 -04:00
Jacek Caban
9fa7965d5a Bug Bug 685554 - Set OS_TARGET to WINNT when crosscompiling on mingw r=glandium 2011-09-09 15:07:39 +02:00
Tom Schuster
185cab595a Bug 685150 - Generate native code for Math.min/Math.max in the methodjit. r=bhackett 2011-09-09 14:53:28 +02:00
Jason Orendorff
a622e35128 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Igor Bukanov
122978d466 bug 684796 - fixing assertions for GC thing iterators. r=bhackett1024 2011-09-06 16:13:56 +02:00
Luke Wagner
b1e57a60f7 Fix bustage in d6242989d95d; pushInvokeArgs should just LeaveTrace and avoid the silly requirement on callers (r=orange)
--HG--
extra : rebase_source : 2e3f97f7d4bc10c6fa90e91b6a76802ed31f4a72
2011-09-06 11:58:19 -07:00
Luke Wagner
54a297e878 Bug 674998 - Remove InvokeSessionGuard; it's bug-prone and we should self-host instead (r=bhackett) 2011-09-06 09:06:07 -07:00
Luke Wagner
5f3109a26e Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brian Hackett
eae037f0a7 [INFER] Allow analysis/compilation of top level <script>, bug 662704. 2011-08-18 08:54:36 -07:00
Jan de Mooij
a8cdc60ea1 [INFER] Don't clobber value register in convertForTypedArray, bug 679666. r=bhackett 2011-08-18 16:07:55 +02:00
Brian Hackett
febafa7470 [INFER] Add missing check for unknownProperties(), bug 679810. 2011-08-17 17:41:50 -07:00
Brian Hackett
623e341976 [INFER] Add missing MakeTypeId, bug 679799. 2011-08-17 17:37:32 -07:00
Brian Hackett
42c4de9ad1 [INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782. 2011-08-17 16:11:38 -07:00
Brian Hackett
e3657362df [INFER] Mark singleton JSObjects as well as TypeObjects when a GC is triggered during analysis, bug 678240. 2011-08-17 13:16:11 -07:00
Brian Hackett
7619efd11f [INFER] Always print spew on debug mode type failures. 2011-08-17 09:07:42 -07:00
Brian Hackett
f3b5be7a42 [INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329. 2011-08-17 06:48:14 -07:00
Jan de Mooij
4857992503 [INFER] Compile IFEQX/IFNEX, GOTOX and TABLESWITCHX, bug 678939. r=bhackett 2011-08-17 11:44:02 +02:00
Brian Hackett
2360cdb4f3 [INFER] Fix GC hazard, bug 679094. 2011-08-15 18:52:22 -07:00
Brian Hackett
475556195e [INFER] Fix warnings. 2011-08-15 11:41:52 -07:00
Leon Sha
09aa8919d5 Bug 674179 - [INFER] Make TypeInference work on solaris sparc. r= bhackett. 2011-08-15 01:38:34 -07:00
Brian Hackett
06268c9f02 Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
4cc8b9aec6 [INFER] Fix recompilation hazard in BindName IC, bug 676764. 2011-08-12 13:16:17 -07:00
Brian Hackett
4c595716d9 [INFER] Treat 'this' in constructors as live throughout the script, bug 678234. 2011-08-12 09:41:48 -07:00
Brian Hackett
e1bf2dd7ad [INFER] Sync 'this' fe when testing for primitive return in functions which return a value with unknown type, bug 678141. 2011-08-12 09:18:48 -07:00
Brian Hackett
a267141537 [INFER] Avoid bogus assertion in AssertValidPropertyCacheHit, bug 678087. 2011-08-12 07:54:15 -07:00
Brian Hackett
4c611afd71 Merge MC -> JM 2011-08-12 07:20:08 -07:00
Brian Hackett
bff5c4b010 [INFER] Finalize 'new' script objects in background when possible, bug 678048. 2011-08-11 20:56:17 -07:00
Brian Hackett
88486c366a [INFER] Fix typed array merge botch, bug 678029. 2011-08-11 09:42:41 -07:00
Luke Wagner
fb1c834edd Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-10 17:34:42 -07:00
Shu-yu Guo
bf65fbecb4 [INFER] Fold integer values across TOID. r=bhackett 2011-08-10 16:06:36 -07:00
Rafael Ávila de Espíndola
875d19b690 Bug 678036 - Fix the build with clang in c++0x mode. The first field of a nanojit::CallInfo is a uintptr_t, fix the cast. r=cdleary 2011-08-11 15:39:13 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Shu-yu Guo
552db1b86a [INFER] Have DUP/DUP2 propagate correct SSA values. r=bhackett 2011-08-10 12:30:34 -07:00
Brian Hackett
58b98f768d [INFER] Address opcode profiling review comments, bug 676515. r=sfink 2011-08-10 10:05:49 -07:00
Brian Hackett
b1b711bcfc [INFER] Maybe fix ARM build. 2011-08-10 09:18:05 -07:00
Brian Hackett
a0624338aa [INFER] Don't check for pending exception when restoring interpreter vars after pushing/popping an inline frame. 2011-08-10 09:13:42 -07:00
Kyle Huey
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Justin Wood
19e1a18275 Backout Bug 648134 due to bustage. (rather than back out the whole push) 2011-08-10 05:18:24 -04:00
Brian Hackett
21eec4face [INFER] Fix build breaks. 2011-08-09 20:51:22 -07:00
Brian Hackett
2b67b73ad5 [INFER] Watch out for incorrect SSA use chains in scripts where LOCAL ops alias stack values, bug 677635. 2011-08-09 19:02:24 -07:00
Brian Hackett
1986684c09 [INFER] Don't attach property stubs to GETELEMs fetching stringified integer indexes, bug 677019. 2011-08-09 18:18:58 -07:00
Kyle Huey
9536725f1f Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Brian Hackett
5782d27b2a [INFER] Maybe fix ARM build. 2011-08-09 17:19:42 -07:00
Brian Hackett
65c48b648b [INFER] Store base of data directly in typed arrays, bug 677743. 2011-08-09 17:12:52 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
08395b54ce [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
cbe02dc1d0 [INFER] Inline creation of objects for {}, [], Array() and monomorphic scripted new, bug 677006. 2011-08-09 09:26:08 -07:00
Luke Wagner
bfcd3382e4 Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap)
--HG--
extra : rebase_source : 5c5bfe6968e92ae9039cc65af919bd1519260492
2011-08-05 14:06:33 -07:00
Jason Orendorff
fbb0edbd8d Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Jason Orendorff
a1ebe4283d Mark test regress-677589.js as shell-only, since it tests the shell-only clone() function. no_r=me. 2011-08-13 07:05:43 -05:00
Jason Orendorff
e1a7105345 Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
36ce3d311c Fix opt-only linker error due to missing #include (probably due to a bad merge). r=try_server_red. 2011-08-13 06:57:35 -05:00
Robert Sayre
84d46f8730 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
d0dae6067c Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
b213ad1587 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
373ea045df No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Jason Orendorff
d36ff061fa Address review comments from bhackett (bug 672829 comment 82). 2011-08-12 07:44:14 -05:00
Jason Orendorff
65e5022233 Remove a test that is redundant with Object-seal-01.js. 2011-08-12 07:42:38 -05:00
Jason Orendorff
1420796c6c Bug 678201 - Use CallArgs in Debugger.cpp. Part 6, add CallArgs to Object methods. r=luke. 2011-08-11 16:58:14 -05:00
Jason Orendorff
9fa8b7523e Bug 678201 - Use CallArgs in Debugger.cpp. Part 5, add CallArgs to Frame methods. r=luke. 2011-08-11 16:56:53 -05:00
Jason Orendorff
4527ec677f Bug 678201 - Use CallArgs in Debugger.cpp. Part 4, add CallArgs to Script methods. r=luke. 2011-08-11 16:52:44 -05:00
Jason Orendorff
c48c096916 Bug 678201 - Use CallArgs in Debugger.cpp. Part 3, add CallArgs to Debugger methods. r=luke. 2011-08-11 16:51:20 -05:00
Jason Orendorff
0a316b7c8b Bug 678201 - Use CallArgs in Debugger.cpp. Part 2, move THIS_DEBUGGER just before its first use. r=luke. 2011-08-11 16:49:17 -05:00
Jason Orendorff
385fa0774d Bug 678201 - Use CallArgs in Debugger.cpp. Part 1, specialize THISOBJ macro to THIS_DEBUGGER. r=luke. 2011-08-11 16:48:40 -05:00
Jason Orendorff
a84b890520 Address review comments from billm in bug 672829 comment 76. 2011-08-11 16:07:35 -05:00
Jason Orendorff
02efc70ce2 Fix Frame.arguments bug noticed by luke in bug 672829 comment 69. 2011-08-11 15:50:04 -05:00
Jason Orendorff
f3fcd7625a Address review comments from dmandelin (bug 672829 comment 68). 2011-08-11 09:40:25 -05:00
Jason Orendorff
eaa68e0207 Fix error messages to address review comments from sfink (bug 672829 comment 66). 2011-08-11 02:00:23 -05:00
Jason Orendorff
ed3e6bfd54 Add passing test Object-isSealed-01.js. no_r=me. 2011-08-11 01:33:19 -05:00
Jason Orendorff
9bca815475 Address review comments from billm (bug 672829 comment 65). 2011-08-11 00:58:28 -05:00
Jason Orendorff
59fd77e00c Trivial cleanups: do not export vm/Debugger.h; rename Debugger::mark to markAllIteratively, delete a stray space. No bug number, rs=jimb. 2011-08-10 12:57:30 -05:00
Jason Orendorff
bd42d5ffc4 Bug 677371 - [jsdbg2] Assertion failure: throwing, at jscntxt.h:1274. r=jimb 2011-08-09 18:01:38 -05:00
Jason Orendorff
d8123ebf1c Bug 677587 - [jsdbg2] Assertion failure: debuggees.has(global), at vm/Debugger.cpp:1564. r=jimb. 2011-08-09 16:23:20 -05:00
Jason Orendorff
7abbcaf6a7 Bug 677589 - [jsdbg2] Crash [@ JSObject::getClass] when cloning null. r=jimb. 2011-08-09 15:47:28 -05:00
Jason Orendorff
2b428cbaf2 Bug 677593 - [jsdbg2] Assertion failure: (ptrBits & 0x7) == 0, at ../jsval.h:705. r=jimb. 2011-08-09 15:46:41 -05:00
Jason Orendorff
6666d9cd42 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05:00
Ehsan Akhgari
6690ac6ddf Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jason Orendorff
ccf4fccf33 Various test fixes. Some tests are changed so that they will still pass when native frames are added. 2011-08-06 17:40:55 -05:00
Brian Hackett
3c5d0b72c8 [INFER] Fix ARM build. 2011-08-05 10:36:01 -07:00
Brian Hackett
ea7dab926a [INFER] Fix build break. 2011-08-05 09:49:42 -07:00
Igor Bukanov
96c71ac382 bug 665354 - page-independent free span. r=wmccloskey 2011-08-05 18:43:59 +02:00
Marty Rosenberg
71bc6c54d9 Fix fnegd_r() JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:51:00 -07:00
Marty Rosenberg
8b9979b33e Add GCC format attribute to JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:36:07 -07:00
Jason Orendorff
218e332f1c Bug 672804 - "Assertion failure: parent" with trap right after JSOP_ENTERBLOCK. r=billm. 2011-08-10 17:40:39 -05:00
Jason Orendorff
76846f1c5b Bug 677924 - JS shell: version(4096) asserts. r=cdleary. 2011-08-10 17:37:29 -05:00
Luke Wagner
7c1365819b Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Brad Lassey
726deb160d follow up patch to fix orange from mismatched rules.mk r=orange 2011-08-10 17:53:37 -04:00
Luke Wagner
aadcfc804f Bug 670071 - make Invoke + InvokeArgsGuard less error prone (r=waldo)
--HG--
extra : rebase_source : 7c37385d649394b07dbb92b20e33d6b28874acb0
2011-08-05 08:22:53 -07:00
Luke Wagner
82b532273f Bug 678362 - HashTable should not require callers to bounds-check initial capacity (r=waldo)
--HG--
extra : rebase_source : d0bb0faa097cd04b5be0644f17a37fb96aaffc2d
2011-08-11 18:10:16 -07:00
Luke Wagner
82d1f93fca Bug 677367 - Update pc in mjit throw-handling to match interp (r=dvander)
--HG--
extra : rebase_source : f57e8869d09959c444e13416c960a864f407de4a
2011-08-11 16:59:55 -07:00
Luke Wagner
7bed016524 Bug 677367 - Debug eval-in-frame needs to compute this of enclosing frame (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/bug666448.js => js/src/jit-test/tests/basic/bug666448.js
extra : rebase_source : 0e58378c7456739e305fe2ed10a06a85dedbe830
2011-08-10 17:34:34 -07:00
Ehsan Akhgari
bb6cfae3d6 Bug 680277 - Debug builds should always be compiled with frame pointers; r=khuey 2011-08-18 19:16:25 -04:00
Ms2ger
5406bc5b33 Merge m-c to m-i. 2011-08-18 22:01:33 +02:00
Terrence Cole
5db6e596e0 Bug 547875 - No OOM check on trace when creating a null closure in JSOP_LAMBDA r=dmandelin 2011-08-18 21:50:18 +02:00
Jason Orendorff
4235dced5c Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Jason Orendorff
e03d6ae0ab Bug 679013 - jsdbg2: Crash when a scripted proxy handler throws Error.prototype. r=Waldo. 2011-08-18 12:30:19 -05:00
Kyle Huey
c29ddcfaa4 Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Marco Bonardo
5f0e2fc98d Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac. 2011-08-18 10:18:08 +02:00
Kyle Huey
78de1cd29f Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted 2011-08-17 17:39:11 -04:00
Kyle Huey
80800be4e5 Bug 678867: Eradicate VPATH abuse from js/src. r=ted 2011-08-17 14:15:06 -04:00
Kyle Huey
de6e8acfb3 Merge m-c to b-s. 2011-08-17 07:32:25 -04:00
Mike Hommey
889bc1e410 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Ehsan Akhgari
6ebbd9cd9e Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Luke Wagner
7fc4640d11 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Brian Hackett
24c7f785f6 Fix GC hazard, bug 679094. r=jorendorff. 2011-08-16 06:52:44 -05:00
Mike Hommey
06def372f6 Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-16 09:19:51 +02:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
0c99ef82c8 Bug 679893 - Move up handling of -D js shell argument so that JSOPTION_PCCOUNTS is set before constructing the initial script for Function class (r=cdleary)
--HG--
extra : rebase_source : 4a075c9091fd0ca6bb66df908360e1c3828be496
2011-08-17 15:14:39 -07:00
Ehsan Akhgari
0217d4f515 Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
arno renevier
b9993b42fa Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
c0c2fd819c Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00
Brian Hackett
180947fa76 [INFER] Mark functions uninlineable when calling Invoke on an already-inlined frame, bug 676491. 2011-08-05 08:15:50 -07:00
Brian Hackett
9147feef8c [INFER] Handle recompilation hazard in NAME ICs, recompilation triggered by BINDNAME, bug 676764. 2011-08-05 07:41:11 -07:00
Brian Hackett
f2ab31c27b [INFER] Pin types against GC when splicing prototypes, bug 675232. 2011-08-05 06:47:22 -07:00
Brian Hackett
ca768c1ccf [INFER] More detailed opcode-level profiling, bug 676515. 2011-08-05 05:51:14 -07:00
Walter Meinl
a1c8316d83 Bug 648134 - [OS/2] follow-up Stop building intermediate static libs with fakelibs. r=glandium 2011-08-05 00:16:00 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Ehsan Akhgari
2fa58bdab1 Merge mozilla-central and mozilla-inbound 2011-08-07 00:45:59 -04:00
Phil Ringnalda
ca4290d3a9 Bug 243453 - Fix a 10 year old comment typo to fix a 7 year old bug with a 6 year old review request, rs=jband's 7 year old comment 2 in the bug DONTBUILD 2011-08-06 18:16:28 -07:00
Paul Biggar
585912ae63 Bug 668936: Stringify String.prototype.replace's arguments in the right order (r=jwalden) 2011-08-05 19:28:31 -07:00
Marty Rosenberg
a4c9f645dc Bug 649202 - Implement fast typed arrays for ARM (r=jbramley) 2011-08-05 18:14:50 -07:00
Tom Schuster
f5be51a9c0 Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff 2011-08-06 00:37:54 +02:00
Tom Schuster
77950034de Bug 675896 - Expand Unicode ranges to handle chinese identifiers. Add UnicodeData.txt version 6.0.0 r=waldo
--HG--
rename : js/src/make_unicode.py => js/src/vm/make_unicode.py
2011-08-05 18:08:34 +02:00
Luke Wagner
fb02b93fcc Bug 676486 - Only compare args in StackIter when the StackFrame hasArgs (r=waldo) 2011-08-05 08:22:51 -07:00
Jason Orendorff
bba8ad1126 Address review comments from brendan (bug 672829 comment 42). 2011-08-03 19:43:39 -05:00
Brian Hackett
79c10e3b54 [INFER] Fix uninitialized variable. 2011-08-02 17:58:48 -07:00
Brian Hackett
723cccfffb [INFER] Fix merge botch. 2011-08-02 14:23:44 -07:00
Brian Hackett
1ea56ff32d [INFER] Fix merge botch, infinite loop. 2011-08-02 13:04:21 -07:00
Brian Hackett
5c6df0c03d Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
f1d361e4ef [INFER] Fix broken test. 2011-08-02 08:45:49 -07:00
Brian Hackett
f08e4126fa [INFER] Watch for bytecodes with no fallthrough when rejoining the interpreter, bug 675921. 2011-08-02 08:39:33 -07:00
Brian Hackett
c2590db376 [INFER] Set script for type of Function.prototype, bug 675889. 2011-08-02 08:27:42 -07:00
Marco Bonardo
0dd7aa5da8 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Michael Wu
01b9a1bbf0 Back out bug 667047 for possible orange 2011-08-01 22:46:38 -07:00
Michael Wu
dda77b2c52 Backed out changeset 617081e0fdf5 (bug 667047) for possible orange 2011-08-01 22:46:17 -07:00
Brian Hackett
bee5deec97 [INFER] Improve precision when SETELEM is used on singleton objects, bug 675167. 2011-08-01 22:24:29 -07:00
Michael Wu
baf0595716 Merging backout (bug 664249) for possible orange r=killer 2011-08-01 21:20:23 -07:00
Michael Wu
8dd49dca83 Backed out changeset 3b9852666565 (bug 664249) for possible orange r=killer 2011-08-01 21:20:01 -07:00
Michael Wu
0a36bbf369 merge backout (bug 664249) for possible orange 2011-08-01 21:19:12 -07:00
Michael Wu
e6dce0d707 Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Ben Turner
716629108d Bug 674721 - 'Add memory reporting for web worker data'. r=jst+njn.
--HG--
extra : transplant_source : 9%D0%8D%BF%CE%B1Z%CC%85%EF%F5e%28%0B%A9%D1%18%99%21%11
2011-08-01 21:06:17 -07:00
Nikhil Marathe
a28285d0a7 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Nikhil Marathe
0c583830ce Bug 664249 - Inline TypedArray properties into slots. r=mrbkap
--HG--
extra : rebase_source : 6e3cd2dd738f25b6e1fcf7ac61eaa7f14c238ffc
2011-08-01 15:49:51 -07:00
Jason Orendorff
0cc8abb074 Merge from mozilla-central to jsdbg2. 2011-08-01 17:46:33 -05:00
Nikhil Marathe
332c0da621 Bug 667047 - Ensure proper __proto__ behaviour as a normal property after setting it to null once. r=mrbkap
--HG--
extra : rebase_source : 7fc382055bd6b100c85b97189fbbf58742e87fea
2011-08-01 15:26:54 -07:00
Tom Schuster
6ea96fc45c Add tests for bug 497692 and bug bug 514808 r=Waldo over irc
--HG--
extra : rebase_source : 38e28d963570bcc79c59cb65f2e2294e9068cead
2011-08-02 00:29:12 +02:00
Brian Hackett
61733c8971 [INFER] Only allow expansion of all inline frames in a compartment, bug 675251. 2011-08-01 09:09:39 -07:00
Ben Turner
479e978cdd Bug 676376 - 'prevent multi-threaded JSRuntime access in new web worker memory reporters'. r=luke+sicking. 2011-08-06 18:03:46 -07:00
Marco Bonardo
c349396958 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-01 16:04:07 +02:00
Kyle Huey
aa3baea64a Merge m-c to b-s. 2011-08-01 08:06:23 -04:00
Igor Bukanov
375f661a51 bug 684569 - remove support for custom chunk allocation. r=nnethercote
--HG--
rename : js/src/jsapi-tests/testGCChunkAlloc.cpp => js/src/jsapi-tests/testGCOutOfMemory.cpp
2011-07-31 20:50:42 +02:00
Brian Hackett
e18225f774 [INFER] Allow rejoining after GCs triggered within IterNext, bug 674391. 2011-07-31 08:54:17 -07:00
Brian Hackett
e5364e0c2d [INFER] Don't mark type sets and type objects as unknown when in an inconsistent object/property hash state, bug 674511. Allow compilation logging for specific scripts. 2011-07-31 08:40:46 -07:00
Brian Hackett
5cdd65541b [INFER] Use correct PC when calling lambda stubs, bug 674364. 2011-07-28 19:09:57 -07:00
Brian Hackett
6c3284f1e8 Merge MC -> JM.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Brian Hackett
370ce71667 [INFER] Don't check isMarked() on type objects when a GC tracer with a callback is active. 2011-07-28 16:32:59 -07:00
Marco Castelluccio
fe9bc7f764 Bug 674014 - Remove "check whether mmap() sees write()s". r=glandium 2011-08-18 15:17:30 +02:00
Brian Hackett
872ca11752 [INFER] Allow the same shape to be shared by objects with different types, bug 674621. 2011-07-28 14:17:42 -07:00
Jason Orendorff
c4f527861a Merge from mozilla-central to jsdbg2. 2011-07-28 13:45:51 -05:00
Brian Hackett
beb3e0531e [INFER] Reduce inference-related script overhead, bug 674609. 2011-07-28 09:16:53 -07:00
Luke Wagner
30ebc3e8b0 Bug 676023 - Increment pc on error path out of JSOP_RETURN (r=dvander) 2011-08-04 23:15:35 -07:00
Mike Hommey
abdb4efbe6 Bug 674837 - Properly set android build options on NDK5+. r=ted 2011-07-28 14:58:15 +02:00
Jan de Mooij
79c55c5819 [INFER] LICM for typed arrays, bug 671084. r=bhackett 2011-07-28 11:53:29 +02:00
Jim Blandy
3ee5bd65a5 Bug 672728: Define MoveRef, an rvalue reference type; provide some support for move construction and assignment in js::Vector and js::HashTable. r=luke 2011-08-01 17:52:53 -07:00
Ginn Chen
ff6b6f01bb Bug 673854 - (TypeInference)Fix TI for Solaris x86. r=bhackett. 2011-07-28 09:24:56 +08:00
Jason Orendorff
75a71f51e8 Merge from mozilla-central to jsdbg2 branch. 2011-07-27 18:23:16 -05:00
Jason Orendorff
722572a323 Rename jsdbg.{h,cpp} to vm/Debugger.{h,cpp}. This addresses a review comment from brendan in bug 627829 comment 42.
--HG--
rename : js/src/jsdbg.cpp => js/src/vm/Debugger.cpp
rename : js/src/jsdbg.h => js/src/vm/Debugger.h
2011-07-27 18:03:34 -05:00
Brad Lassey
6e9ed3809d bug 661282 - make xpcshell run on android, follow up to not requre --appomni r=bsmedberg 2011-07-27 14:04:36 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Siddharth Agarwal
7147e45572 Bug 615473 - Make ctypes.stdcall_abi and ctypes.winapi_abi aliases to the sole ABI on Win64. r=dwitte 2011-08-11 01:02:49 +05:30
Tom Schuster
b88a466d4d Bug 616744 - Add GetElement PIC for arguments objects r=dvander 2011-07-27 15:39:55 +02:00
Jeff Walden
4f15098148 Bug 674207 - Assertion attempting to convert the value of the 'it' property in the shell to a primitive. r=luke
--HG--
extra : rebase_source : 40334c0f47f4b0dcb30f1f8cf6dadf87b7b29ada
2011-07-26 23:33:58 -07:00
Steve Fink
1ec520583b Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Steve Fink
93cd3119ac Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Chris Leary
44ce315942 Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden
98b0739498 Bug 678998 - Rename IsFunctionQName to GetLocalNameFromFunctionQName and make it infallible, now that QName's localName slot stores an atom and conversion to jsid can be infallible. r=luke
--HG--
extra : rebase_source : 5f0958ab3053b07ca87eb5955b274e3bd551d23d
2011-08-15 00:12:48 -04:00
Jeff Walden
dbd2819cf5 Bug 678998 - Make the QName localName slot store a local name that's been atomized, for simplicity. r=luke
--HG--
extra : rebase_source : 87d44a95111da809436322d95abd506e1c7beb00
2011-08-15 00:12:48 -04:00
Daniel Holbert
4f7855da4c (no bug) Use C-style instead of C++-style comment in jsopcode.h. rs=mrbkap 2011-08-15 12:11:41 -07:00
Daniel Holbert
429357d73b Bug 678845: Add "u" suffix to large integer literal values in testIndexToString.cpp, to fix GCC warning. r=Waldo 2011-08-15 11:44:17 -07:00
Mike Hommey
81319a847a Backed out changeset 884efa9dcbf9 due to OSX debug orange 2011-08-15 10:39:10 +02:00
Mike Hommey
c71d17420a Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-15 09:24:13 +02:00
Nicholas Nethercote
456abe9346 Bug 678126 - Add "tjit-data/trace-monitor" memory reporter. r=dmandelin. 2011-08-14 19:45:38 -07:00
Phil Ringnalda
34e9bd3e8e Bug 678781 - warnings-as-errors - format '%p' expects type 'void*', but argument 4 has type 'JSScript*' in InvokeHelpers.cpp:880:80, r=billm 2011-08-14 15:34:22 -07:00
Shu-yu Guo
263a4c38d2 [INFER] Fix more assertions, bug 673705. r=bhackett
--HG--
rename : js/src/jit-test/tests/basic/bug673705.js => js/src/jit-test/tests/basic/bug673705-1.js
2011-07-26 14:16:59 -07:00
Tom Schuster
5d42be833c Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Mike Hommey
4bd677bc23 Bug 674910 - Statically link against libstdc++ on Android. r=blassey 2011-07-28 18:55:38 +02:00
Igor Bukanov
907a4b7654 bug 673795 - part2, using lists of avaiulable chunks for faster chunk selection. r=wmccloskey
--HG--
extra : rebase_source : ae4f5a82bc4042e341fdb5c08e3f0fe4b4ae8935
2011-07-26 09:55:23 +02:00
Rafael Ávila de Espíndola
37a7cdc2f2 bug 672501 - pass MOZ_OPTIMIZE_LDFLAGS when checking for __thread support. r=ted 2011-07-25 20:43:00 -04:00
Brian Hackett
58db813767 Merge. 2011-07-25 16:48:30 -07:00
Brian Hackett
361b7570ee [INFER] Mark overflows on TOID when result value is a non-integer, bug 674085. 2011-07-25 16:46:32 -07:00
Brian Hackett
9813d7c25d [INFER] Mark functionScript while tracing type objects, bug 673797. 2011-07-25 15:44:11 -07:00
Brendan Eich
f2d568f9a0 Tweak to skip-if not fail-if for bug 588061's shell-only test. 2011-08-01 14:45:57 -07:00
Steve Fink
cd923d1651 Bug 673612 - JS shell help was missing functions added through jsdbgapi (r=cdleary)
--HG--
extra : rebase_source : 67668380cdbf28d7bbdc1fc5e39beaf386eb05ab
2011-07-26 15:55:43 -07:00
Steve Fink
2d93efacce Bug 673627 - Make --enable-callgrind turn on --enable-profiling (r=dmandelin)
--HG--
extra : rebase_source : aefb887b05329fb2c80260160dcbd6f9b18ab815
2011-07-26 15:56:04 -07:00
Steve Fink
c319d416f7 Bug 673616 - Fix build with --enable-shared-js and --enable-shark (r=khuey)
--HG--
extra : rebase_source : 8ec038317f7381df27942bd529ef9225ebc6fb0e
2011-07-26 15:42:16 -07:00
Brian Hackett
568dfb4413 [INFER] Scan entire prototype chain for a lookupProperty hook when nop-ing accesses on singleton objects, bug 673788. 2011-07-25 15:00:42 -07:00
Brian Hackett
f3f515f0f4 [INFER] Check compartment when tracing TypeObject conservative roots during GC, bug 673792. 2011-07-25 14:48:22 -07:00
Brian Hackett
5154658e54 [INFER] Clear all frame ncode values on GC to avoid confusing the recompiler, bug 673812. 2011-07-25 13:57:29 -07:00
Shu-yu Guo
bd2fa16e79 [INFER] Fix assertion failure, bug 673705. r=bhackett 2011-07-25 11:02:44 -07:00
Brian Hackett
4b6dbc679c Move DECOMPOSE tests in Decompile() into individual cases, bug 673710. 2011-07-25 10:32:56 -07:00
Kyle Huey
6ab62c5552 Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted 2011-07-25 10:20:43 -07:00
Brian Hackett
ee0f798546 [INFER] Fix merge botch, bug 673767. 2011-07-25 09:33:41 -07:00
Brian Hackett
ead1d1ec71 [INFER] Don't dereference type->newScript immediately after checking against NULL, bug 673766. 2011-07-25 09:02:55 -07:00
Brian Hackett
1c29d97da1 [INFER] Only allow inlined frames to call other frames in the same VMFrame, bug 673763. 2011-07-25 08:57:00 -07:00
Brian Hackett
062072fa23 [INFER] Handle case in INCNAME on const vars which are morphed into GETGNAME by the emitter, bug 673731. 2011-07-25 07:42:46 -07:00
Brian Hackett
4a15c69088 [INFER] Add mising MakeTypeId when fixing properties in object literal types to double, bug 673713. 2011-07-25 07:28:07 -07:00
Brian Hackett
099c11fe90 [INFER] Always maintain flags on non-lazy type flags, bug 673715. 2011-07-25 07:13:02 -07:00
Igor Bukanov
d6d80f5a73 bug 673795 - part1, no empty chunk hashing. r=anygregor
--HG--
extra : rebase_source : 5700156556287ae6e72b78640451c5ceb1013df4
2011-07-25 13:04:02 +02:00
Igor Bukanov
1de6570b85 bug 678457 - remove assert about a pending exception in the scanner as OOM does not throw. r=luke
--HG--
extra : rebase_source : f71a1bac1d0271758ef9623156cd53d396346a2a
2011-08-12 10:15:29 +02:00
Landry Breuil
208630ac67 Bug 545222: treat powerpc-*-openbsd* as powerpc-*-freebsd*, r=gal 2011-08-12 13:47:22 -07:00
Jeff Walden
fec16d8559 Bug 678074 - Implement js::PropertyName, a subclass of JSAtom which represents a string which does not contain an unsigned 32-bit index. This type will eventually be used internally (and possibly at some point externally) for all guaranteed-non-element property accesses. r=luke
--HG--
extra : rebase_source : b5b7b975b7c5e3caa312784a0edc49c112d2aa09
2011-08-10 14:54:47 -07:00
Jeff Walden
90876d8d1e Bug 677820 - String.prototype.match should define properties for matches on the returned array, not set them. r=pbiggar
--HG--
extra : rebase_source : 9001b1f918f403c50fa4bba57f54cbb22e887a70
2011-08-10 14:54:36 -07:00
Jason Orendorff
48531c9e78 Bug 672892 - CloneLeftHandSide should not also clone the right-hand side. Well sure it sounds obvious when you write it out like that. r=dvander.
--HG--
extra : rebase_source : cfcaf1f4c681fc67fd70d20818bdccf5183cde94
2011-08-12 13:43:21 -05:00
Daniel Holbert
f5df3d50be Bug 677993 followup: Use uintptr_t instead of size_t for casting unsigned values to/from void*, in JSObject::getArrayLength & setArrayLength. rs=waldo 2011-08-12 11:28:51 -07:00
Chris Dearman
0c77d18255 Comment Bug 602389 - nanojit: make Register a non-numeric type on MIPS. r=nnethercote.
--HG--
extra : convert_revision : 8363264654d5e1cc9c552764e476476b634fabd9
2011-07-24 19:55:58 -07:00
Nicholas Nethercote
84505fba14 Bug 671150 - Add memory reporter for the JS PropertyTable. r=brendan. 2011-07-24 17:00:56 -07:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Brian Hackett
796ba0c84c [INFER] Make sure prevpc() values are intact when returning into the interpreter via js_InternalThrow. 2011-07-23 08:10:18 -07:00
Ed Morley
665459d156 Bug 672046 - Valgrind suppression files are still generated in objdir even when building without --enable-valgrind; r=ted 2011-07-23 11:59:19 +02:00
Jeff Walden
cbfd8e2789 Bug 673647 - Explicitly identify which bits in JSObject::flags are available for new uses. r=dvander
--HG--
extra : rebase_source : 18f3edce0127110b0f9528dd21f8598ba97ff1a1
2011-07-22 19:10:54 -07:00
Brendan Eich
d94cff4ac3 Bug 588061 - bogus initial tokenizer position (r=cdleary). 2011-07-22 18:14:17 -07:00
Luke Wagner
495c630b33 Bug 672026 - JSObject::principals should return the compartment's principals if there is no object-principals-finder (r=mrbkap) 2011-07-22 15:22:05 -07:00
Brian Hackett
a96f171b21 [INFER] Clear propagated bit from property type sets on GC, update comments, bug 673469. 2011-07-22 12:55:52 -07:00
Ehsan Akhgari
3be0b6110e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Shu-yu Guo
1704d2eeb1 [INFER] Fix bug in previous fix for bug 673341. r=bhackett 2011-07-22 12:47:16 -07:00
Shu-yu Guo
8383c08735 [INFER] Kill warning. 2011-07-22 12:15:15 -07:00
Blake Kaplan
d87a8b11e5 Bug 673503 - Make sure the prototype here is in the right compartment. r=wmccloskey 2011-07-22 12:14:02 -07:00
Shu-yu Guo
4ed56d317b [INFER] Fix liveness analysis for try block, bug 673341. r=bhackett 2011-07-22 11:53:18 -07:00
Brian Hackett
c46be499d6 [INFER] Fix orange. 2011-07-22 10:25:57 -07:00
Jason Orendorff
0a4b0df2c1 Address review comments from brendan (bug 627829 comment 35). 2011-07-22 10:54:36 -05:00
Tom Schuster
ffe5a02597 Bug 635017 - /undefined/.match() should succeed. r=jorendorff. 2011-07-22 09:46:07 -05:00
Marco Bonardo
55b2a4bd7e Merge mozilla-central and mozilla-inbound 2011-07-22 15:31:14 +02:00
Kyle Huey
21cdfe78c0 Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Brian Hackett
6147c6fd37 [INFER] Rejoin into the interpreter from js_InternalThrow, bug 672123. 2011-07-21 23:03:10 -07:00
Brian Hackett
012ece7c31 [INFER] Don't emit malformed eleminc ops when incrementing XML names, bug 672153. 2011-07-21 21:27:23 -07:00
Brian Hackett
f67df11928 [INFER] Balance stack in decomposed INCELEM emitted for SETCALL, bug 672122. Fix build break. 2011-07-21 21:12:25 -07:00
Brian Hackett
e134ab18bd [INFER] Check for constant integer objects when hoisting array and property accesses, bug 671814. 2011-07-21 20:27:34 -07:00
Brian Hackett
dda30fa4b2 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Brian Hackett
baf48d73e8 [INFER] Fix build breaks, orange. 2011-07-21 17:17:25 -07:00
Kyle Huey
4682f37f8c Bug 585015: Invoke header.py as a native command. r=glandium 2011-07-21 17:01:45 -07:00
Luke Wagner
e8188afccb Backout out bug 672026 for causing mobile startup crashes 2011-07-21 16:39:10 -07:00
Jason Orendorff
0be0bd62cf Address review comments from billm (bug 672829 comment 15). 2011-07-21 18:14:33 -05:00
Jason Orendorff
b01a686753 Address review comments from Waldo (bug 672829 comment 26). 2011-07-21 17:38:05 -05:00
Jason Orendorff
a03f15a1eb Address review comments from Waldo (bug 672829 comment 24). 2011-07-21 17:36:09 -05:00
Kyle Huey
aeb493ded5 Bug 672938: Make pythonpath.py work as a pymake native command. r=ted 2011-07-21 15:07:33 -07:00
Jason Orendorff
30ecf8305b Address review comments from Waldo (bug 672829 comment 23). 2011-07-21 16:23:21 -05:00
Jason Orendorff
254ba76233 Address review comments from dvander (bug 672829 comment 17). 2011-07-21 15:46:04 -05:00
Nicholas Nethercote
ec50329442 Bug 685429 - Avoid wasted space in JSFunctionBoxQueue due to jemalloc rounding up. r=pbiggar.
--HG--
extra : rebase_source : 6344167b2b46f353fb88ae2839882c29247f606f
2011-09-08 16:53:00 -07:00
Andrew McCreight
b8c7ff03db Bug 685593 - Remove unused argument from Debugger::markAllIteratively. r=jorendorff 2011-09-08 10:34:47 -07:00
Brian Hackett
6cedc75bac [INFER] Make TypeObject a GC thing, remove lazily created type objects on GC, bug 669969. 2011-07-21 07:28:01 -07:00
Mike Hommey
81927e24f3 Backed out changeset e2c917e0bc31 (bug 671804) because of xpcshell orange 2011-07-21 11:14:06 +02:00
Mike Hommey
34c4b1bb29 Bug 671804 - Provide NS_APP_PREF_DEFAULTS_50_DIR and NS_APP_PREFS_DEFAULTS_DIR_LIST in xpcshell dir provider. r=bsmedberg 2011-07-21 09:57:07 +02:00
Ginn Chen
02f6d40f21 Bug 673850 - Fix YARR with Solaris Studio compiler. r=dmandelin. 2011-07-28 11:35:30 +08:00
Jason Orendorff
f8465f2924 Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb. 2011-07-27 17:44:43 -05:00
Jason Orendorff
9b4065b6f0 Bug 651940 - When hashing a jsid, assert that js_CheckForStringIndex(id) == id. r=Waldo. 2011-07-27 17:44:29 -05:00
Blake Kaplan
4dce96c6be Bug 669228 - Don't use the dummy global as a real global. r=jorendorff 2011-07-27 12:33:33 -07:00
Blake Kaplan
f5da8f28a2 Fix bug 674182. r=jst 2011-07-27 12:29:26 -07:00
Bill McCloskey
e5b1c12c0c Bug 672687 - Fix rebasing mistake 2011-07-27 10:48:52 -07:00
Bill McCloskey
b87fbad118 Bug 672687 - Add more asserts for cross-compartment pointers in proxies (r=mrbkap) 2011-07-27 10:31:06 -07:00
Mike Hommey
2c6ed6f9c7 Bug 671804 - Provide NS_APP_PREF_DEFAULTS_50_DIR and NS_APP_PREFS_DEFAULTS_DIR_LIST in xpcshell dir provider. r=bsmedberg 2011-07-21 09:57:07 +02:00
Evan Shaw
114f8c6a2d bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted 2011-07-21 02:32:00 -04:00
Nicholas Nethercote
a29b258004 Bug 672694 - Add memory reporters to count compartments. r=gal. 2011-07-21 00:20:47 -07:00
Nicholas Nethercote
f3aebefb11 Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar. 2011-07-20 21:08:24 -07:00
Dão Gottwald
eef805ec9f Backed out changeset e25da7cc7c63 2011-07-21 05:25:34 +02:00
Bill McCloskey
6e203755b1 Bug 672112 - Fix PICTable bug in tracer (r=dmandelin) 2011-07-20 17:31:51 -07:00
Jeff Walden
252a1b2636 Bug 672854 - Crash when a syntax error is encountered immediately after the |in| in a for-in loop header. NOT REVIEWED YET
--HG--
extra : rebase_source : 875a214b0d0b140649b0845fb649c5c4926e4804
2011-07-20 14:26:57 -07:00
Makoto Kato
b55f8d896d Bug 669564 - XMM6 and XMM7 aren't scratch register on Win64 ABI. r=dvander 2011-07-22 17:58:26 +09:00
Jason Orendorff
3601afef8b Revert some unnecessary and incompatible changes I made to JS_DumpHeap in rev 2560cd08c828. 2011-07-20 12:01:02 -05:00
Jason Orendorff
6622960d6e Change comments in jsdbg.cpp to conventional style. 2011-07-20 11:05:36 -05:00
Jason Orendorff
4b246b5b3e Cleanup for review. This undoes some changes made earlier to tests, fixes some formatting errors, deletes some dead code, and fixes a bug in JSPROP_NATIVE_ACCESSORS support. 2011-07-20 10:39:01 -05:00
Igor Bukanov
d94f269063 bug 672493 - skip native stack check under GLIBC. r=dmandelin 2011-07-20 13:26:35 +02:00
Ed Morley
764a03df42 Merge mozilla-central to mozilla-inbound 2011-09-01 08:49:23 +01:00
Daniel Holbert
2a56792fc2 Bug 683729: Remove unused variable 'frame' from js::Debugger::onTrap(). r=jorendorff 2011-09-01 00:10:37 -07:00
Kyle Huey
936a61f505 Bug 578478: Followup to placate the copy-paste test. 2011-07-19 15:55:22 -07:00
Kyle Huey
945bfa198d Bug 578478: Switch to pyxpidl for header generation. Parts by bsmedberg, with r=jorendorff,khuey, and parts by me, with r=bsmedberg 2011-07-19 14:46:25 -07:00
Kyle Huey
83c42e48af Merge m-c to b-s. 2011-07-19 08:50:02 -07:00
Brian Hackett
4126309311 [INFER] Fix busted jstests. 2011-07-19 07:21:33 -07:00
Jason Orendorff
684476de93 Use reserved slots rather than Debugger fields for hooks. 2011-07-19 08:27:03 -05:00
Mike Hommey
2785b088eb Bug 551138 - Allow to build against system libffi. r=ted 2011-07-22 08:47:57 +02:00
Nicholas Nethercote
ca8a2e6e49 Bug 672732 - Don't report per-compartment measurements that have zero bytes. r=gal. 2011-07-21 17:39:01 -07:00
Chris Leary
51af6b197d Bug 673052: Fix JS shell option parser argument leak. (r=dvander) 2011-07-21 12:14:20 -07:00
Luke Wagner
d8af27d8bc Bug 672283 - eval cache should hit if both 'principals' and 'script->principals' are null (r=mrbkap) 2011-07-18 17:39:28 -07:00
Luke Wagner
de46d72752 Bug 672026 - Ensure that there is an object principals finder during early startup (r=mrbkap) 2011-07-18 17:37:19 -07:00
Jason Orendorff
052fe6b23a In JSCompartment::sweepBreakpoints, enumerate the breakpoints safely instead of reading freed memory. 2011-07-18 16:57:39 -05:00
Ehsan Akhgari
34ec9e0587 Merge mozilla-central and mozilla-inbound 2011-07-18 18:16:25 -04:00
Ehsan Akhgari
b12177a76c Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds 2011-07-18 18:14:59 -04:00
Jason Orendorff
671bbf0bb1 Merge mozilla-central to jsdbg2. 2011-07-18 10:58:56 -05:00
Ben Turner
3b5744241b Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-17 15:09:13 -04:00
Brian Hackett
5d950cd220 [INFER] Decompiler and Windows interpreter fixes for decomposed property ops, bug 647624. 2011-07-16 16:40:47 -07:00
Brian Hackett
b93d6270e7 [INFER] Decomposed prop fixes for XDR, INDEXBASE and the tracer, bug 647624. 2011-07-16 13:47:58 -07:00
Brian Hackett
b69580a796 [INFER] Decompose property inc/dec ops for JM and TI, bug 647624. 2011-07-16 08:25:22 -07:00
Brian Hackett
2291066d7c [INFER] Add rejoins for call sites that can trigger GC, bug 671943. 2011-07-16 07:15:34 -07:00
Brian Hackett
14ffb09713 [INFER] Fix merge issues. 2011-07-15 20:38:18 -07:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Jeff Walden
468332b8f0 Bug 607371 - Throw an exception when an excessively large arguments array is passed to Function.prototype.apply, rather than silently passing only the maximum number of supported elements. Silently treating the array as smaller than it actually is is prone to silent errors; throwing an exception is immediate and obvious. r=luke
--HG--
extra : rebase_source : 3ae04ac924cd28199ba0e48d90dba2f7c5a2c563
2011-07-25 20:33:02 -07:00
Jeff Walden
518fa9f4fa Bug 674775 - Implement js::IndexToString to get a JSString corresponding to a uint32_t. r=luke
--HG--
extra : rebase_source : 4933683a4d051521d2ba3bad0f16b5f5dc01e03d
2011-07-27 17:09:12 -07:00
Marty Rosenberg
8c038a81e6 Bug 674143 - Change jsval tag representation; change ARM mjit backend to test tags using a single comparison (r=dvander,luke) 2011-07-29 16:24:30 -07:00
Boris Zbarsky
2bf85f93fe Bug 671453. Fix use of [implicit_jscontext] with non-quickstubbed setters. r=mrbkap 2011-07-29 14:30:00 -04:00
Luke Wagner
7c2aed79f4 Fix 22134b2abde4 for non-JS_THREADSAFE builds (r=burning) 2011-07-29 11:14:46 -07:00
Luke Wagner
17beadfb85 Bug 672971 - Remove SetSafeJSContext (r=bz,bent)
--HG--
extra : rebase_source : f7eb1dcd3bc8ae1bfda0a89d044c0da9621d99e9
2011-07-27 16:15:50 -07:00
Luke Wagner
807852f5c4 Bug 669617 - Fix debug-only null-deref in JS_IsRunning (r=igor)
--HG--
extra : rebase_source : f9f1215705f36bb2d37553f92a3058b73304bd6f
2011-07-28 17:59:43 -07:00
Nick Fitzgerald
9098b89abc Bug 674283 - Add source map urls to JSScript. r=jorendorff. 2011-07-29 10:44:45 -05:00
Jeff Walden
3269a728a3 Various minor formatting tweaks, de-indentation, &c. to Utf8ToOneUcs4Char. No change to actual logic in the code. r=sparky
--HG--
extra : rebase_source : f414988004996f16fd01b82263668a8befb727b2
2011-07-15 15:41:47 -07:00
Brian Hackett
89a7a7eac5 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Jeff Walden
55a0fe3577 Bug 520095 - Don't censor U+FFFE and U+FFFF, when decoded by decodeURI or decodeURIComponent, to U+FFFD: just return the character. r=masa141421356@gmail.com
--HG--
extra : rebase_source : 6f93df1bb7e1c6f5621595a277486ad14ac2dcf1
2011-07-15 14:15:55 -07:00
Brad Lassey
d7d64adac1 bug 672939 - fennec package name repeats itself with NDKr5 and greater r=khuey 2011-07-20 17:02:04 -04:00
Brendan Eich
0c46987a59 Bug 671947 - Unqualified function invocation uses the global object the property was gotten from as |this| (r=luke). 2011-07-20 12:48:12 -07:00
Chris Leary
ee638a87ca Bug 613820: Regexp forwards ref in quantified parens test. (r=dmandelin) 2011-07-20 10:12:36 -05:00
Brendan Eich
1cc4cea754 Bug 621954 - common BindLocalVariable harder in jsparse.cpp (r=cdleary). 2011-07-20 09:24:28 -05:00
Michael Wu
9e2c6a0264 Bug 664898 - Cleanup startup cache api, r=taras 2011-07-20 00:39:09 -07:00
Makoto Kato
b1f75f3be0 Bug 672450 - C4233/C4267 warning for jsobj.h, vm/String.h and jsatom.h. r=luke 2011-07-20 14:07:51 +09:00
Nicholas Nethercote
0089d27bf7 Bug 672439 - Avoid duplicate names for system compartment reporters. r=gal. 2011-07-19 16:59:16 -07:00
Chris Leary
87089e8f09 Bug 669776 - Genericize tagged pointer hasher. (r=Waldo) 2011-07-19 16:37:11 -07:00
Chris Leary
a619b5f224 Bug 668095 - Write a proper option parser for SpiderMonkey CLI. (r=dvander) 2011-07-19 16:37:09 -07:00
Bill McCloskey
e41d5f10b1 Bug 671113 - Poison JSScripts when freed to get more crash data (r=dmandelin) 2011-07-19 14:21:58 -07:00
Jason Orendorff
ca0b6c2b6b Bug 648175 - Remove JSOP_FOR*. Second second landing, to coin a phrase. r=dvander.
--HG--
extra : rebase_source : f893091e91a5b409c38ba08ddccfa0a6aa0a92c8
2011-07-19 11:00:43 -05:00
Andrew McCreight
a23526f81d Bug 666549 - Don't delete empty ObjectValueMaps in WeakMaps. r=igor 2011-07-19 09:30:16 -07:00
Justin Lebar
470956d8ab Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Jeff Walden
bca3d6372d Remove code for JS_HAS_ARRAY_EXTRAS, and make the extra methods ES5 added to Array.prototype always present. rs=luke
--HG--
extra : rebase_source : 8dd08dee39ae2ff15d326ece9ad82ffe6ab1946a
2011-07-15 14:06:40 -07:00
Geoff Brown
1cafda1972 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Brian Hackett
c091101935 [INFER] Lazily create type objects for singleton JS objects, bug 670185. 2011-07-15 10:14:07 -07:00
Gary Kwong
f2fcb005ed Merge TM -> JM. Last merge from TM to grab 4 changesets prior to the start of the experiment to use mozilla-inbound instead of tracemonkey. 2011-07-15 23:18:10 +08:00
Jason Orendorff
336c92f85f Follow-up to previous changeset, just move a few things around. 2011-07-14 16:51:15 -05:00
Jason Orendorff
37c358c7bf True story: GCC likes function templates in debug builds, but not in release builds. Fix by ripping out the templates. 2011-07-14 16:42:23 -05:00
Jason Orendorff
c99f653075 Make more functions static. 2011-07-14 14:11:49 -05:00
Jason Orendorff
a16e1dd709 Add Debugger.Object.prototype.{seal,freeze,preventExtensions,isSealed,isFrozen,isExtensible}. 2011-07-14 11:05:52 -05:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
50bcc856b0 Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Nicholas Nethercote
ed80f3df3e Bug 669434 - Fix obscure bugs in CompileFileHelper. r=brendan.
H:Bug 669434 - Fix obscure bugs in CompileFileHelper.  r=brendan.
ubranch 'default'
2011-07-14 19:40:23 -07:00
Jan de Mooij
e1aea9d278 [INFER] Enable typed array paths if the type set contains multiple objects with the same array type, bug 670885. r=bhackett 2011-07-14 16:42:37 +02:00
Siddharth Agarwal
a7d1a0c8f9 Bustage fix for bug 670249 -- remove PLSRCS 2011-07-13 18:54:41 -07:00
Siddharth Agarwal
bee5d53a97 Bug 670249 - Get rid of NFSPWD, nfspwd.pl and fastcwd.pl. r=glandium 2011-07-13 17:54:31 -07:00
Steve Fink
d2ab0d6e3f Bug 671035 - Remove windows.h from jsprobes.h by moving ETW support into jsprobes.cpp (r=dmandelin)
--HG--
extra : rebase_source : a290b4a967fe86ce4ba70dc3c8f2f6a3698f6b48
2011-07-13 17:26:58 -07:00
Jason Orendorff
182e234314 Remove unneeded Vector::find methods now that there is a js::Find in jstl.h. 2011-07-13 19:15:38 -05:00
David Mandelin
0f81026221 Bug 605290: check for null globalObject before innerizing, r=luke 2011-07-13 16:47:10 -07:00
Brad Lassey
df89bedfff bug 671346 - build fails with android NDKr6 r=khuey 2011-07-14 20:45:42 -04:00
Nicholas Nethercote
df63e69bd3 Bug 671482 - Use the trusted principal to identify the system principal. r=luke. 2011-07-15 09:52:51 +10:00
Nicholas Nethercote
bc2ec1e581 Bug 671482 - Rename some identifiers to improve clarity. r=anygregor. 2011-07-15 09:31:52 +10:00
Bill McCloskey
6ccefeb374 Bug 661903 - Fix stupid build issue 2011-07-14 16:07:53 -07:00
Bill McCloskey
fd629a392b Bug 661903 - Move script filename table to compartment (r=igor) 2011-07-14 16:02:12 -07:00
Blake Kaplan
1748f5de80 Backed out changeset 1e6392dd7c14 due to build bustage. 2011-07-14 15:21:42 -07:00
Blake Kaplan
e50f54b72d Fix bug 653926. r=jst 2011-07-14 14:35:41 -07:00
Bill McCloskey
095fa57be2 Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Bill McCloskey
7643e7af42 Bug 670205 - Preserve JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Jason Orendorff
79a19dcd35 Get rid of Debugger.prototype.hooks, a major API change.
This renames the hooks as follows:
  dbg.hooks.debuggerHandler -> dbg.onDebuggerStatement
  dbg.hooks.throw -> dbg.onExceptionUnwind
  dbg.hooks.newScript -> dbg.onNewScript
  dbg.hooks.enterFrame -> dbg.onEnterFrame

This touches just about every test.

--HG--
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-01.js => js/src/jit-test/tests/debug/onDebuggerStatement-01.js
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-02.js => js/src/jit-test/tests/debug/onDebuggerStatement-02.js
rename : js/src/jit-test/tests/debug/hooks-debuggerHandler-03.js => js/src/jit-test/tests/debug/onDebuggerStatement-03.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-01.js => js/src/jit-test/tests/debug/onEnterFrame-01.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-02.js => js/src/jit-test/tests/debug/onEnterFrame-02.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-03.js => js/src/jit-test/tests/debug/onEnterFrame-03.js
rename : js/src/jit-test/tests/debug/hooks-enterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-05.js
rename : js/src/jit-test/tests/debug/hooks-throw-01.js => js/src/jit-test/tests/debug/onExceptionUnwind-01.js
rename : js/src/jit-test/tests/debug/hooks-throw-02.js => js/src/jit-test/tests/debug/onExceptionUnwind-02.js
rename : js/src/jit-test/tests/debug/hooks-throw-03.js => js/src/jit-test/tests/debug/onExceptionUnwind-03.js
rename : js/src/jit-test/tests/debug/hooks-throw-04.js => js/src/jit-test/tests/debug/onExceptionUnwind-04.js
rename : js/src/jit-test/tests/debug/hooks-throw-05.js => js/src/jit-test/tests/debug/onExceptionUnwind-05.js
rename : js/src/jit-test/tests/debug/hooks-throw-06.js => js/src/jit-test/tests/debug/onExceptionUnwind-06.js
rename : js/src/jit-test/tests/debug/hooks-newScript-01.js => js/src/jit-test/tests/debug/onNewScript-01.js
rename : js/src/jit-test/tests/debug/hooks-newScript-02.js => js/src/jit-test/tests/debug/onNewScript-02.js
2011-07-13 17:17:46 -05:00
Jan de Mooij
04cc1b8aa0 [INFER] Inline typed array access if the object may be undefined, bug 670885. r=bhackett 2011-07-13 15:13:04 +02:00
Jason Orendorff
4329b9dad0 Add Debugger.Object.prototype.deleteProperty. 2011-07-13 07:34:21 -05:00
Jason Orendorff
7d92fa02e5 Add Debugger.Object.prototype.defineProperties and a few extra defineProperty tessts. 2011-07-13 06:46:23 -05:00
Jason Orendorff
168fd83e74 Add Debugger.Object.prototype.defineProperty. 2011-07-12 20:19:13 -05:00
Jason Orendorff
c5d451a17b Fix the regressions introduced by rev af9974df716c (bug 665214).
1. Fix an embarrassing bug in NewPropertyDescriptorObject.

2. Fix a similar embarrassing bug in GetOwnPropertyDescriptor.

3. An existing jit-test required some seriously buggy Proxy behavior.
   (It's a "don't crash" fuzztest.) Rev af9974df716c accidentally fixed
   the buggy Proxy behavior, causing the test to fail. Keep the fix and
   update the test.
2011-07-13 14:03:36 -05:00
Jason Orendorff
0e95d06901 Delete a test that hg backout failed to back out. 2011-07-13 10:46:38 -05:00
Jason Orendorff
4c4513de61 Backout 40e989742b4d due to failing jstests. 2011-07-13 10:43:00 -05:00
Jason Orendorff
12e082d98d Backed out changeset 93533be00e3e due to failing jstests. 2011-07-13 10:41:09 -05:00
Jason Orendorff
ef3cb9f6dc Add Debugger.Object.prototype.defineProperties and a few defineProperty tests. 2011-07-13 06:46:23 -05:00
Jason Orendorff
01f08a3395 Add Debugger.Object.prototype.defineProperty. 2011-07-12 20:19:13 -05:00
Luke Wagner
1f831c5948 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Daniel Holbert
95e333a50a Merge last green mozilla-central changeset to mozilla-inbound 2011-07-28 14:53:21 -07:00
Luke Wagner
640dd6a5c2 Backout 2e0fea2cbd9b for windows linker lameness 2011-07-28 14:35:38 -07:00
Jason Orendorff
5f274ec6ed Bug 674618 - Eliminate warnings on Mac introduced by rev ba2bdf497934 (././js-confdefs.h:110:1: warning: "__STDC_LIMIT_MACROS" redefined). r=jimb.
--HG--
extra : rebase_source : 65140f1129745eabbc18f7d8e7a0409ec207a51c
2011-07-28 15:57:50 -05:00
Luke Wagner
c0bacd6aa9 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff) 2011-07-12 10:42:24 -07:00
Martin Rosenberg
b79662c4d7 Bug 673314: Enable generation of multiply instructions on ARM. r=adrake
--HG--
extra : rebase_source : 084b7cb47d4858fa41b44d702c7e97755eee59b3
2011-07-28 09:35:22 -07:00
Ehsan Akhgari
2f51d73796 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Jan de Mooij
9444dd6946 [INFER] Disable inline paths for typed arrays on ARM and fix a regalloc problem, bug 663485. r=bhackett 2011-07-12 18:50:04 +02:00
Jason Orendorff
f5ce61ea3c Merge from mozilla-central to jsdbg2. 2011-07-12 10:47:31 -05:00
Mounir Lamouri
42f2b3d393 Merging mozilla-central and mozilla-inbound. 2011-07-12 10:53:40 +02:00
Daniel Holbert
cf4ffeb9a2 Bug 670794: Remove unused variable 'forInLet' from jsemit.cpp. r=waldo 2011-07-12 00:11:55 -07:00
Daniel Holbert
d7b0e4ac9e Bug 670794: Remove unused variable 'forInLet' from jsemit.cpp. r=waldo 2011-07-11 18:57:45 -07:00
Jason Orendorff
8ec65d33e5 Add Debugger.Object.prototype.getOwnPropertyNames. 2011-07-11 20:32:05 -05:00
Jason Orendorff
807084b05d Add an initial cut at Debugger.Object.prototype.getOwnPropertyDescriptor. This implementation does not ensure that the debuggee does not run. 2011-07-11 20:22:50 -05:00
Jason Orendorff
e5eb2cf8d7 Bug 665214 - Provide a js::GetOwnPropertyDescriptor function that populates a PropertyDescriptor. r=Waldo. 2011-07-11 20:22:25 -05:00
Jim Blandy
a63b459a2d Make Debugger::frame and Debugger::nonHeldScripts use RuntimeAllocPolicy, not SystemAllocPolicy.
I also changed the Debugger constructor to take an additional JSContext
argument, since that seemed a little more legible than getting the Runtime
out of |dbg|'s compartment all the time.
2011-07-11 15:59:41 -07:00
Luke Wagner
5488719adc Fix GCC warning from 60b1a6a58531 (r=red) 2011-07-11 11:03:27 -07:00
Jan de Mooij
3164866fe0 [INFER] Add inline paths for typed arrays, bug 663485. r=bhackett 2011-07-11 19:28:58 +02:00
Luke Wagner
75272a45d4 Bug 669044 - Undo changes to tracer assert (r=dvander) 2011-07-11 10:22:27 -07:00
Luke Wagner
df1d1c90a9 Bug 669043 - Don't assert when the decompiler temporarily changes script->code (r=waldo) 2011-07-11 10:21:31 -07:00
Jason Orendorff
b25a91e697 Merge from tracemonkey to jsdbg2. 2011-07-11 08:53:27 -05:00
Mike Hommey
7faca4feac Bug 670323 - Fixes for nanojit on ARMv4T. r=jbramley
--HG--
extra : convert_revision : 6943e40c4f0a2f9b3c0551306ce89aa535579178
2011-07-09 09:56:27 +02:00
Steven Johnson
8814b013c4 Bug 672722 - [MIPS] Use unsigned comparison for LIR_leui (r=wmaddox)
--HG--
extra : convert_revision : aa21f56df4d21e27c3b7a9770dfb08f275388751
2011-07-20 17:03:45 -07:00
Jason Orendorff
9c28130121 Back out 305a3a0e26fd (bug 680428). 2011-08-23 15:36:48 -05:00
Jason Orendorff
9b811bb7ac Back out 62f8ca0717d6 (bug 658491). 2011-08-23 15:35:50 -05:00
Jason Orendorff
00a18c6eef Back out d44b0dd28b0d (bug 673125 part 1). 2011-08-23 15:35:15 -05:00
Jason Orendorff
98bf4dad58 Back out 7196b000f9df (bug 673125 part 2). 2011-08-23 15:34:59 -05:00
Jason Orendorff
dfa1defc67 Back out 331146c93ebe (bug 673125 part 3). 2011-08-23 15:34:31 -05:00
Jason Orendorff
62a105a5e7 Back out 4a86c9387193 (bug 673125 part 4) due to red and orange. 2011-08-23 15:32:23 -05:00
Jim Blandy
a140873e5f Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff.
--HG--
extra : rebase_source : 54859ba90ebb5da227f6b4460acc6df1bba78107
2011-08-23 14:45:36 -05:00
Jim Blandy
587ee8b976 Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke.
--HG--
extra : rebase_source : 95f862207b19c1923871135e21b8f0839270f24a
2011-08-23 14:45:21 -05:00
Jim Blandy
0cf47b01d9 Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.

--HG--
extra : rebase_source : 0d537b172ce70c049269b1f09380f0eeabec9c92
2011-08-23 14:44:22 -05:00
Jim Blandy
5c0272ce1c Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.

--HG--
extra : rebase_source : 8cef90aea28f4fd71091a7bb6effcfcc7c8b5aa0
2011-08-23 14:44:03 -05:00
Brian Hackett
5b644de997 Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : 6790cf37ea7eec05e768940710a97b37f30a1ebf
2011-08-23 14:43:26 -05:00
Jason Orendorff
6514983537 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : f3c4ff14ae6a95e7c891ea5aac2cfee8c2e28c68
2011-08-23 14:42:17 -05:00
Jacek Caban
87e30c7819 Bug 680872 - PolyIC.cpp fails to compile on mingw-w64 r=jorendorff 2011-08-23 17:36:04 +02:00
Mike Hommey
531e9957c1 Bug 680642 - Don't enable YARR JIT on MIPS, as the implementation is missing. r=dmandelin 2011-08-23 16:13:55 +02:00
Mike Hommey
8aeec92c04 Bug 670719 - Only add -DENABLE_JIT=1 to CXXFLAGS if any of trace/method/yarr jit is enabled. r=dmandelin 2011-08-23 16:13:21 +02:00
Brian Hackett
4980469d03 Reland a37db4d95026 2011-07-08 18:35:07 -07:00
Brian Hackett
761ce3bec0 Reland 104b182daf70 2011-07-08 18:28:03 -07:00
Brian Hackett
0875c60102 Reland b5ebe47700ce 2011-07-08 18:20:04 -07:00
Brian Hackett
875fc32ac6 Reland rev 1013f4be025f 2011-07-08 18:17:39 -07:00
Brian Hackett
fd156b6340 Revert to 6840fbf4dcdd 2011-07-08 17:58:10 -07:00
Brian Hackett
87755b2826 Merge TM -> JM 2011-07-08 17:52:15 -07:00
Jason Orendorff
a89cc3e718 Add partial support hooks.enterFrame. Currently the return value is ignored. 2011-07-08 18:17:49 -05:00
Siddharth Agarwal
996eff61b5 Bug 668058 - Add a DIR_INSTALL nsinstall shortcut, and allow $(INSTALL) to support target-specific makefiles. r=ted 2011-07-08 14:30:27 -07:00
Brian Hackett
00d04a894d Restore per-compartment empty call shape, bug 670152. r=jorendorff 2011-07-08 11:16:25 -07:00
Jason Orendorff
38a438bc97 Add Debugger.Script.prototype.{url,startLine,lineCount}. 2011-07-08 12:41:12 -05:00
Brendan Eich
9daff163c1 Bug 621954 - common BindLocalVariable harder in jsparse.cpp (r=cdleary). 2011-07-07 23:09:38 -07:00
Brian Hackett
eb4a0fc5ea Allow JaegerShot to only partially execute frames, bug 665815. r=luke 2011-07-07 21:02:57 -07:00
Brian Hackett
752b11eaa2 Measure type inference memory usage, bug 669958. r=njn 2011-07-07 20:04:47 -07:00
Jason Orendorff
d8af4ff3e4 Fix another bug with getChildScripts: the relevant bit on JSScript was being set after the newScript hook was called. Set it beforehand instead. 2011-07-07 19:07:09 -05:00
Jason Orendorff
5b32744353 Tighten an assertion in Debugger::onNewScript. 2011-07-07 17:54:44 -05:00
Jason Orendorff
cbb3d8cc24 Fix bug in Debugger.Script.prototype.getChildScripts. It didn't know about JSScript::savedCallerFun. 2011-07-07 17:52:39 -05:00
Luke Wagner
b747d1721b Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo) 2011-07-07 15:40:33 -07:00
Luke Wagner
6d1540eb97 Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo) 2011-08-04 14:49:35 -07:00
Jeff Walden
7090baef12 Bug 676700 - Slightly speed up js::IndexToId by converting directly to atom, not to string and then to atom. r=luke
--HG--
extra : rebase_source : d352929e4002f285670448e4515bea404f2cf88f
2011-08-04 19:21:25 -07:00
Jeff Walden
e296c93cd9 Bug 576034 - Remove aliased property implementation details. r=jorendorff
--HG--
extra : rebase_source : 8d87c5b809937b97643b382d49cfae2eee5581a6
2011-08-04 14:38:26 -07:00
Jeff Walden
257c90c2ca Bug 576034 - Remove aliased properties APIs. r=jorendorff
--HG--
extra : rebase_source : 09c9947953d6ae6d2f359e1cfedde0ea09c338ab
2011-08-04 14:38:00 -07:00
Luke Wagner
673fa49bf2 Backout a22fad398472 and 373e6bd2705d because of burnage 2011-08-04 15:54:14 -07:00
Luke Wagner
59e742e724 Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
--HG--
extra : rebase_source : f77f2ad5521bf4543b518f7f6cc40a3778b7a74a
2011-07-07 15:40:33 -07:00
Luke Wagner
59da0b7e25 Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo)
--HG--
extra : rebase_source : e604fcda8977f50f528f327db8f7bdef22522bb2
2011-08-04 14:49:35 -07:00
Alon Zakai
e6b019d27d Bug 674800 - Print address of XPTCStub with nsXPCWrappedJS. r=mrbkap 2011-08-04 15:01:43 -07:00
Jeff Walden
062e461a6e Windows warning patrol. rs=luke
--HG--
extra : rebase_source : 1b6800ae7a7d56c1d8f056d6d06d0c9d45815e42
2011-08-04 14:28:41 -07:00
Jeff Walden
46cf7041a8 Followup to bug 671630 for the Windows compiler, which actually might well be right in this case. r=bustage 2011-08-04 13:38:35 -07:00
Joey Armstrong
55c77d2cc5 bug 662833 - split rules.mk, dup *.mk beneath js/src/config 2011-07-07 11:29:41 -04:00
Brian Hackett
369b0a54d3 Fix bustage for mjit-disabled, tjit-disabled, and Linux64 warnings-as-errors. 2011-08-30 08:03:34 -07:00
Ed Morley
2e49ad6665 Merge mozilla-central to mozilla-inbound 2011-08-30 14:28:34 +01:00
Ed Morley
32d6fde8fd Backout 5f430b3d9aa4 (bug 675150) for possible OS X 10.5 Ts regression; a=dao 2011-08-30 13:59:40 +01:00
Rafael Ávila de Espíndola
01691bce29 Bug 680515 - Enable strict aliasing in js again. r=khuey. 2011-08-30 08:48:26 -04:00
Ginn Chen
da21159e81 Bug 572983 ctypes.Int64(0x7fffffffffffffff) and ctypes.Int64(0x8000000000000000) does not throw type error on SPARC r=jorendorff 2011-08-30 13:26:53 +08:00
Makoto Kato
8853bbc4cc backout bug 669564 2011-07-07 23:47:06 +09:00
Mike Hommey
4417ab4a0f Backed out changeset 8b7150ba4450 because of win opt build failure 2011-07-07 14:48:17 +02:00
Makoto Kato
4c0099ad70 Bug 669564 - XMM6 and XMM7 aren't scratch register on Win64 ABI. r=bhackett1024 2011-07-07 16:34:19 +09:00
Nicholas Nethercote
579cb7bb08 Bug 669005 - Fix ArrayBuffer so its slots are reported by the "gc-heap/object-slots" reporters. r=jwalden. 2011-07-12 15:44:22 +10:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Andrew Paprocki
025ec4a673 Bug 665819: build fix for ENABLE_YARR_JIT=0, r=dmandelin 2011-07-11 17:32:47 -07:00
Hannes Verschore
d75ca9c0b2 Bug 663575 - Change to emmiter to give offset to condition in srcnote of NOP instruction of do-while 2011-07-11 17:07:14 -07:00
Jason Orendorff
4757c6de25 Implement the newScript hook. Also, change the shell builtin clone() function to support cloning a function into a different compartment (for use by one of the tests). 2011-07-07 00:34:59 -05:00
Jim Blandy
477067d1ce Bug 668438: Let MakePlaceholder's callers put the placeholder in the lexdeps table, as that needs to be done differently in different cases. r=cdleary 2011-07-06 21:14:45 -07:00
Steve Fink
14742586b2 Bug 671632 - Fix shark builds broken by bug 588537 (r=waldo)
--HG--
extra : rebase_source : baa3e89fb3ccc0549aee2c752bb4a46ccc494eec
2011-07-15 11:47:16 -07:00
Jim Blandy
4ba5ae27bb Bug 668438: Let MakePlaceholder's callers put the placeholder in the lexdeps table, as that needs to be done differently in different cases. r=cdleary 2011-07-06 21:14:45 -07:00
Chris Leary
c5840b02ed Bug 613820: Regexp forwards ref in quantified parens test. (r=dmandelin) 2011-07-06 18:09:45 -07:00
Chris Leary
47795b9485 Bug 669786: JSCodeGenerator::upvarMap should be a js::Vector. (r=njn) 2011-07-06 18:00:17 -07:00
Jason Orendorff
9f710511b7 Rename eval scripts to non-held scripts and remove a bogus assertion in DebuggerFrame_getScript. 2011-07-06 14:53:56 -05:00
Brian Hackett
a68d60d8e8 Disable type inference on ARM, bug 669715. 2011-07-06 12:29:07 -07:00
Brian Hackett
c0b367b25f Fix memory leak. 2011-07-06 06:30:49 -07:00
Shu-yu Guo
8453d326d9 Add swap and pick support to TI. bug 668353. r=bhackett 2011-07-05 22:54:19 -07:00
Brian Hackett
a6e714e4a4 Fix warning. 2011-07-05 22:41:41 -07:00
Han Chang
3af25db115 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Rafael Ávila de Espíndola
43597c72c7 Bug 673556 - Make sure that C limits macros are defined on over-zealous compilers; r=khuey
--HG--
extra : rebase_source : 46f5ddf3a2bcfcd882e3814216299af09347de7e
2011-07-26 17:09:42 -04:00
Brian Hackett
1b078f3536 Merge TM -> JM 2011-07-05 18:22:24 -07:00
Chris Leary
679a65fe47 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Brian Hackett
e0c7a11c50 [INFER] Fix build breaks with --disable-methodjit. 2011-07-05 16:52:39 -07:00
Paul Biggar
d8243d6d31 Bug 666448: Remove 2nd argument to escape() for ECMA/Test262 compliance (r=jwalden) 2011-07-05 16:51:12 -07:00
Brendan Eich
0fb17bfc60 Fuse common return interpReturnOK; path (and put comment inside ifdef where it belongs); fit assertion in 100 columns (r=me). 2011-07-05 12:57:44 -07:00
Brendan Eich
40fbf4f25a Use common sub-expression more (r=self). 2011-07-05 12:36:54 -07:00
Brian Hackett
18b2c1c295 [INFER] When pushing new frame don't repoint cx->regs until after checking there is space to push, bug 669304. 2011-07-05 10:12:23 -07:00
Boris Zbarsky
7271e89ea8 Version bump from 7.0a1 to 8.0a1 2011-07-05 12:59:19 -04:00
Jason Orendorff
c00de482a4 Add a passing test for Debugger.Frame.prototype.live. 2011-07-05 10:08:49 -05:00
Jason Orendorff
59c4f629be Rename getYoungestFrame to getNewestFrame.
--HG--
rename : js/src/jit-test/tests/debug/Debugger-getYoungestFrame-01.js => js/src/jit-test/tests/debug/Debugger-getNewestFrame-01.js
rename : js/src/jit-test/tests/debug/Debugger-getYoungestFrame-02.js => js/src/jit-test/tests/debug/Debugger-getNewestFrame-02.js
2011-07-05 07:54:47 -05:00
Jason Orendorff
da62d5e77d Remove some nonsense from JS_DefineDebuggerObject. 2011-07-05 07:50:08 -05:00
Jason Orendorff
26c054bdc4 Rename Debug to Debugger.
--HG--
rename : js/src/jit-test/tests/debug/Debug-clearAllBreakpoints-01.js => js/src/jit-test/tests/debug/Debugger-clearAllBreakpoints-01.js
rename : js/src/jit-test/tests/debug/Debug-ctor-01.js => js/src/jit-test/tests/debug/Debugger-ctor-01.js
rename : js/src/jit-test/tests/debug/Debug-ctor-02.js => js/src/jit-test/tests/debug/Debugger-ctor-02.js
rename : js/src/jit-test/tests/debug/Debug-ctor-03.js => js/src/jit-test/tests/debug/Debugger-ctor-03.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-01.js => js/src/jit-test/tests/debug/Debugger-debuggees-01.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-02.js => js/src/jit-test/tests/debug/Debugger-debuggees-02.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-03.js => js/src/jit-test/tests/debug/Debugger-debuggees-03.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-04.js => js/src/jit-test/tests/debug/Debugger-debuggees-04.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-05.js => js/src/jit-test/tests/debug/Debugger-debuggees-05.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-06.js => js/src/jit-test/tests/debug/Debugger-debuggees-06.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-07.js => js/src/jit-test/tests/debug/Debugger-debuggees-07.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-08.js => js/src/jit-test/tests/debug/Debugger-debuggees-08.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-09.js => js/src/jit-test/tests/debug/Debugger-debuggees-09.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-10.js => js/src/jit-test/tests/debug/Debugger-debuggees-10.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-11.js => js/src/jit-test/tests/debug/Debugger-debuggees-11.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-12.js => js/src/jit-test/tests/debug/Debugger-debuggees-12.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-13.js => js/src/jit-test/tests/debug/Debugger-debuggees-13.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-14.js => js/src/jit-test/tests/debug/Debugger-debuggees-14.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-15.js => js/src/jit-test/tests/debug/Debugger-debuggees-15.js
rename : js/src/jit-test/tests/debug/Debug-debuggees-16.js => js/src/jit-test/tests/debug/Debugger-debuggees-16.js
rename : js/src/jit-test/tests/debug/Debug-enabled-01.js => js/src/jit-test/tests/debug/Debugger-enabled-01.js
rename : js/src/jit-test/tests/debug/Debug-getYoungestFrame-01.js => js/src/jit-test/tests/debug/Debugger-getYoungestFrame-01.js
rename : js/src/jit-test/tests/debug/Debug-getYoungestFrame-02.js => js/src/jit-test/tests/debug/Debugger-getYoungestFrame-02.js
rename : js/src/jit-test/tests/debug/Debug-multi-01.js => js/src/jit-test/tests/debug/Debugger-multi-01.js
rename : js/src/jit-test/tests/debug/Debug-multi-02.js => js/src/jit-test/tests/debug/Debugger-multi-02.js
rename : js/src/jit-test/tests/debug/Debug-multi-03.js => js/src/jit-test/tests/debug/Debugger-multi-03.js
2011-07-05 07:48:26 -05:00
Jason Orendorff
8fc23fced7 Add Debug.Script.getChildScripts. 2011-07-05 06:57:06 -05:00
Marco Bonardo
2dc9ae2975 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-05 10:47:39 +02:00
Gregor Wagner
72e00fabf4 Bug 666058 - Don't share chunks for system compartments. r=gal,igor. 2011-07-05 14:14:33 +10:00
Patrick McManus
054a2164a5 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
Leon Sha
b223802f5f Bug 666488 - [TM] Re-enable YARR on sparc. r=dvander. 2011-07-04 13:40:43 +08:00
Nikhil Marathe
583bf1952d Bug 666599 - Fix ArrayBuffer::obj_lookupProperty. r=mrbkap 2011-07-03 13:32:03 +08:00
Brian Hackett
d9a6f02814 [INFER] ContextStack::currentScript should only return scripts from the current compartment, bug 662841. 2011-07-02 18:49:09 -07:00
Brian Hackett
aacb873583 [INFER] Preserve invariant entry ordering when removing existing redundant entries, bug 668643. 2011-07-02 18:25:12 -07:00
Brian Hackett
9e5b330883 [INFER] Watch for non-closed local names aliased by XML QNAME opcodes, bug 665812. 2011-07-02 07:08:55 -07:00
Brian Hackett
47fd6595dc [INFER] Avoid redundant TypeObject::markUnknown, bug 665289. 2011-07-02 06:58:06 -07:00
Brian Hackett
392d443f17 [INFER] Fix build break. 2011-07-02 06:38:36 -07:00
Brian Hackett
63dde015a5 [INFER] Fix merge botches. 2011-07-01 19:40:53 -07:00
Brian Hackett
e92d4dcd3e Store base of data directly in typed arrays, bug 677743. r=mrbkap 2011-08-10 06:14:04 -07:00
Mounir Lamouri
7bb72c71fc Bug 673817 - Improve auto-discovering of Android platform directory. r=blassey
Note that this will be fully functionnal when a new NSPR snapshot will be
pushed to the tree.
2011-08-10 14:22:43 +02:00
Mounir Lamouri
cf338ddf3c Bug 673799 - Improve auto-discovering of Android toolchain directory. r=blassey
Note that this will be fully functionnal when a new NSPR snapshot will be
pushed in the tree.
2011-08-10 14:23:19 +02:00
Jason Orendorff
1ceaa9d843 Merge from tracemonkey to jsdbg2. 2011-07-01 19:22:47 -05:00
Jason Orendorff
1f245d40df Merge from tracemonkey to jsdbg2. 2011-07-01 19:02:40 -05:00
Brian Hackett
dee99963bb Merge TM -> JM 2011-07-01 16:24:32 -07:00
Luke Wagner
4263a80f79 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
Daniel Holbert
5935e67213 Add static_cast<void*> to pointer arg for %p in format string, to to fix GCC warning. No Bug #, r=jorendorff 2011-08-11 15:19:56 -07:00
Jason Orendorff
0a7f125baa Back out rev 28f58b7bc69e (bug 672804) due to likely Dromaeo regression.
--HG--
extra : rebase_source : 592b309169cd94a3f242c6bf21f94a04f55f8d4b
2011-08-11 16:45:01 -05:00
Jason Orendorff
af9ef5c899 Fix SpiderMonkey GCC compiler warnings. No bug#, r=adrake. 2011-08-11 14:48:42 -05:00
Daniel Holbert
110f0f6999 Bug 665354 followup: Revert s/0/NULL/ in jsgc.cpp to fix GCC warning. r=jorendorff 2011-08-11 11:47:50 -07:00
Daniel Holbert
68b46f5f7e Bug 677993: Add a cast to fix 'cast to pointer from integer of different size' gcc warning in jsobjinlines.h r=bhackett 2011-08-11 11:15:08 -07:00
Jason Orendorff
06d366fad2 Bug 613452 - "Assertion failure: obj->isExtensible()" with Object.seal, sharps. r=Waldo. 2011-08-11 13:24:56 -05:00
Jason Orendorff
18a3fe661b Two changes: Try to make tests/debug/gc-06.js more reliable with conservative GC. And remove the new compartment assertions from jsdbgapi.h, to avoid disturbing jsdbgapi.h-using code other than JSD (such as the shell's trap() function). 2011-07-01 10:30:16 -05:00
Jason Orendorff
6520ac2269 Adjust compartment assertions in the new implementations of jsdbgapi.h Trap entry points. Some are tightened up, but JS_ClearScriptTraps no longer asserts, as that caused a test to fail in debug builds. 2011-06-29 10:16:55 -05:00
Neil Rashbrook
73f5a9c4ec Bug 660526 Remove useless use of PromiseFlatCString r=sayrer 2011-08-15 23:56:46 +01:00
Jason Orendorff
ada69f18d9 Fix test jit-test/tests/debug/Debug-ctor-03.js: only expect new Debug(parent) to fail if parent really cannot be put into debug mode. 2011-06-28 18:08:49 -05:00
Jason Orendorff
be6339e5c2 Add breakpoints.
This adds a new per-compartment implementation of breakpoints and
reimplements the jsdbgapi.h "trap" entry points on top of it. Most
jsdbgapi.h-using code will still work, but there is no longer a single
runtime-wide trapList protected by a lock. Embeddings must follow the
compartment rules for thread safety.

JS_ClearAllTraps was removed, replaced by the per-compartment API
JS_ClearAllTrapsForCompartment.

The new implementation asserts that the PC passed to JS_SetTrap is
actually an offset of an instruction, not just a random number. This
caused quite a few tests to fail; fixes are included.

Added Debug.Script.prototype.setBreakpoint, getBreakpoints,
clearBreakpoint, and clearAllBreakpoints; and
Debug.prototype.clearAllBreakpoints.

In addition to tests targeting the new functionality, this changeset
includes some tests for Debug.Script.prototype.getLineOffsets, which is
hard to test without breakpoints.
2011-06-28 16:06:34 -05:00
Jason Orendorff
4230b2f588 Revise comments on js::Debug::mark. Also inline Debug::sweepCompartment into Debug::sweepAll. 2011-06-28 14:48:22 -05:00
Jason Orendorff
8d25455a7a Add Script.prototype.getAllOffsets and getLineOffsets. 2011-06-28 14:46:00 -05:00
Jason Orendorff
5287606d54 Quick follow-up for thinko in bug 667925: lists can be empty. r=orange. 2011-06-28 12:28:02 -05:00
Jason Orendorff
8b9d92f2ef Bug 667925 - Line number is bogus on JSOP_TRACE opcodes. r=brendan. 2011-06-28 12:15:32 -05:00
Jeff Walden
0dfbe6d91b Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
d2d6ef6dd4 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
309bac37f9 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
e9d975ff6a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Brad Lassey
3df774710d bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Jason Orendorff
f87c801c95 Add Script.prototype.getOffsetLine. 2011-06-25 20:58:17 -05:00
Jason Orendorff
1c0e0f089a Add Frame.prototype.offset. 2011-06-25 19:13:19 -05:00
Igor Bukanov
e39b18efab bug 673760 - keep ArenaHeader::compartment until the GC finishes. r=anygregor 2011-07-24 18:14:10 +02:00
Ehsan Akhgari
8eaf1685d8 Backout bug 670205 and bug 673451 because of build bustage
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Rob Arnold
30f4fb218a Bug 656320: don't delete properties if the delProperty op says not to, r=jorendorff 2011-07-26 11:41:44 -07:00
Bill McCloskey
eda8607b71 Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Bill McCloskey
51329bbb65 Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Hannes Verschore
a412f60330 Bug 673066: Check for GOTOX in processing source notes, r=dvander 2011-07-26 10:55:02 -07:00
Brendan Eich
a4bd07b516 Oops, forgot the test for bug 588061. 2011-07-26 08:40:15 -07:00