Commit Graph

6805 Commits

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