Commit Graph

16005 Commits

Author SHA1 Message Date
David Mandelin
9325d29757 No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person 2009-09-17 17:44:19 -07:00
Jason Orendorff
b913a7c1a7 Bug 500431 - Encapsulate the property cache using C++ best practices - Part 2, refactoring. r=Waldo. 2009-09-17 18:24:38 -05:00
Jason Orendorff
931e57027e Bug 500431 - Encapsulate the property cache using C++ best practices - Part 1, just moving a few functions to a new file. 2009-09-17 18:23:36 -05:00
x0
a980b0269f Bug 429243 - /[\0]/.exec('\0') fails. r=crowder 2009-09-17 15:48:00 -07:00
Blake Kaplan
db9378b99c Bug 517349 - Remove an incorrect assertion (we already do the work to make the condition not matter. r=dvander 2009-09-17 16:10:36 -07:00
Blake Kaplan
26d14d0e1b No bug - Fix GCC warning by removing unused 'typedef' keyword. r=graydon
--HG--
extra : rebase_source : fcccfa5384f53f275caecca1e1e83b3951379b50
2009-09-17 15:47:58 -07:00
Graydon Hoare
5d366e54b9 Bug 517331 - NJ merge: harmless Nativei386.h changes, r=dvander. 2009-09-17 14:50:32 -07:00
Graydon Hoare
1739065790 Bug 517333 - NJ merge: move LIR 64-bit opcodes around, r=dvander. 2009-09-17 14:49:49 -07:00
Andreas Gal
59eafcc54b Merge. 2009-09-17 15:46:25 -07:00
Andreas Gal
e9aa44d292 Merge. 2009-09-17 15:44:30 -07:00
David Anderson
90d6cfad69 Fix over-counting of trace abort stats (no bug, r=gal). 2009-09-17 15:42:48 -07:00
Andreas Gal
6e6ffe4db0 Backed out changeset 5f449dffdff5 (regressed tp4 private bytes, and we are not sure what the hell that means). 2009-09-17 15:40:37 -07:00
David Anderson
082867d434 Fixed bogus Nanojit x64 assertion with very wide shifts (bug 517150, r=gal). 2009-09-17 15:25:21 -07:00
David Anderson
48f18db67f Added LIR_div/LIR_mod support to x64 Nanojit (bug 516898,
r=njn).
2009-09-17 14:32:12 -07:00
Blake Kaplan
f507f81c16 Bug 517250 - Fix a bad assert. r=waldo 2009-09-17 12:31:42 -07:00
Graydon Hoare
bfdee363e8 Bug 517335 - TM: Add a 'cacheFlushed' counter to the tracemonkey stats, r=dvander. 2009-09-16 16:12:25 -07:00
Graydon Hoare
7dded2b745 Bug 517328 - NJ merge: copy changes to nanojit insulation layer, r=dvander.
--HG--
extra : rebase_source : 02c89206ca735a23a5633a2c4fa0d7522c9cdddc
2009-09-17 15:02:30 -07:00
Andreas Gal
dcd1e83eac Use one single GC heap chunk, avoiding frequent mmap and malloc calls (508707, r=igor,brendan). 2009-09-15 14:29:01 -07:00
Jeff Walden
3b9ad8f8c0 Bug 516623 - Followups to change signed-type overflow to unsigned-type overflow, because only the latter has defined behavior. r=mrbkap 2009-09-15 12:15:10 -07:00
Jason Orendorff
c9f391e1fb Bug 516715 - js shell should uneval results for display in interactive mode. r=brendan. 2009-09-15 14:54:48 -05:00
Jeff Walden
03ccc792a3 Bug 516623 - jsnum.cpp:87: warning: integer overflow in expression. r=mrbkap 2009-09-14 23:00:15 -07:00
Graydon Hoare
141ced981c Backed out changeset 35777195800a, perf regression. 2009-09-14 21:07:57 -07:00
Graydon Hoare
703bd0e55b Bug 516620 - Kill off residue of MMgc, r=gal.
--HG--
extra : rebase_source : 1bd814f499014507fb60ad554687b12b9fe09a3e
2009-09-10 16:29:36 -07:00
Nicholas Nethercote
09d63fef82 Bug 516909 - nanojit: improve LIR_div/LIR_mod codegen. r=gal. 2009-09-17 11:10:26 +10:00
Nicholas Nethercote
b72f6e2718 Bug 516903 - nanojit: fix printing of cmov, cmovq. r=edwsmith. 2009-09-17 10:39:03 +10:00
Blake Kaplan
785911363a Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan
b0389d481f Bug 517041 - Instead of giving pseudo frames an sp, protect against null sps during GC. r=brendan 2009-09-16 16:13:41 -07:00
Doug Turner
6edbc5a226 Bug 515818 - cleaning up comment. r=staurt 2009-09-16 14:27:58 -07:00
Blake Kaplan
efa2d433b4 Bug 513160 - Rework how we calculate this on trace. 2009-09-15 21:18:33 -07:00
David Mandelin
de67ebd8d0 Fixing a warning, no_r=me
--HG--
extra : rebase_source : 2aca8c5affcfe0add916f6cb89d4a2944db3012e
2009-09-16 12:11:18 -07:00
Blake Kaplan
1c44d718e1 Bug 516897 - Give the pseudo frame an sp that the GC can appreciate. r=waldo 2009-09-16 00:49:25 -07:00
Nicholas Nethercote
6cf3c43497 Bug 515901 - nanojit: make #ifdefs consistent for _fpuStkDepth. r=rreitmai. 2009-09-16 16:00:51 +10:00
David Anderson
23286ff470 Merge. 2009-09-15 19:37:20 -07:00
David Anderson
60cf5a1413 Quick x64 debug build bustage fix (no_r=me). 2009-09-15 19:36:48 -07:00
David Mandelin
1e4df612e6 Bug 516853: disable page-touching on MacOS to improve JS engine startup, r=gal 2009-09-15 19:08:21 -07:00
David Anderson
ed6361e796 Enable x64 JIT backend by default (bug 489146, r=gal). 2009-09-15 18:36:16 -07:00
Graydon Hoare
e9caea3d48 Bug 503424 - Additional followup to fix more profound build-breakage, r=me. 2009-09-15 17:07:33 -07:00
Graydon Hoare
27277aa0c1 Bug 503424 - Followup to fix windows build breakage, r=gal.
--HG--
extra : rebase_source : 338e0b9c4b5c52fbec05074086a80076cf9f8299
2009-09-15 16:31:07 -07:00
Blake Kaplan
683761613e No bug - Force the type here to be wide enough. r=gal/someone who can do bit math 2009-09-15 15:49:00 -07:00
Blake Kaplan
4cc4f7ea02 Bug 516815 - Give shell JS a way to tell if the given object is an inner or outer object. Also correctly outerize in the shell for the thisObject hook. r=jorendorff 2009-09-15 15:16:36 -07:00
Julian Seward
8a44471cff Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
Serge Gautherie
158422604c Bug 507897 - Remove 'WINDOWS16' (support) code everywhere; (Bv1-MC) version.mk
r=ted.mielczarek
2009-09-16 02:54:54 +02:00
Blake Kaplan
736b402cd7 Bug 516102 - Refactor XPCNativeWrapper's constructor into callable-from-JS and callable-from-C++ functions. r+sr=jst 2009-09-14 18:26:18 -07:00
Mitchell Field
fe0c8cd2d4 Bug 513924 - "remove tons of options from configure" [r=ted.mielczarek r=benjamin]
--HG--
extra : rebase_source : 2ca44f54f550507248b41c69c883090c389db419
2009-09-15 13:06:32 -04:00
Doug Turner
e730b814a2 Bug 515818 - crash at js3250.dll\!nanojit::CodeAlloc::alloc. OOM. WINCE only. Use jemalloc (default allocator). r=gal 2009-09-14 22:04:35 -07:00
Graydon Hoare
00e88f9808 Bug 516620 - Kill off residue of MMgc, r=gal. 2009-09-10 16:29:36 -07:00
Brendan Eich
19ffca2464 Bug 516075 - Move shape into JSObjectMap from JSScope, const-ipate and use LIR_ldc* to get to it (r=jorendorff). 2009-09-14 20:29:46 -04:00
David Anderson
76526cf35e Renamed JSOP_LOOP to JSOP_TRACE, which now also gets emitted at the start of scripts (bug 515806, r=brendan). 2009-09-14 17:26:16 -07:00
Graydon Hoare
58ef585de8 Bug 516567 - Remove unused error codes from Assembler, r=gal. 2009-09-10 16:05:47 -07:00
Luke Wagner
5371886966 Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Brendan Eich
8d6b45fd01 Don't be confused by eval's frame inheriting its caller's fun member when propagating sharp slots (516263, r=igor). 2009-09-14 10:36:01 -04:00
Brendan Eich
28c984514e Don't assume a script with sharps whose caller has no sharps has no other fixed slots (516262, r=igor). 2009-09-14 10:29:56 -04:00
Nicholas Nethercote
6346280a70 Follow-up for bug 516298. r=brendan. 2009-09-14 17:38:48 +10:00
Nicholas Nethercote
66a7bc4f8d Bug 516298 - TM: fix three compiler warnings. r=brendan. 2009-09-14 14:17:45 +10:00
Nicholas Nethercote
f26d0536f8 Bug 515904 - nanojit: merge bug 513007 from Tamarin. r=graydon. 2009-09-14 08:29:29 +10:00
Andreas Gal
ebc669ab46 Add a way to flush CodeAllocs without deleting/recreating (515874, r=graydon). 2009-09-12 23:06:51 -07:00
Andreas Gal
0eb8ef2771 Use a single code cache for the JIT and the RegExp compiler (515852, r=dmandelin). 2009-09-12 23:04:27 -07:00
Vladimir Vukicevic
684a76e23e b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:20:15 -07:00
David Anderson
d56cd4cc02 Fixed register allocation bug in x64 backend (bug 516093, r=gal). 2009-09-11 18:31:12 -07:00
David Mandelin
2031854aca Bug 516009: do stack update after all guards for JSOP_LAMBDA_FC, r=gal 2009-09-11 17:32:20 -07:00
David Mandelin
60b13e7d5d Bug 515844 followup: change debug option to moz-standard -g, no_r=me 2009-09-11 16:43:50 -07:00
Andreas Gal
0de642ab15 Add test for bug 504516. 2009-09-11 15:59:04 -07:00
Brendan Eich
ca0dd6f4be Bug 516069 - Common the side exit used with shape guards (r=gal). 2009-09-11 15:44:30 -07:00
Jeff Walden
690999f2e8 Bug 515285 - Implement JS_SameValue, and make assertEq use it rather than JS_StrictlyEqual. r=jorendorff 2009-09-09 11:51:52 -07:00
Jeff Walden
b9dd917a17 Fxi tpyo 2009-09-11 11:53:00 -07:00
Neil Rashbrook
41eabe691e Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv 2009-09-19 18:10:09 +01:00
Phil Ringnalda
6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
8362295726 Sync changes to static-checking.js from the NS_OVERRIDE and NS_MUST_OVERRIDE bugs. 2009-09-18 17:12:19 -04:00
Benjamin Smedberg
03899c3f4e Bug 517278 - JS_REQUIRES_STACK errors (jsobj.cpp and jstracer.cpp), r=jorendorff 2009-09-18 09:36:51 -04:00
Peter Van der Beken
d28059499d Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 1. r=jst.
--HG--
extra : rebase_source : c08832cbf78e54b82a7bc3dd22e7bc8710ed8b29
2009-09-18 15:09:53 +02:00
Blake Kaplan
dfc2ec3a16 Backed out changeset a01f270b961a to fix tinderbox orange. 2009-09-17 21:47:50 -07:00
Vladimir Vukicevic
1b1aa514a9 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:16:10 -07:00
Blake Kaplan
cfbf580b3b Fix bustage. 2009-09-11 17:03:53 -07:00
Blake Kaplan
2d3e1aa651 Fix bustage from bug 509557. 2009-09-11 14:43:22 -07:00
Blake Kaplan
a73bd5ca03 Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst 2009-09-02 17:25:25 -07:00
Blake Kaplan
98bbb4ab84 Bug 517163 - Add missing call to morph slim wrappers when wrapping them in XPCNativeWrappers. r+sr=jst 2009-09-17 18:51:10 -07:00
Blake Kaplan
083cdbf061 Merge the backout. 2009-09-17 15:30:33 -07:00
Blake Kaplan
989fdfacfc Backed out changeset 5f449dffdff5. Trying to fix Tp4 heap size regression. 2009-09-17 15:27:04 -07:00
Blake Kaplan
f5812e0cd0 Merge backout. 2009-09-17 15:24:08 -07:00
Blake Kaplan
4f0b3ab9d6 Backed out changeset af649bce14da. Trying to fix performance regressions. 2009-09-17 15:23:58 -07:00
Benjamin Smedberg
4a8a2a318b Bug 503451 - remove GeckoActiveXObject/COMObject, and similar functions which aren't usable by content except that content can still detect which COM objects are present on the system r=mrbkap sr=jst 2009-08-27 12:38:33 -07:00
Reed Loden
3d24288a00 Bug 516862: Backported a change from dtoa.c upstream made on 2009-03-01. [r=crowder r=mrbkap]
Here is an excerpt from the 'changes' file describing this change:
"dtoa.c and gdtoa/gdtoaimp.h and gdtoa/misc.c: reduce Kmax, and use
MALLOC and FREE or free for huge blocks, which are possible only in
pathological cases, such as dtoa calls in mode 3 with thousands of
digits requested, or strtod() calls with thousand of digits. For the
latter case, I have an alternate approach that runs much faster
and uses less memory, but finding time to get it ready for distribution
may take a while."
2009-09-17 01:22:51 -05:00
Andreas Gal
37331d74a6 Objects of different JSClass can share scopes (505523, r=jorendorff). 2009-08-25 20:17:11 -07:00
Graydon Hoare
c789e3ad59 Provide missing ARM defines, fix tinderbox, r=me.
--HG--
extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f
2009-08-25 16:39:13 -07:00
Jason Orendorff
8dc5d8d925 Bug 507683 part 2 - Avoid lookup on trace when calling a native getter with no slot. r=gal.
--HG--
extra : rebase_source : 38c552c3c1daad34bda66fc9ced2ec31d954eef0
2009-08-25 15:02:58 -07:00
Jason Orendorff
d0a1b870e1 Bug 507683 part 1 - Trace native getters. r=gal.
--HG--
extra : rebase_source : f73754b7946e3d525b11f5973c61e22bd2f56dba
2009-08-25 15:01:29 -07:00
Graydon Hoare
312a2d68f3 Bug 512366 - insert some missing assembler bits, r=dvander. 2009-08-24 16:57:25 -07:00
Jacob Bramley
f553fa77b3 Bug 507117 - Merge Tamarin NativeARM changes into TraceMonkey, r=graydon.
--HG--
extra : rebase_source : f374bb29ae56dbff12da60d200868fa4f1e2b4fa
2009-08-24 15:57:55 -07:00
Andreas Gal
723887cd04 Merge. 2009-08-25 14:43:09 -07:00
Andreas Gal
6197ee99d3 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
Jason Orendorff
9ce7d9cb91 Bug 510895 comment #3 - Indentation nit, follow-up to changeset eb6e2f20bbde. 2009-08-25 14:11:21 -07:00
David Mandelin
b12cc26f6f Bug 512382: control lines for trace-test.py, r=jorendorff
--HG--
extra : rebase_source : 3d11ca29af8ff07d899a78ff09eb4766be12f7eb
2009-08-25 14:06:47 -07:00
Jason Orendorff
40ac8532ae Bug 510895 - Select getc/getc_unlocked/_getc_nolock in autoconf. r=jimb.
--HG--
extra : rebase_source : 828e017e94ffd5f742d0ead3d48c42e7ad38eace
2009-08-25 12:33:03 -05:00
David Anderson
345d4826bb Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff). 2009-08-25 12:32:03 -07:00
Luke Wagner
528b9ad665 Use JS_CEILING_LOG2W in JSTempVector (r=waldo) 2009-08-25 12:09:20 -07:00
David Anderson
1ef84cf920 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00
Andreas Gal
39e7c42514 Another build fix for 512049. I wish DOM wouldn't poke into the guts of the JS engine. 2009-08-24 23:05:54 -07:00
Andreas Gal
b499895248 Build fix for bug 512049. 2009-08-24 22:00:30 -07:00
Andreas Gal
2dc2163344 Inline DoubleToECMAInt32 (512049, r=dmandelin). 2009-08-24 18:46:21 -07:00
Andreas Gal
614a0602cf Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -07:00
Jason Orendorff
9a705f7835 Bug 511575 - TM: Crash [@ js_HashString] with "continue LABEL;" (in ojay 0.2.1). r=gal.
--HG--
extra : rebase_source : 91137fdb9d870cbc7a4ee3d1dbaed881b185b60c
2009-08-24 14:27:41 -05:00
Jason Orendorff
d5e6f2b06f Bug 511974 - Treat "continue LABEL;" like "break;". r=gal.
--HG--
extra : rebase_source : d9507a3c8ef0e64f12c5890e9c3104e5329d3f29
2009-08-24 13:37:07 -05:00
Nicholas Nethercote
83bc221fbd Bug 505388 - nanojit: refactor two Assembler methods. r=edwsmith. 2009-08-25 10:59:09 +10:00
David Anderson
c2ec2bc609 Build fix (followup to bug 512029). 2009-08-24 17:18:41 -07:00
David Anderson
1be8ca276a Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
David Anderson
79029acf98 Fix warnings on Linux gcc (bug 506714, desk r=jorendorff). 2009-08-24 15:09:21 -07:00
Nicholas Nethercote
fe0af39720 Bustage fix for optimised builds for bug 511329. 2009-08-24 09:41:11 +10:00
Nicholas Nethercote
0ee9058074 Bug 511329 - nanojit: don't print dead LIR instructions with TMFLAGS=assembly. r=edwsmith. 2009-08-24 08:57:40 +10:00
Igor Bukanov
90c4077bb6 bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap 2009-08-22 19:59:55 +03:00
Luke Wagner
2b05a43f7e Fixed template-id in JSTempVectorImpl 2009-08-21 19:31:51 -07:00
Brendan Eich
2aec5ab41b Unit strings not in atom table means we must always mark them unless shutting down the runtime (511835, r=gal). 2009-08-21 17:28:05 -07:00
Graydon Hoare
a516931ed9 Bug 511972 - More Fragment cleanups, r=dvander.
--HG--
extra : rebase_source : 186782bd96d8155eb3f0277616012636d6ebe469
2009-08-21 13:51:55 -07:00
Jason Orendorff
11d01cf3fc Fix silly crash in HashMap::remove(). r=graydon on IRC, no bug.
--HG--
extra : rebase_source : 25d53309e30bec26f7a93148c9000e1c79431986
2009-08-21 15:14:37 -05:00
Jason Orendorff
4326e987bb Merge. 2009-08-21 13:52:34 -05:00
Graydon Hoare
4cf3c90da9 Bug 511919 - Copy the x64 backend from Tamarin, r=dvander. 2009-08-21 11:27:08 -07:00
Jason Orendorff
1745ca41fe Fix trace-test.py -f. r=dmandelin via IRC, no bug.
--HG--
extra : rebase_source : 7ae99002a44e6e5323c9c2909f523d278ac0f38d
2009-08-21 13:18:36 -05:00
Jason Orendorff
0c95212f19 Bug 511836 - Assertion failure: JSVAL_IS_INT(v), at ../jsapi.h. Iterator.prototype not initialized properly. r=mrbkap.
--HG--
extra : rebase_source : 50975b84c4b399a96d24eaa1884308c6a5b4d586
2009-08-21 11:58:34 -05:00
Blake Kaplan
1c314ac7ff Bug 509557 - Initialize the prototype's flags so that we can always assume that an XPCNativeWrapper's flags are integers. r=jst sr=bzbarsky 2009-08-18 21:02:05 -07:00
Blake Kaplan
fc4b1187b7 Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Blake Kaplan
9f2aa0a90f Bug 515475 - Get rid of a spurious security check in js_InternalGetOrSet that isn't needed anymore. r=brendan 2009-09-10 14:47:19 -07:00
Blake Kaplan
354e978735 Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst 2009-09-10 14:09:35 -07:00
Robert Sayre
fb322ff10f Temporarily ifdef jsapi-tests on wince, so the rest of the tests can run. r=ted 2009-09-09 12:48:04 -04:00
Josh Aas
c015876638 Add executable bits back to config.guess files. b=515002 2009-09-09 08:20:25 -04:00
Reed Loden
6aae290bff Bug 294375 - Remove support for libgnomevfs's handling of user modifications to the MIME database, as it has been deprecated for years [r=karlt sr=roc] 2009-09-08 15:08:02 -05:00
Josh Aas
5d3659c9b7 Sync config.guess to latest version from gnu, include fix for GNU Savannah bug 6827. b=515002 r=ted 2009-09-08 14:55:19 -04:00
cls
8d7659618e Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" ( remove XCFLAGS from COMPILE_CFLAGS / COMPILE_CXXFLAGS) [r=bsmedberg] 2009-09-04 21:54:07 -05:00
Jacek Caban
c45ec6e926 Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" (remove X_CFLAGS from CPPFLAGS) [r=bsmedberg] 2009-09-04 21:54:02 -05:00
Benjamin Smedberg
667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Shawn Wilsher
316a393ed9 Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
r=sayrer for XPCOMUtils change
r=mak for places changes

--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Mitchell Field
d6e8ce5295 Bug 514131 - remove xpcom/obsolete, r=bsmedberg 2009-09-02 13:01:29 -04:00
Serge Gautherie
51d8738e84 Bug 513602 - Remove (now) useless MOZ_GFX_TOOLKIT; (Bv1-MC) Just remove it
r=vladimir
2009-09-01 00:41:38 +02:00
Shawn Wilsher
7627f6bf68 Bug 508850 - XPCOMUtils should provide a convenient way to define lazy getters
r=sayrer
sr=bsmedberg
2009-08-31 09:32:05 -07:00
Ben Newman
5dee786b99 Trivial indentation fixups that should have gone in with 9e16ec20e6fe. r=brendan 2009-08-28 15:34:31 -07:00
Ben Newman
b5c624aaa7 Bug 500644 - PAC: crash when using PAC-based manual proxy config and the attached testcase. r=mrbkap sr=brendan
--HG--
extra : rebase_source : 68dbf79d8e257f3915b817723ca51deb840e4298
2009-08-27 18:07:44 -07:00
Blake Kaplan
4391004a79 Bug 495325 - Follow ES about indirect eval being global eval. r=brendan/igor
--HG--
extra : rebase_source : 397bd79f787fc6d079fea1b2433a8e262626ca46
2009-08-17 18:08:20 -07:00
Graydon Hoare
c74a1477b3 Bug 518925 - LirWriter leak with regexp match in debug builds, r=dvander. 2009-09-25 15:45:45 -07:00
Graydon Hoare
121df3f12b Bug 518730 - TM: change the allocators to calloc, r=gal. 2009-09-25 15:16:10 -07:00
Graydon Hoare
c9100b9a27 Bug 497009 - Deallocate LIR after recording, r=gal.
--HG--
extra : rebase_source : 5fc9d76620f83d3bbf6ba7a4656c296654bb6323
2009-09-23 18:46:34 -07:00
David Mandelin
adf2461b2d No bug, undo change to obsolete valgrind option in 886a447d6a8f, no_r=me 2009-09-25 15:03:03 -07:00
Luke Wagner
81528e533d Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -07:00
David Anderson
6ae5b0ea2d Removed callee from FrameInfo, and fixed upvar bugs in stack reconstruction (bug 510300, r=dmandelin,brendan). 2009-08-21 08:09:47 -07:00
Graydon Hoare
9dcc62d357 Bug 511309 - Followup patch to force flush on the CodeAllocs, r=sayrer. 2009-08-20 21:02:41 -07:00
Robert Sayre
846016846d Merge. 2009-08-20 22:47:58 -04:00
Robert Sayre
7e5a7ef887 Fix jsapi-tests assert in debug builds. tests need to happen inside a request. 2009-08-20 22:16:32 -04:00
Graydon Hoare
4405f6d470 Bug 511309 - Delete class Fragmento and all uses of it, r=dvander.
--HG--
extra : rebase_source : 47047589288ac0758e0068307b5a8f393db97606
2009-08-20 17:22:47 -07:00
Andreas Gal
b50a6907fa Fast path for writing a double into an array (511737, r=danderson). 2009-08-20 16:53:10 -07:00
Graydon Hoare
0ca6c5eb09 Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin. 2009-08-18 15:32:54 -07:00
Graydon Hoare
e063ca411e Bug 511040 - Make nanojit::HashMap usable for non-word keys, r=edwsmith.
--HG--
extra : rebase_source : 7d4dff334de629f60342736e50c518ec891df19f
2009-08-18 15:32:47 -07:00
Jason Orendorff
49208058af Bug 505798 - JSAPI test harness. r=Waldo. 2009-08-20 17:20:14 -05:00
David Mandelin
e2597decfa Trailing whitespace cleanup, no_r=me 2009-08-20 15:21:14 -07:00
Robert Sayre
477f7a0599 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
David Anderson
f1d5900db9 Consolidated inner global typemap completion logic and fixed a bug when extending nested exits (bug 510518, r=gal,sayrer). 2009-08-20 13:06:27 -07:00
Bob Clary
ef09b4d1e8 bug 509098 - JavaScript Tests - remove accidentally committed changes to spidermonkey-n-1.9.3.tests.
--HG--
extra : rebase_source : 054ae65a872e7bb914a9a97f4240503ba04e081b
2009-08-20 12:15:43 -07:00
Jason Orendorff
2bd620eaf6 Bug 511418 - static-analysis error in jsobj.cpp:4257: cannot access JS_REQUIRES_STACK variable JSContext::fp and another trivial error in jstracer.cpp. r=gal.
--HG--
extra : rebase_source : 9ee93b34fbf656437932a4f3c8b373a11911cffd
2009-08-20 14:13:21 -05:00
Bob Clary
3c59d37e48 Bug 273467 - ecma 9.3.1 - ToNumber(signed hex string) is NaN. 2009-08-20 12:08:03 -07:00
Bob Clary
e5292019cd Bug 509098 - modify test due to removal of JS_HAS_LVALUE_RETURN support. 2009-08-20 12:07:59 -07:00
Bob Clary
0603b4d7c9 Bug 511714 - JavaScript Tests - include new 1.9.3 branch exclusion file. 2009-08-20 12:07:55 -07:00
Jason Orendorff
e6d7430c05 Bug 506491 - Download Manager opens 'Blank' - intermittent - Error: gStr.timeUnits is undefined and download is null. r=brendan.
--HG--
extra : rebase_source : 22338610bff62f5aefca99a07f4f54621d18a680
2009-08-20 12:25:09 -05:00
Serge Gautherie
4c8f1e463e Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Ev1) xpcshell.cpp: s/null/nsnull/; bustage fix 2009-08-20 18:07:23 +02:00
Serge Gautherie
b71481cfbd Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Dv2a) xpcshell.cpp: call crashReporter->SetEnabled(PR_FALSE); r=ted.mielczarek 2009-08-20 17:35:30 +02:00
Andreas Gal
1587d905af Atomize unit strings at birth (511567, r=shaver). 2009-08-19 19:37:59 -07:00
David Anderson
7bf64f9787 Build fix followup to bug 506714. 2009-08-19 16:42:25 -07:00
David Anderson
20931663a9 Added trace tree visualizer (bug 506714, r=gal). 2009-08-19 16:11:59 -07:00
Jason Orendorff
17adceacd3 Bug 507446 - TM: use return values instead of outparams for box_jsval, unbox_jsval. r=dmandelin.
--HG--
extra : rebase_source : e49f886c1723d90064cd11da0959f4a1e0fe23f4
2009-08-19 17:00:18 -05:00
Andreas Gal
bc36fc2f24 Build fix for bug 511307. 2009-08-19 15:58:36 -07:00
Andreas Gal
c1952e750e Specialize math functions to integer arithmetic where appropriate (511307, r=dvander). 2009-08-19 15:31:10 -07:00
Andreas Gal
762cbce0ea Remove debug printfs (no bug). 2009-08-19 15:29:56 -07:00
Andreas Gal
b4232322c2 Use thread-local RNG for Math.random() (511328, r=shaver,waldo). 2009-08-19 15:23:54 -07:00
Andreas Gal
0c97581323 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
Robert Sayre
1036559ece Merge. 2009-08-19 15:30:21 -04:00
Robert Sayre
30aaba5c23 Backed out changeset 5817b38a8686 2009-08-19 15:30:06 -04:00
Robert Sayre
e5bbdd4ff0 Try to fix bustage by revving XDR number. 2009-08-19 14:23:43 -04:00
David Mandelin
f910ba7348 Bug 510655: set argsobj->private when leaving trace only if created on trace, r=igor 2009-08-19 11:11:39 -07:00
Igor Bukanov
7b74923b54 bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap 2009-08-19 19:53:51 +03:00
Luke Wagner
51f2bde724 Add test for bug 507180 2009-08-19 09:36:25 -07:00
Rich Walsh
b72f60ff66 Bug 510657 - simple OS/2 build fix in nanojit/avmplus, r=graydon
--HG--
extra : rebase_source : 7d4d1a75b659862460ecccdef80ce95fca119e32
2009-08-19 13:42:46 +02:00
Blake Kaplan
e8050ebe66 Bug 509075 - Update this function to use shiny new APIs that don't require multiple searches for the property. r=jorendorff sr=jst 2009-08-18 20:55:30 -07:00
Luke Wagner
c39582637e Bug 503952 - Use JSTempVector in jsstr.cpp (r=waldo)
--HG--
extra : rebase_source : ac955b5d784ca8fc9a61129e580c2751beb4109f
2009-08-14 16:10:59 -07:00
Luke Wagner
111cd95dd8 Bug 507180 - Fix imacros (r=waldo) 2009-08-19 09:06:22 -07:00
Andreas Gal
ded5eff2b9 Backout bug 506125. 2009-08-18 17:30:05 -07:00
Andreas Gal
1a1b19d02c Build fix for bug 506125. 2009-08-18 17:14:34 -07:00
Andreas Gal
019d87781c Schedule GC based on process memory pressure (506125, r=igor,waldo). 2009-08-18 16:38:02 -07:00
Andreas Gal
f3b14d3481 Add an API to notify the JS engine that we are about to destroy the runtime (511252, r=brendan). 2009-08-18 16:31:20 -07:00
Luke Wagner
eccc96211f Bug 503952 - Replace JSStringBuffer with JSTempVector in jsxml (r=brendan) 2009-08-14 16:10:58 -07:00
Luke Wagner
b8c118a30b Bug 509826 - replace js_NewStringCopyN with js_NewDependentString in jsstr (r=waldo) 2009-08-18 14:13:28 -07:00
Luke Wagner
9e5d5e342e Actually fix bustage: JS_STATIC_ASSERT cannot be used in classes. 2009-08-18 09:21:53 -07:00
Luke Wagner
02072a227a Fixed jsvector.h bustage. 2009-08-18 09:03:23 -07:00
Luke Wagner
be55b75583 Bug 510319 - fix ptrdiff overflow in JSTempVector 2009-08-18 08:41:30 -07:00
Jacob Bramley
8c5eb3a4bf Allow an out-of-memory condition to be interpreted as a pass for testBug507425. (510207, r=dmandelin) 2009-08-18 12:00:10 +01:00
Bob Clary
44df87e7e6 bug 510901 - Sisyphus - support 1.9.3 branch. 2009-08-18 00:30:00 -07:00
Bob Clary
51964d223e bug 501124 - JavaScript Test by bogomip. 2009-08-18 00:30:00 -07:00
Bob Clary
ad97e413c1 bug 488995 - JavaScript Test by PenPal. 2009-08-18 00:30:00 -07:00
Bob Clary
e4c8f413f1 bug 488989 - JavaScript Test by Jeff Walden. 2009-08-18 00:30:00 -07:00
Bob Clary
0b6e4823f7 bug 481436 - JavaScript Test by Gary Kwong, Jason Orendorff. 2009-08-18 00:30:00 -07:00
Bob Clary
acdc910345 bug 474319 - JavaScript Test by Gary Kwong. 2009-08-18 00:30:00 -07:00
Bob Clary
8d6f4b9400 bug 473040 - JavaScript Test by Gary Kwong. 2009-08-18 00:29:59 -07:00
Bob Clary
13848e4e0e bug 466206 - JavaScript Test by Gary Kwong. 2009-08-18 00:29:59 -07:00
Bob Clary
9b999e2816 bug 465980 - JavaScript Tests by Mike Shaver, Jeff Walden. 2009-08-18 00:29:59 -07:00
Bob Clary
7cac5aac28 bug 465063 - JavaScript Test by Gary Kwong. 2009-08-18 00:29:59 -07:00
Bob Clary
65849b0730 bug 454704 - JavaScript Test by Jesse Ruderman. 2009-08-18 00:29:59 -07:00