Commit Graph

16196 Commits

Author SHA1 Message Date
Brian Hackett
85997e5de5 [INFER] Fix test failures. 2011-09-05 09:05:45 -07:00
Brian Hackett
c80c38c904 [INFER] Fix bug 684623. 2011-09-05 07:34:27 -07:00
Brian Hackett
dc782a5ed8 [INFER] Allow uncopies of loop temporaries after backedges, bug 684621. 2011-09-05 07:33:06 -07:00
Brian Hackett
fb7cef441c [INFER] Fix bug 684594. 2011-09-05 07:31:30 -07:00
Brian Hackett
d78ee3ef8a [INFER] Fix test for when double entries need to be forgotten after branching to a location their type is unknown, bug 684576. 2011-09-05 07:29:51 -07:00
Makoto Kato
034ac0e327 Bug 684662 - js\src\methodjit/MethodJIT.h(690) : warning C4305: 'argument' : truncation from 'js::MaybeConstruct' to 'bool'. r=bhackett 2011-09-05 20:10:54 +09:00
Atul Aggarwal
18ab676d77 Bug 458722 - gcc warning mainly 64 bit: src/xpcconvert.cpp:1931: warning: comparison is always false due to limited range of data type; r=bz 2011-09-05 10:29:06 +01:00
Atul Aggarwal
f0303a7fa5 Bug 581474 - Possible uninitialized variable use in nsXPCWrappedJS::GetNewOrUsed; r=mrbkap 2011-09-05 10:29:06 +01:00
Makoto Kato
50edfd4f34 Bug 684666 - js/src/methodjit/MonoIC.cpp:1357:51: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'. r=bhackett 2011-09-05 17:22:44 +09:00
Nicholas Nethercote
fb390fb055 Bug 676732 - Fix Windows bustage caused by 7fb15a645955. 2011-09-04 21:58:19 -07:00
Makoto Kato
010d6b4185 Bug 663748 - js shell doesn't sometimes output exceptions on Win64. r=luke 2011-09-05 11:24:48 +09:00
Nicholas Nethercote
5164fb3ecf Bug 676732 - Measure and/or avoid slop in important JS memory reporters. r=dmandelin. 2011-09-04 18:32:50 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Nicholas Nethercote
2b9241092a Bug 684180 - Avoid wasted space caused by AssemblerBuffer's growth strategy. r=dvander. 2011-09-04 16:09:56 -07:00
Brian Hackett
2ac6308262 [INFER] Fix bogus assert, allow Disassemble() to be called during GC/arena traversal, bug 684281. 2011-09-04 13:34:38 -07:00
Brian Hackett
27f0eb5880 [INFER] Always clear jitcode during GC with inference enabled, bug 683227. r=dvander 2011-09-04 13:34:08 -07:00
Brian Hackett
799c6dfea0 Don't try to recompile scripts when clearing traps during GC, bug 683966. 2011-09-04 13:33:33 -07:00
Brian Hackett
4c2126dce8 [INFER] Compiler types should reflect inferred types for JSOP_THIS in scripts which have not executed, bug 684084. 2011-09-04 13:33:04 -07:00
Brian Hackett
59c6ee6694 [INFER] Don't swap newTypes for objects during TradeGuts, bug 684348. r=billm 2011-09-04 13:32:13 -07:00
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
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
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
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