Commit Graph

16136 Commits

Author SHA1 Message Date
Nicholas Nethercote
106a4349fb Bug 675150 - Avoid wasted space in JSArenaPools due to jemalloc rounding up, take 2. r=cdleary. 2011-09-07 16:49:28 -07:00
Dave Herman
2e63847e84 Bug 683738 - Recheck TCF_RETURN_EXPR after lazily setting TCF_FUN_IS_GENERATOR. r=cdleary 2011-09-07 15:12:14 -07:00
Brian Hackett
b56f95f91b Fix --disable-methodjit build. 2011-09-07 15:02:40 -07:00
Jim Blandy
1c44423cc5 Bug 679154: Remove gratuitous non-determinism from the copy of SunSpider in js/src/jit-test. r=jorendorff
These are the relevant portions of the changes Paul Biggar wrote for the public SunSpider sources.
2011-09-07 13:46:28 -07:00
Jason Orendorff
48b49c1511 Bug 684178 - jsfiddle.net throws error, "selectionRange is not defined" in nightly 09/01. r=Waldo.
--HG--
extra : rebase_source : 576fcc0f97419c1e36664e843d28e748fa8978a8
2011-09-06 17:19:29 -05:00
Daniel Holbert
b48e0b042d Bug 685234: Remove unused variable 'afterComma' from jsparse.cpp. r=jimb 2011-09-07 11:32:37 -07:00
Terrence Cole
8dfb9edbc9 Bug: 685041 - convert #ifdef DEBUG vars in jsgc.cpp to DebugOnly; r=luke
This adds operation++ and operator-- to DebugOnly in support of the two uses
cleaned up here.
2011-09-07 11:32:35 -07:00
Andrew McCreight
0fb250acb2 Bug 684595 - Don't visit WeakMap keys from the WeakMap in markentry. r=jorendorff 2011-09-04 10:16:23 -07:00
Ehsan Akhgari
3c08d8f362 Merge mozilla-central and mozilla-inbound 2011-09-07 11:37:51 -04:00
Ehsan Akhgari
78097f8be4 Resolve the merge conflict from bug 674998 correctly by removing InvokeSessionGuard completely, r=luke 2011-09-07 11:34:15 -04:00
Boris Zbarsky
f7596db6d2 Bug 684435. Add a way for an nsIXPCScriptable to request a null equality hook, and do so for DOM nodes. r=peterv 2011-09-07 11:06:33 -04:00
Ehsan Akhgari
7531e87587 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Ehsan Akhgari
dd1857e2c4 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
Makoto Kato
bd63f07b96 Bug 684670 - js\src\vm/Debugger.h(406) : warning C4099: 'JSCompartment' : type name first seen using 'struct' now seen using 'class'. r=jorendorff 2011-09-07 16:29:00 +09:00
Makoto Kato
5bfd2ec82f Bug 684664 - js\src\methodjit\BaseAssembler.h(1282) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-07 16:17:55 +09:00
Nicholas Nethercote
c199e54b1d Bug 684111 - Remove codePool and notePool. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
67aaf6921c Bug 684111 - use a limit instead of a mask to detect when the srcnotes buffer is full. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
382d6589f2 Bug 684111 - remove an unused parameter from EmitCheck. r=cdleary. 2011-09-06 19:12:08 -07:00
Brian Hackett
20031f4613 Merge MC->JM 2011-09-06 14:53:24 -07:00
Brian Hackett
4b4c3e28d4 [INFER] Fix red. 2011-09-06 03:08:29 -07:00
Makoto Kato
8062289b5c Bug 684771 - js/src/jsscript.cpp(300) : warning C4309: 'specialization' : truncation of constant value. r=wmccloskey 2011-09-06 17:54:36 +09:00
Makoto Kato
338eb1d1c6 Bug 684674 - js/src/methodjit/FastBuiltins.cpp(511) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-06 17:44:36 +09:00
Brian Hackett
a21793c57d Merge MC->JM 2011-09-06 00:45:22 -07:00
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