Commit Graph

15825 Commits

Author SHA1 Message Date
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
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
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
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