Commit Graph

6989 Commits

Author SHA1 Message Date
Marco Bonardo
87d521d9ce test for lazy getters scope, bug 508850, r=sdwilsh 2009-10-05 12:12:28 +02:00
Benjamin Smedberg
53d8912065 Copy changes from revision d26387e649bd to js/src. 2009-10-04 19:21:24 -04:00
Makoto Kato
dcb67bd558 js-ctypes cannot build on Windows x64. b=518741, r=dwitte 2009-10-02 23:14:19 -07:00
Dan Witte
0eb900286c Fix jsctypes unsigned __int64 conversion on MSVC. b=519235, r=jorendorff 2009-10-02 22:47:56 -07:00
Dan Witte
fcff058b34 jsctypes broken on OSX 10.4/gcc-4.0.1/i686. b=519465, r=bsmedberg 2009-10-02 22:47:16 -07:00
Dan Witte
00839251a1 Fix typo. 2009-10-02 22:44:00 -07:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Blake Kaplan
1b993d3f38 Bug 518991 - Implement access controls in COWs. For now, this is opt-in default unsafe. r=jst 2009-09-30 19:38:57 -07:00
Ben Newman
c68af46729 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Mitchell Field
26d68e5abf Bug 513921 - remove echo-requires-recursive target. r=ted 2009-09-26 17:49:56 +02:00
Robert Sayre
b635467e82 Merge backout 2009-09-26 08:22:56 -07:00
Robert Sayre
5dbce00686 Backed out changeset f5ea964eb493. (Brendan Eich — High-level CSE for shape guards (518448, r=jorendorff). 2009-09-26 08:16:58 -07:00
Robert Sayre
5f2aafc67c Merge 2009-09-25 20:35:33 -07:00
Dan Witte
061229fc6b comment out failing test for now. 2009-09-25 18:22:48 -07:00
Dan Witte
ba4cd7b03d fix windows, again. 2009-09-25 16:50:46 -07:00
Dan Witte
76423c9a43 fix windows xpcshell test. 2009-09-25 13:07:34 -07:00
Doug Turner
1af28ccf1f Bug 517999 - Some floating point values crash VFP enabled CPUs. r=gal 2009-09-25 11:16:08 -07:00
Dan Witte
c80c91ab38 Improve ctypes error handling per review comments. 2009-09-23 18:01:21 -07:00
Reed Loden
fd8dbb7389 Fix orange due to differences between 'system-headers' copies. 2009-09-23 18:10:38 -05:00
Dan Witte
dea6b5403c fix windows linking. 2009-09-23 13:56:49 -07:00
Dan Witte
c3d8b30c89 fix msvc build. 2009-09-23 13:15:03 -07:00
Dan Witte
f188e30970 update per review comments. 2009-09-23 10:57:22 -07:00
Dan Witte
b2b12ba398 Add libffi_msvc fork for msvc x86 builds, and other build fixes for various platforms.
bug 513783, r=bsmedberg.
2009-09-23 10:57:22 -07:00
Dan Witte
38eb8b7058 Land jsctypes. b=513783, r=jorendorff, sr=bsmedberg. 2009-09-23 10:57:22 -07:00
Walter Meinl
7209d54085 [OS/2] Bug 512504 - don't link against external libs that are stubs when the real function is in libc, r=pweilbacher 2009-09-22 15:57:05 +02:00
Benjamin Smedberg
56a8d84c46 Bug 485409 - Handle a Windows-style path as $srcdir in configure, by modifying the default autoconf M4 macros so that they recognize Z:/ as an absolute path. r=ted 2009-09-22 09:05:48 -04:00
Andreas Gal
23b5f8a4b9 Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:35:37 -07:00
Jeff Walden
553915decf Bug 307791 - Implement ES5's Object.keys(O). r=jorendorff 2009-09-08 15:59:14 -07:00
David Mandelin
72c8946af6 Bug 518056: better error message for nonexistent js shell argument in trace-tests.py, r=graydon 2009-09-22 12:15:06 -07:00
David Mandelin
611fbb67d5 Bug 518026: enable running trace-test.py with valgrind for dev testing, r=graydon
--HG--
extra : rebase_source : d759a8ea41bba557c825f3afe8eed7de7a69a04c
2009-09-22 12:04:34 -07:00
Jeff Walden
9c93800f2c Bug 516329 - Defining a non-enumerable getter-or-setter property over an enumerable getter-or-setter property loses non-enumerability. r=brendan, hail=jorendorff for jsapi-tests 2009-09-14 13:02:36 -07:00
Luke Wagner
88b39718d0 Backed out changeset 20ee84099e38 2009-09-22 10:19:59 -07:00
Luke Wagner
ca5191b5f2 Bug 511777 - avoid regexp engine for flat strings
--HG--
extra : rebase_source : 81afb9a486643f4d88dff9bba6ec2cccd07b07f0
2009-09-16 18:23:27 -07:00
Leon Sha<leon.sha@sun.com>
86908c4497 Bug 518068 - TM: Debug build failed on NativeSparc.cpp. r=gal 2009-09-22 16:25:48 +08:00
Leon Sha<leon.sha@sun.com>
136b94d6f4 Backout last change. Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform. 2009-09-22 15:55:25 +08:00
Nicholas Nethercote
401cfd7471 Bug 518061 - NJ merge: add ExprFilter::insLoad(). r=graydon. 2009-09-22 17:21:59 +10:00
Leon Sha<leon.sha@sun.com>
2a166fa683 Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform. r=brendan. 2009-09-22 14:19:02 +08:00
Nicholas Nethercote
3457c17879 Bug 518042 - NJ merge: Nativei386.h whitespace wibbles. r=graydon. 2009-09-22 14:27:35 +10:00
David Anderson
647db183ee Limit JSString length to 28 bits on 64-bit platforms (bug 513348, r=brendan). 2009-09-21 17:17:19 -07:00
Graydon Hoare
0d45861f13 Bug 518011 - NJ merge: XORPD in x86, and some tidying, r=gal.
--HG--
extra : rebase_source : 96eeedbe25f5931ed71835d0cb7383188e016880
2009-09-21 17:03:07 -07:00
David Mandelin
6b652df63e Bug 516458 followup: adding the terminator to improve accuracy for short strings, rs=brendan 2009-09-21 17:00:25 -07:00
Brendan Eich
bc30b36a39 Merge 2009-09-21 16:41:37 -07:00
Brendan Eich
4bb103007a Sync record_JSOP_LAMBDA with interpreter (517637, r=jorendorff). 2009-09-21 16:41:16 -07:00
David Mandelin
e64eff4b1e Bug 517332: adjust expected side exit count by platform to fix spurious arm test failures, r=dvander 2009-09-21 16:40:25 -07:00
Graydon Hoare
e102fc5e1c Bug 517299 - Allocator mismatch (calloc+delete) for class TraceRecorder and LirWriter, r=gal. 2009-09-21 14:06:42 -07:00
Graydon Hoare
7ac990150d Bug 517601 - TM merge: revive lirasm, r=jorendorff. 2009-09-18 16:07:49 -07:00
Andreas Gal
fae898aa3f Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:30:39 -07:00
Graydon Hoare
369e54f9b3 Bug 512591 - trace-tests needs a |valgrind| flag, r=sayrer. 2009-09-21 11:32:09 -07:00
Jeff Walden
d47fa5ba16 Bug 517594 - Add assertions to verify that sprops being used don't have an id == JSVAL_NULL, to attempt to catch such bugs as early as possible. r=jorendorff
--HG--
extra : rebase_source : 0018d627c98d37dae8b008fba7681d63747e18f1
2009-09-18 15:39:09 -07:00
Julian Seward
20c60b8f33 Bug 514071: fix 32/64-bit format warnings in TMFLAGS=stats code, r=graydon 2009-09-21 11:14:07 -07:00
David Mandelin
328ad0c965 Bug 514071: count external strings as malloc'd memory for JS GC scheduling, r=igor
--HG--
extra : rebase_source : b2888a1705c49deabaf4aeac9be23c4ed06132d7
2009-09-21 11:01:09 -07:00
Igor Bukanov
1e96fce476 bug 517795 - followup to fix the issue 512046. 2009-09-21 12:49:12 +04:00
Blake Kaplan
ed88fddf07 Bug 517721 - Deal with incelem on NULL. r=gal 2009-09-19 17:18:34 -07:00
Igor Bukanov
8da9fad53a bug 512046 - avoid maintaing a per-runtime iterator list. r=brendan 2009-09-19 13:40:43 +04:00
David Mandelin
653ee067df Bug 517345 followup: fix turning off jitstats test in non-debug builds, no_r=me 2009-09-18 17:46:16 -07:00
David Mandelin
7c2e702632 Bug 517345: fix jitstats architecture flags, r=gal
--HG--
extra : rebase_source : bea8fd342f3f57071150c64e689971f14ecaa55e
2009-09-18 14:27:07 -07:00
Graydon Hoare
c421bb6e66 Bug 517530 - NJ merge: whitespace, equivalent code, PPC churn, r=dvander. 2009-09-18 13:31:09 -07:00
Jason Orendorff
a452c93626 Merge backout of bug 500431. 2009-09-18 08:58:48 -05:00
Jason Orendorff
cb511bce9e Backed out changeset 2fbd2420ef8b (bug 500431) due to Tinderbox orangeness. 2009-09-18 08:58:24 -05:00
Jason Orendorff
3260b4d4c5 Merge. 2009-09-18 08:55:30 -05:00
Jason Orendorff
b74384b5c8 Backed out changeset 3f508cfdfa36 (bug 500431) due to tinderbox orangeness 2009-09-18 08:55:01 -05:00
Jason Orendorff
d4c849d0f3 Merge. 2009-09-18 08:54:30 -05:00
Jason Orendorff
5d26f5c835 Backed out changeset 8abad92fd850 (bug 500431) due to Tinderbox orangeness 2009-09-18 08:53:03 -05:00
Jason Orendorff
5c38a9e48d Backed out changeset eafee0100926 (bug 500431) due to Tinderbox orangeness 2009-09-18 08:52:27 -05:00
Jason Orendorff
b2c20c2d5e Follow-up to bug 500431: change int constants to unsigned as Waldo asked in review. No bug#.
--HG--
extra : rebase_source : dfd17cf24d7d4c8362a8899521a7b6fed049d00a
2009-09-17 23:02:08 -05:00
Brendan Eich
2cf8dc9cf7 Remove now-redundant USE2DEF flags propagation before LinkUseToDef, which does it (510783 followup, r=mrbkap). 2009-09-17 19:44:24 -07:00
Brendan Eich
59ee053a5e Propagate USE2DEF flags in LinkUseToDef, duh (510783, r=mrbkap). 2009-09-17 18:56:23 -07:00
Graydon Hoare
16f6673674 Bug 517366 - NJ Merge: A Container assertion and more VMPI insulation, r=dvander. 2009-09-17 18:13:05 -07:00
David Mandelin
b152e9656d Bug 517117: don't trace JSOP_ARGCNT if arguments.length has been overridden, r=dvander
--HG--
extra : rebase_source : a53403064c533bdc3270408f0d29eeec12970040
2009-09-17 18:13:20 -07:00
Jason Orendorff
28f39d7f60 Fix JS_PROPERTY_CACHE_METERING-only build breakage from bug 500431. No bug#, rs=brendan.
--HG--
extra : rebase_source : 8f31bd8358bbd7957381dd1cac34067ea1a3bb5b
2009-09-17 20:02:33 -05:00
David Mandelin
38779e6762 Bug 516062: detect overridden arguments.length on trace for JSOP_ARGCNT, r=dvander 2009-09-17 18:00:01 -07:00
David Mandelin
836a74cc80 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
b040e5c724 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
666b4c3e13 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
8180b3b7c3 Bug 429243 - /[\0]/.exec('\0') fails. r=crowder 2009-09-17 15:48:00 -07:00
Blake Kaplan
9b523edf4a 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
9d9aa554b9 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
fd60b3339c Bug 517331 - NJ merge: harmless Nativei386.h changes, r=dvander. 2009-09-17 14:50:32 -07:00
Graydon Hoare
d9af42beb8 Bug 517333 - NJ merge: move LIR 64-bit opcodes around, r=dvander. 2009-09-17 14:49:49 -07:00
Andreas Gal
a01c7f0d78 Merge. 2009-09-17 15:46:25 -07:00
Andreas Gal
55697d8ebf Merge. 2009-09-17 15:44:30 -07:00
David Anderson
d89c2f19a1 Fix over-counting of trace abort stats (no bug, r=gal). 2009-09-17 15:42:48 -07:00
Andreas Gal
38b0ee0297 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
9d96cfda08 Fixed bogus Nanojit x64 assertion with very wide shifts (bug 517150, r=gal). 2009-09-17 15:25:21 -07:00
David Anderson
1be03c2e1d Added LIR_div/LIR_mod support to x64 Nanojit (bug 516898,
r=njn).
2009-09-17 14:32:12 -07:00
Blake Kaplan
712df10db4 Bug 517250 - Fix a bad assert. r=waldo 2009-09-17 12:31:42 -07:00
Graydon Hoare
377ef84d89 Bug 517335 - TM: Add a 'cacheFlushed' counter to the tracemonkey stats, r=dvander. 2009-09-16 16:12:25 -07:00
Graydon Hoare
8f2fdcf156 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
4b2f3150ab 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
f0654601f8 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
f3527c52c4 Bug 516715 - js shell should uneval results for display in interactive mode. r=brendan. 2009-09-15 14:54:48 -05:00
Jeff Walden
9da7781747 Bug 516623 - jsnum.cpp:87: warning: integer overflow in expression. r=mrbkap 2009-09-14 23:00:15 -07:00
Graydon Hoare
2521578c2d Backed out changeset 35777195800a, perf regression. 2009-09-14 21:07:57 -07:00
Graydon Hoare
963fd74e53 Bug 516620 - Kill off residue of MMgc, r=gal.
--HG--
extra : rebase_source : 1bd814f499014507fb60ad554687b12b9fe09a3e
2009-09-10 16:29:36 -07:00
Nicholas Nethercote
66fe28e11c Bug 516909 - nanojit: improve LIR_div/LIR_mod codegen. r=gal. 2009-09-17 11:10:26 +10:00
Nicholas Nethercote
d43a49fd27 Bug 516903 - nanojit: fix printing of cmov, cmovq. r=edwsmith. 2009-09-17 10:39:03 +10:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan
f823db9527 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
3ff92d0640 Bug 515818 - cleaning up comment. r=staurt 2009-09-16 14:27:58 -07:00
Blake Kaplan
c39783bcf1 Bug 513160 - Rework how we calculate this on trace. 2009-09-15 21:18:33 -07:00
David Mandelin
13be6d7f4a Fixing a warning, no_r=me
--HG--
extra : rebase_source : 2aca8c5affcfe0add916f6cb89d4a2944db3012e
2009-09-16 12:11:18 -07:00
Blake Kaplan
0d3ac085c7 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
ea34e5ace1 Bug 515901 - nanojit: make #ifdefs consistent for _fpuStkDepth. r=rreitmai. 2009-09-16 16:00:51 +10:00
David Anderson
ec78fde205 Merge. 2009-09-15 19:37:20 -07:00
David Anderson
ef57e2d451 Quick x64 debug build bustage fix (no_r=me). 2009-09-15 19:36:48 -07:00
David Mandelin
0146da3559 Bug 516853: disable page-touching on MacOS to improve JS engine startup, r=gal 2009-09-15 19:08:21 -07:00
David Anderson
ee6117f29d Enable x64 JIT backend by default (bug 489146, r=gal). 2009-09-15 18:36:16 -07:00
Graydon Hoare
d0efa663da Bug 503424 - Additional followup to fix more profound build-breakage, r=me. 2009-09-15 17:07:33 -07:00
Graydon Hoare
70f3343672 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
c34aa4b473 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
4a42334b38 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
b214130415 Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
Serge Gautherie
4a459d4682 Bug 507897 - Remove 'WINDOWS16' (support) code everywhere; (Bv1-MC) version.mk
r=ted.mielczarek
2009-09-16 02:54:54 +02:00
Blake Kaplan
5ee9e532ef 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
9bf8383b06 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
5faaa5cee5 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
5d33edd2e9 Bug 516620 - Kill off residue of MMgc, r=gal. 2009-09-10 16:29:36 -07:00
Brendan Eich
eaabbf253c 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
92ad5b2859 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
1b282006e0 Bug 516567 - Remove unused error codes from Assembler, r=gal. 2009-09-10 16:05:47 -07:00
Luke Wagner
854c0294df Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Brendan Eich
7232012b19 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
5de171f5f5 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
dc36e0b4cd Follow-up for bug 516298. r=brendan. 2009-09-14 17:38:48 +10:00
Nicholas Nethercote
79ded264a4 Bug 516298 - TM: fix three compiler warnings. r=brendan. 2009-09-14 14:17:45 +10:00
Nicholas Nethercote
497b41e674 Bug 515904 - nanojit: merge bug 513007 from Tamarin. r=graydon. 2009-09-14 08:29:29 +10:00
Andreas Gal
ec9363019f Add a way to flush CodeAllocs without deleting/recreating (515874, r=graydon). 2009-09-12 23:06:51 -07:00
Andreas Gal
72c92b196f 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
b5e4a179d5 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:20:15 -07:00
David Anderson
04069b3bf5 Fixed register allocation bug in x64 backend (bug 516093, r=gal). 2009-09-11 18:31:12 -07:00
David Mandelin
cfdd0c20d7 Bug 516009: do stack update after all guards for JSOP_LAMBDA_FC, r=gal 2009-09-11 17:32:20 -07:00
David Mandelin
1ccc6f7025 Bug 515844 followup: change debug option to moz-standard -g, no_r=me 2009-09-11 16:43:50 -07:00
Andreas Gal
2b967c4b02 Add test for bug 504516. 2009-09-11 15:59:04 -07:00
Brendan Eich
1f562c224a Bug 516069 - Common the side exit used with shape guards (r=gal). 2009-09-11 15:44:30 -07:00
Jeff Walden
9d39c0d549 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
23423d9733 Fxi tpyo 2009-09-11 11:53:00 -07:00
Neil Rashbrook
e4cac4353a Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv 2009-09-19 18:10:09 +01:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
004047451f 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
124c9c8007 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
9a6bc55b64 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
67c44c0769 Backed out changeset a01f270b961a to fix tinderbox orange. 2009-09-17 21:47:50 -07:00
Vladimir Vukicevic
e2c066ebc4 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:16:10 -07:00
Blake Kaplan
7615f61052 Fix bustage. 2009-09-11 17:03:53 -07:00
Blake Kaplan
3598007c8f Fix bustage from bug 509557. 2009-09-11 14:43:22 -07:00
Blake Kaplan
6d09f51003 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
5e85bedc27 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
9ab2d4e1e8 Merge the backout. 2009-09-17 15:30:33 -07:00
Blake Kaplan
3ad62940d0 Backed out changeset 5f449dffdff5. Trying to fix Tp4 heap size regression. 2009-09-17 15:27:04 -07:00
Blake Kaplan
e4fc79f8a7 Merge backout. 2009-09-17 15:24:08 -07:00
Blake Kaplan
5e4fdf8802 Backed out changeset af649bce14da. Trying to fix performance regressions. 2009-09-17 15:23:58 -07:00
Benjamin Smedberg
667f14f6d4 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
9c07d8dabb 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
231c6c273f Objects of different JSClass can share scopes (505523, r=jorendorff). 2009-08-25 20:17:11 -07:00
Graydon Hoare
12b7a6e203 Provide missing ARM defines, fix tinderbox, r=me.
--HG--
extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f
2009-08-25 16:39:13 -07:00
Jason Orendorff
092787084d 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
c45d09492c Bug 507683 part 1 - Trace native getters. r=gal.
--HG--
extra : rebase_source : f73754b7946e3d525b11f5973c61e22bd2f56dba
2009-08-25 15:01:29 -07:00
Graydon Hoare
8c36a6157c Bug 512366 - insert some missing assembler bits, r=dvander. 2009-08-24 16:57:25 -07:00
Jacob Bramley
a3ca948c53 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
d2459a75f9 Merge. 2009-08-25 14:43:09 -07:00
Andreas Gal
030a8114b2 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
Jason Orendorff
e941aa6935 Bug 510895 comment #3 - Indentation nit, follow-up to changeset eb6e2f20bbde. 2009-08-25 14:11:21 -07:00
David Mandelin
8df006e722 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
8d17eb83a0 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
1b040156e7 Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff). 2009-08-25 12:32:03 -07:00
Luke Wagner
5d3b52b8ea Use JS_CEILING_LOG2W in JSTempVector (r=waldo) 2009-08-25 12:09:20 -07:00
David Anderson
e322e64001 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00
Andreas Gal
58465e64d5 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
59cc079901 Build fix for bug 512049. 2009-08-24 22:00:30 -07:00
Andreas Gal
7644588864 Inline DoubleToECMAInt32 (512049, r=dmandelin). 2009-08-24 18:46:21 -07:00
Andreas Gal
f808b9ca98 Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -07:00
Jason Orendorff
3bab9b25d4 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
5dd467a8d4 Bug 511974 - Treat "continue LABEL;" like "break;". r=gal.
--HG--
extra : rebase_source : d9507a3c8ef0e64f12c5890e9c3104e5329d3f29
2009-08-24 13:37:07 -05:00
Nicholas Nethercote
74317cbe5d Bug 505388 - nanojit: refactor two Assembler methods. r=edwsmith. 2009-08-25 10:59:09 +10:00
David Anderson
d6567c21e2 Build fix (followup to bug 512029). 2009-08-24 17:18:41 -07:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
David Anderson
5a190d8788 Fix warnings on Linux gcc (bug 506714, desk r=jorendorff). 2009-08-24 15:09:21 -07:00
Nicholas Nethercote
0aeb8fe419 Bustage fix for optimised builds for bug 511329. 2009-08-24 09:41:11 +10:00
Nicholas Nethercote
761fce9249 Bug 511329 - nanojit: don't print dead LIR instructions with TMFLAGS=assembly. r=edwsmith. 2009-08-24 08:57:40 +10:00
Igor Bukanov
cd5052cc4c bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap 2009-08-22 19:59:55 +03:00
Luke Wagner
37ea69aa3d Fixed template-id in JSTempVectorImpl 2009-08-21 19:31:51 -07:00
Brendan Eich
f5c41293a5 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
24358ae9d8 Bug 511972 - More Fragment cleanups, r=dvander.
--HG--
extra : rebase_source : 186782bd96d8155eb3f0277616012636d6ebe469
2009-08-21 13:51:55 -07:00
Jason Orendorff
f9a7d4274f 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
c78334cec0 Merge. 2009-08-21 13:52:34 -05:00
Graydon Hoare
5a401319ba Bug 511919 - Copy the x64 backend from Tamarin, r=dvander. 2009-08-21 11:27:08 -07:00
Jason Orendorff
7eb0c31f08 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
6772d63b3d 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
bfebb50319 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
439954f9eb 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
79c31490dc 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
71d5ed8b0d Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst 2009-09-10 14:09:35 -07:00
Robert Sayre
ca5aa4b4ac 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
621cf29067 Add executable bits back to config.guess files. b=515002 2009-09-09 08:20:25 -04:00
Reed Loden
b5846b26bb 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
099411b764 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
9ab69d6189 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
354f838a98 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
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Shawn Wilsher
993694805d 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
be725fa2ce Bug 514131 - remove xpcom/obsolete, r=bsmedberg 2009-09-02 13:01:29 -04:00
Serge Gautherie
374aaaddf3 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
287d6992b8 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
4d0f1f9548 Trivial indentation fixups that should have gone in with 9e16ec20e6fe. r=brendan 2009-08-28 15:34:31 -07:00
Ben Newman
e5a024bacf 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
eb16f9a84d 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
56a6b95359 Bug 518925 - LirWriter leak with regexp match in debug builds, r=dvander. 2009-09-25 15:45:45 -07:00
Graydon Hoare
ee59e42dc3 Bug 518730 - TM: change the allocators to calloc, r=gal. 2009-09-25 15:16:10 -07:00
Graydon Hoare
b5097e03aa Bug 497009 - Deallocate LIR after recording, r=gal.
--HG--
extra : rebase_source : 5fc9d76620f83d3bbf6ba7a4656c296654bb6323
2009-09-23 18:46:34 -07:00
David Mandelin
df2ec67c4d No bug, undo change to obsolete valgrind option in 886a447d6a8f, no_r=me 2009-09-25 15:03:03 -07:00
Luke Wagner
3cf8a59c01 Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -07:00
David Anderson
bed67e910c 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
cad54739ba Bug 511309 - Followup patch to force flush on the CodeAllocs, r=sayrer. 2009-08-20 21:02:41 -07:00
Robert Sayre
4d69e4136d Merge. 2009-08-20 22:47:58 -04:00
Robert Sayre
4bf25b4f6e Fix jsapi-tests assert in debug builds. tests need to happen inside a request. 2009-08-20 22:16:32 -04:00
Graydon Hoare
503c025d90 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
ebfe09b112 Fast path for writing a double into an array (511737, r=danderson). 2009-08-20 16:53:10 -07:00
Graydon Hoare
ebe9c3f20b Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin. 2009-08-18 15:32:54 -07:00
Graydon Hoare
571bd08a08 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
0615e68e91 Bug 505798 - JSAPI test harness. r=Waldo. 2009-08-20 17:20:14 -05:00
David Mandelin
6e0758faf2 Trailing whitespace cleanup, no_r=me 2009-08-20 15:21:14 -07:00
Robert Sayre
86100e21e2 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
David Anderson
57bffd92e3 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
6ecfde050f 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
5418886640 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
8616b8e0d1 Bug 273467 - ecma 9.3.1 - ToNumber(signed hex string) is NaN. 2009-08-20 12:08:03 -07:00
Bob Clary
b62a57c240 Bug 509098 - modify test due to removal of JS_HAS_LVALUE_RETURN support. 2009-08-20 12:07:59 -07:00
Bob Clary
03d3b46e0f Bug 511714 - JavaScript Tests - include new 1.9.3 branch exclusion file. 2009-08-20 12:07:55 -07:00
Jason Orendorff
88e3edcd5e 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
3c1ea54617 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
915501a755 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
0525ca1267 Atomize unit strings at birth (511567, r=shaver). 2009-08-19 19:37:59 -07:00
David Anderson
ffb8283fd1 Build fix followup to bug 506714. 2009-08-19 16:42:25 -07:00
David Anderson
16fa18ade6 Added trace tree visualizer (bug 506714, r=gal). 2009-08-19 16:11:59 -07:00
Jason Orendorff
5d4cab246e 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
eb0e17b391 Build fix for bug 511307. 2009-08-19 15:58:36 -07:00
Andreas Gal
489dd4c0f9 Specialize math functions to integer arithmetic where appropriate (511307, r=dvander). 2009-08-19 15:31:10 -07:00
Andreas Gal
c09eb5d1a9 Remove debug printfs (no bug). 2009-08-19 15:29:56 -07:00
Andreas Gal
9a78cb5d5f Use thread-local RNG for Math.random() (511328, r=shaver,waldo). 2009-08-19 15:23:54 -07:00
Andreas Gal
81c28c4fe8 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
Robert Sayre
0da1878591 Merge. 2009-08-19 15:30:21 -04:00
Robert Sayre
9cc65226f2 Backed out changeset 5817b38a8686 2009-08-19 15:30:06 -04:00
Robert Sayre
7e4b86a92f Try to fix bustage by revving XDR number. 2009-08-19 14:23:43 -04:00
David Mandelin
1e05c1b289 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
a8f8431b74 bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap 2009-08-19 19:53:51 +03:00
Luke Wagner
b115ec69f9 Add test for bug 507180 2009-08-19 09:36:25 -07:00
Rich Walsh
26a48fb72d 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
7073411c9d 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
1f36a4f0c2 Bug 503952 - Use JSTempVector in jsstr.cpp (r=waldo)
--HG--
extra : rebase_source : ac955b5d784ca8fc9a61129e580c2751beb4109f
2009-08-14 16:10:59 -07:00