Commit Graph

8827 Commits

Author SHA1 Message Date
Jason Orendorff
fe3e820003 Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo). 2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226 Update nanojit-import-rev stamp. 2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
05c2de7b5b Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7 Fixed whitespace drift.
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587 fix PPC debug-only build breakage
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164 Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.

This patch mirrors the code used on the x86 which was fixed
a while back to address this issue.  See bug 535705

--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7 Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.

--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957 Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234 Don't bother tracing some elem sets yet (bug 561939, r=gal). 2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb Merge. 2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049 Backed out changeset 35c25547a135 (bug 560358). 2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40 Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939 Backing out due to bustage. 2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695 Bug 561672 - JS_Assert should fflush(stderr). r=shaver 2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786 Bug 561619 - JS CTypes has a build dependency bug. r=sayrer 2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7 Bug 560798 - propagate errors from deep-aborted natives (r=gal) 2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d Bug 556830 followup to fix debug bustage 2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342 Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff 2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff 2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6 Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb 2010-04-26 14:17:29 +08:00
Andreas Gal
92692442a2 optimize JSON stringify. bug 561592. r=dvander 2010-04-25 08:51:05 -04:00
Igor Bukanov
45a0a3043e bug 560471 - followup to fix restoration of weak roots 2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484 Bug 560650 - TM: json code should use JS_Enumerate. r=gal 2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7 Merge mozilla-central to tracemonkey. 2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237 Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters. 2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a Fix busted test from Bug 558830 - Trace script getters. 2010-04-24 11:55:10 -04:00
Andreas Gal
3b9cb33abc Merge. 2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975 backing out clean up bug 560167 due to massive conflicts with the iterator patch 2010-04-23 20:49:06 -07:00
Igor Bukanov
d14ffdc7bb bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff 2010-04-24 00:15:42 +02:00
Jason Orendorff
d51bc30112 Disable jsreftest js1_5_8/extensions/worker-fib.js which randomly hangs in the browser. r=sayrer. 2010-04-23 13:30:20 -05:00
Jason Orendorff
374c216eaf Merge. 2010-04-23 13:20:23 -05:00
Chris Leary
a45026d2f5 Bug 558971 - Parser arena allocation overhead is too high. r=sayrer/shaver 2010-04-23 08:40:57 -04:00
Robert Sayre
9d1f00ac50 Merge 2010-04-23 08:31:07 -04:00
Robert Sayre
3b5eb1cf6b Backed out changeset 1af19eedbde2 -- Fix sharpSlots vs. with grudge-match (561011, r=mrbkap). 2010-04-23 08:30:35 -04:00
Igor Bukanov
8a04b0f372 bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal 2010-04-23 08:58:44 +02:00
Brian Crowder
cdec52dab6 Bug 560769 - fixing badness accessing /proc/self/auxv under qemu, r=vlad, a=dholbert 2010-04-23 12:58:38 -07:00
Brendan Eich
86d3fb47ad Fix sharpSlots vs. with grudge-match (561011, r=mrbkap). 2010-04-22 19:03:45 -07:00
Brendan Eich
298a4cad15 Tweak to align comment. 2010-04-22 17:45:49 -07:00
Nicholas Nethercote
ae33f2eadd merge 2010-04-22 16:38:46 -07:00
Nicholas Nethercote
a46ca032d4 Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan. 2010-04-22 16:37:41 -07:00
David Mandelin
966e6ad195 Bug 554224: Normalize paths so regress-50447-1 works on Windows, r=waldo
--HG--
extra : rebase_source : d4a5fe9e6f01cb48c3c89bc1ab8f692d44e18eb2
2010-04-22 16:14:57 -07:00
Jeff Walden
83733065a4 Oops, previous changeset 350ed77bf399 to fix bug 463360 was a patch by Rasmus Jensen. 2010-04-22 15:59:09 -07:00
Jeff Walden
099b68ff0e Bug 463360 - Uneval then eval E4X with { gives error. r=jwalden 2010-04-22 15:15:55 -07:00
Jason Orendorff
6b63be3117 Bug 558830 - Trace script getters. r=brendan.
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
Jason Orendorff
a0222dfbf2 Bug 561031 - Treat JSOP_FILTER as a jump. r=brendan.
--HG--
extra : rebase_source : 9b8430b57cbe41407709dc6ffa244a81a112878d
2010-04-22 14:53:26 -05:00
David Anderson
ab155f0037 Renamed InterpState to TracerState (bug 560988, r=luke). 2010-04-22 11:54:11 -07:00
Jason Orendorff
bb10846365 Merge. 2010-04-22 09:22:20 -05:00
Igor Bukanov
e2ca45751b bug 507904 - removal of bogus assert in the watchpoint implementation. r=brendan 2010-04-22 15:23:57 +02:00
Jason Orendorff
b09c08d4fc Bug 553671 part 12 - Handle GC_KEEP_ATOMS more directly. r=brendan.
--HG--
extra : rebase_source : 8540b1e79bf1c187e59cadd7cced1b2e16b8d31d
2010-04-22 07:38:05 -05:00
Jason Orendorff
9f2ca7c221 Bug 553671 part 11 - Refactor GCTIMER to disrupt the flow of js_GC less. r=luke.
--HG--
extra : rebase_source : 2e407cc3bd6798e15c42b25f744fd1d0b6146046
2010-04-22 07:35:21 -05:00
Jason Orendorff
e3724fb9c0 Bug 553671 part 10 - Get rid of "goto restart_at_beginning;". r=luke.
--HG--
extra : rebase_source : 9d0128640af7d366133d59fed9c21160078ba5ca
2010-04-22 07:34:28 -05:00
Jason Orendorff
ac7bf3b598 Bug 553671 part 9 - Extract ProcessAllSetSlotRequests from js_GC. r=Waldo.
--HG--
extra : rebase_source : 920c2465f4a498d679b89811b0969e4cd6674580
2010-04-22 07:32:13 -05:00
Jason Orendorff
e6c90916d4 Bug 553671 part 8 - Reimplement promotion of GC_SET_SLOT_REQUEST to GC_LOCK_HELD and get rid of "goto done_running;". r=brendan.
--HG--
extra : rebase_source : ce19741b5ea204b6f11e55e66a47363e9577caf3
2010-04-22 07:31:05 -05:00
Jason Orendorff
9dbcfca307 Bug 553671 part 7 - Extract BeginGCSession and EndGCSession from js_GC. r=brendan.
--HG--
extra : rebase_source : dbb134d66d403bf5665b94a5ab03ff86d681fb73
2010-04-22 07:31:00 -05:00
Andreas Gal
d7cc7de1f9 Don't save static RegExp state across lambda replace calls (560358, r=brendan). 2010-04-21 22:39:05 -07:00
Nicholas Nethercote
9fdb34cc4b Bug 560160 - nanojit: rename LOpcode-related names (TM-specific part). r=gal. 2010-04-21 21:42:19 -07:00
Nicholas Nethercote
844edf5051 Update nanojit-import-rev stamp. 2010-04-21 21:34:39 -07:00
Nicholas Nethercote
0ca74ddded Bug 560160 - nanojit: rename LOpcode-related names. r=edwsmith.
--HG--
extra : convert_revision : 234af92683dad306d03911975b0e9afc57936cf5
2010-04-21 19:34:46 -07:00
Nicholas Nethercote
b81fd327dc Update nanojit-import-rev stamp. 2010-04-21 18:29:59 -07:00
Nicholas Nethercote
42b15a4cbf Avoid compiler warnings. r=me.
--HG--
extra : convert_revision : a33a817354bebed12877a0e6ab4c42729ec3c8c7
2010-04-21 18:28:35 -07:00
Nicholas Nethercote
df3508698d Update nanojit-import-rev stamp. 2010-04-21 18:27:26 -07:00
Nicholas Nethercote
6f79c542f7 Fix lirasm test bustage for bugs 555633, bug 557877. r=me.
--HG--
extra : convert_revision : e32efa20605d847ee01fe0ec1f70bdbb101ae446
2010-04-21 18:21:06 -07:00
Edwin Smith
c25f6733ba Rename LIR opcodes once more, using new C convention (bugs 555633, bug 557877 r=nnethercote+)
This patch un-does the intel names that have been used so far within
nanojit, updates the aliases in LIR.h, and fixes the names used in
lirasm tests.

Host VM's will need to run rename_LIR.pl from bug 504506 if they have
already begun using the intel names; aliases are not provided for them in LIR.h.

--HG--
extra : convert_revision : 2787af46329c72796954ddb68f53326f0de661e4
2010-04-21 21:13:17 -04:00
Boris Zbarsky
2beee9dbfb Bug 557605. Quickstub some XHR things. r=peterv 2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Wesley W. Garland
d7f9e41759 Bug 560504 - Tweak friend class declaration in jsparse.h to work around compiler bug in Mac OS X Leopard's default compiler. r=jorendorff.
--HG--
extra : rebase_source : 164c7d281ec50463f36878e5fe29b30e2ac9e896
2010-04-21 10:54:25 -05:00
Edwin Smith
4754b03126 Fix vprof bustage (bug 560683 r=edwsmith)
--HG--
extra : convert_revision : ea5ee8ca471bfc5b183a42d6b60e778067697c6e
2010-04-21 11:41:05 -04:00
Chris Dearman
48ef0e6d48 Bug 558813 - [MIPS] running tamarin as3/Vector/ acceptance testcases produces an assert (r=edwsmith)
--HG--
extra : convert_revision : 25449d23ba02a99a502c06ffc0565f87376a3e7e
2010-04-21 09:16:18 -04:00
Chris Dearman
e3c19557be Bug 551165 - Unable to compile MIPS nanojit backend (r=edwsmith+)
--HG--
extra : convert_revision : 7d9635ba36b214f707cf426b7b414cde99738048
2010-04-21 09:14:14 -04:00
Jeff Walden
28d55d50d4 Bug 560566 - "Assertion failure: getter" redefining property that's not the most recent property in an object whose scope is not in dictionary mode, when the original property was a half-accessor with an explicitly undefined absent half, and the new property is also an accessor and does not modify the explicitly undefined half of the original half-accessor. r=dmandelin 2010-04-20 17:52:43 -07:00
Nicholas Nethercote
dba392140f Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Jeff Walden
854a499a28 Followup orange fix, had these fixed in one tree but not the one from which I pushed the changes... r=waylon 2010-04-21 17:34:55 -07:00
David Anderson
a2978a2dfe Merge backout. 2010-04-21 16:30:39 -07:00
David Anderson
e87d0a0586 Backed out changeset 4a28bd424400 (tinderbox red). 2010-04-21 16:30:06 -07:00
Mike Moenig
c846c95336 Support custom allocators (bug 549532 relanding, r=dvander). 2010-04-21 13:59:33 -07:00
David Anderson
6998008b3d Rename test case for correct bug number (no bug, r=me).
--HG--
rename : js/src/trace-test/tests/basic/bug557481.js => js/src/trace-test/tests/basic/bug557841.js
2010-04-21 12:08:37 -07:00
David Mandelin
e0c8df3e9e Bug 558531: fix typo in JS_ResolveStandardClass, r=waldo 2010-04-21 11:37:18 -07:00
Robert Sayre
ccea2938e0 Merge tracemonkey to mozilla-central. 2010-04-21 08:34:13 -04:00
David Anderson
f4f019b83e Fixed tracing some arguments usage on trace (bug 558618, r=gal). 2010-04-21 01:10:23 -07:00
David Anderson
e86821540c Modifying upvars on trace (bug 557946, r=gal). 2010-04-20 22:42:00 -07:00
Luke Wagner
ed92fc7417 Remove ridiculous dead code in JSOP_POS (that I seem to have added with bug 552574) 2010-04-20 20:48:26 -07:00
Dan Witte
329cff4a11 Bug 558949 - Make ctypes functions FunctionType.ptr's. r=benjamn 2010-04-20 17:37:35 -07:00
Nicholas Nethercote
0a1bd85dc4 Update nanojit-import-rev stamp. 2010-04-20 16:11:58 -07:00
Edwin Smith
560294a5e2 Bug 559969 - Rename LOpcode enums in Assembler.cpp/h (r=nnethercote+)
--HG--
extra : convert_revision : ccc892912055b7da35ff7a8bafa7c3cd0bc060d5
2010-04-19 20:42:41 -04:00
Edwin Smith
a0649c37c8 Remove unnecessary clearReg() calls from asm_restore(). (bug 555255 r=nnethercote+)
This patch does two things, neither of which should affect generated code.

1. In case LIR_alloc in gen(), replace inlined code with a call to evict(),
since evict() does exactly what the inlined code does.

2. In backends, remove ins->clearReg() or deprecated_markAsClear() calls from
asm_restore(), since evict() takes care of the same thing as soon as
asm_restore() returns.

--HG--
extra : convert_revision : e89860f89d85e6d0a4ef538c5f19f0ae55e360da
2010-04-19 20:28:22 -04:00
Edwin Smith
4f9e499d66 Removes NJ_PROFILE and related code, since it's all dead. (bug 560300 r=nnethercote+)
Host VM's should remove #define NJ_PROFILE and NJ_PROFILE_DISABLED

--HG--
extra : convert_revision : 02bc396c1339e7ed0ac17f77b074d5edcb1517f7
2010-04-19 20:22:56 -04:00
Edwin Smith
c87d59e4d3 Move canRemat() from Assembler.cpp to each backend. (bug 555255 r=nnethercote+)
--HG--
extra : convert_revision : c12082c4c489498061d8b505f7dae1bf626d849f
2010-04-19 20:16:09 -04:00
Ben Newman
cbe6db7f2c Bug 560412 - Publicly expose the values of LazilyConstructed<T> objects. r=lw 2010-04-20 14:05:39 -07:00
Jeff Walden
e31b34b946 Er, back out everything, guess my understanding of orange was...lacking 2010-04-20 13:48:46 -07:00
Jeff Walden
1250c87f26 Backed out changeset 7bb4a2e5d0cf, looks to be orange everywhere... :-\ 2010-04-20 10:04:16 -07:00
Jeff Walden
1cc3139d32 Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
--HG--
extra : rebase_source : 145820b9d09adf634220db05cbfabc698c1fcb16
2010-04-13 13:34:31 -07:00
Jeff Walden
4b9b1d8e68 Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
--HG--
extra : rebase_source : b3c47f5fdd0fcb52f68876e9a4fab16143c16901
2010-04-17 03:19:33 -07:00
Jeff Walden
1867f9020c Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff 2010-04-13 13:34:31 -07:00
Jeff Walden
fdc7ad5061 Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke 2010-04-17 03:19:33 -07:00
jwalden+bmo@mit.edu
aafa5b90cf Only use setter's parent if a setter was supplied (bug 560277, r=dmandelin). 2010-04-20 00:49:40 -07:00
Luke Wagner
662af296c1 Use uint64 instead of JSUint64 to fix changeset 5b1c7bc8783e (rs=brendan) 2010-04-19 18:19:27 -07:00
Luke Wagner
a2d77734c8 Fix Windows bustage from changeset 5b1c7bc8783e 2010-04-19 16:21:12 -07:00
Luke Wagner
b5cd1b96c8 Bug 559256 - optimize slot grow/shrink (r=gal)
--HG--
extra : rebase_source : d979d305f730ee2fca3cf5fd0b5eeed028da1b66
2010-04-19 14:42:04 -07:00
Luke Wagner
e292b1f5dc Bug 558410 - silence strict aliasing warnings (r=jorendorff)
--HG--
extra : rebase_source : c6cad8a5461e685f31f5959aa69635be57c807d4
2010-04-19 13:08:19 -07:00
Luke Wagner
d53a36c520 Fix changeset 1f9e21e2fd2b bustage on 64-bit 2010-04-19 10:30:17 -07:00
Luke Wagner
08f75291c2 Bug 560098 - fix hole-to-undefined conversion wrt TT_VOID (r=dvander) 2010-04-19 09:53:09 -07:00
timeless@mozdev.org
d555f3f806 Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Jason Orendorff
150781994d Bug 557841 - TM: "Assertion failure: BINDNAME in global code resolved to non-global object, at ../jstracer.cpp". r=dmandelin.
--HG--
extra : rebase_source : ebfbfc0bb947c1c68b86ec4861c07a94aa6361d7
2010-04-19 09:21:10 -05:00
Robert Sayre
6f648e7ca8 Merge mozilla-central to tracemonkey. 2010-04-19 09:28:26 -04:00
Nicholas Nethercote
326c61a6cb Update nanojit-import-rev stamp. 2010-04-18 19:33:09 -07:00
Nicholas Nethercote
f9f5ae98e3 Remove some pointless aliases. No bug, rs=gal.
--HG--
extra : convert_revision : bdef2f8f4b6bfc0a84de2140beec0ff6f3048f1e
2010-04-18 19:31:20 -07:00
Nicholas Nethercote
b47a58be72 Update nanojit-import-rev stamp. 2010-04-18 16:31:16 -07:00
Nicholas Nethercote
a9ce7676df Fix compiler warning. r=me.
--HG--
extra : convert_revision : 4baf0bdb53dfdc39a1a6b1cf9ee78c0c42be8a6f
2010-04-18 16:15:25 -07:00
Edwin Smith
fa948f7ddd Bug 559968 - Rename LOpcode enums in LIR.cpp. r=nnethercote.
--HG--
extra : convert_revision : 34789fd8cb4bd5f3d3eed6b6a44ae1a158620f8d
2010-04-18 16:05:53 -07:00
Edwin Smith
b0c60c31a3 Rename LIR opcodes in LIR.h (bug 557887, r=nnethercote+)
Mechanically renamed using rename_LIR.pl, backed out the alias patch hunks,
and updated the pointer-sized aliases to use the new opcodes instead of
PTR_SIZE macros using old opcodes.

--HG--
extra : convert_revision : 944433df375988c65313759440ed1de757ab4ea8
2010-04-16 19:20:24 -04:00
Mike Moening
061831a072 Bug 559067 - Silence MSVC warnings in js/src. r=jorendorff 2010-04-16 16:00:51 -05:00
Gregor Wagner
e0651262d2 Bug 559113 - Fix dangling FILE pointer in GCMETER code. r=jorendorff. 2010-04-16 15:54:56 -05:00
Jason Orendorff
f0cedb7287 Bug 527805 - Placeholder comment as requested in review. r=brendan, see comment 6 of the bug. 2010-04-16 15:38:57 -05:00
Jason Orendorff
4f17207cd6 Bug 527805 - Remove JSCLASS_SHARE_ALL_PROPERTIES. r=brendan. 2010-04-16 15:33:19 -05:00
Mike Moening
a82a061ff5 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 1. r=dvander. 2010-04-16 15:03:53 -04:00
Igor Bukanov
42b72b7d65 bug 557140 - avoid abort() on OOM with ill-lopping traced code. r=jorendorff 2010-04-16 14:31:17 +02:00
Nicholas Nethercote
3b7a62d9f5 Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf (TM-specific part). r=dvander. 2010-04-15 17:12:28 -07:00
Nicholas Nethercote
2a483c38cf Update nanojit-import-rev stamp. 2010-04-15 17:01:03 -07:00
Nicholas Nethercote
6503b1d42e Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf. r=edwsmith.
--HG--
extra : convert_revision : b57f94e988db5cdd0278bd3b1eca1a664bfcf937
2010-04-15 16:48:07 -07:00
Edwin Smith
b73e463983 Rename LIR_stw->stl2w, stb->stl2b, add aliases (bug 555633, r=nnethercote+)
--HG--
extra : convert_revision : 2eae88cd4859b3f82d003f1cfd42153c45a14bdf
2010-04-15 09:15:53 -04:00
Jim Blandy
6cc88760d9 Bug 558394: Define HAVE_LOCALECONV on Windows. r=jorendorff 2010-04-15 11:43:53 -07:00
Dan Witte
59ccca6ed9 Bug 557852 - Fix libffi config.cache location. r=bsmedberg 2010-04-15 11:30:28 -07:00
Chris Leary
3c67b0e19f Bug 558846 - Update parsemark to use js::Parser directly. r=jorendorff. 2010-04-15 10:53:27 -05:00
Jason Orendorff
1692ec63b8 Make the regression test for bug 559438 less confusing. r=peterv. 2010-04-15 08:33:21 -05:00
Nicholas Nethercote
56d4d928f3 Update nanojit-import-rev stamp. 2010-04-14 23:09:53 -07:00
Edwin Smith
327efa9892 Only perform the disp32->disp8 addressing mode optimization on valid instructions (bug 543440 r=dvander+)
RIP-relative addressing uses mod 00 "disp32" encoding, but mod_disp32() assumes
all instructions passed in can be optimized to disp8 encoding if the actual
displacement is 8-bit.  This is invalid for mode 00 modes, including RIP addressing.

mod_disp32() can still do the right thing in the other arm of its branch; this
patch removes the assert and tightens the check for the disp8 case.

--HG--
extra : convert_revision : b534b9289ca8a111f16fbf0b0711b5277be440f4
2010-04-14 16:22:14 -04:00
Edwin Smith
f2aa7bdbe7 Lower ARM MIPS NJ_MAX_STACK_ENTRY to 1024 as a workaround for asm_spill() limitations (bug 556175)
Fixme's added, explaining why.

--HG--
extra : convert_revision : 7d102db403b76739c69fbf1e5b1e35bdbeb4b3c6
2010-04-14 09:15:56 -04:00
Edwin Smith
b87fa948ab Use AvmAssertFail instead of NanoAssertFail to implement NanoAssert (Bug 473188 r=gal+)
--HG--
extra : convert_revision : 7c682d3836f7587225a2f8dce73039d10a972318
2010-04-13 15:41:15 -04:00
Edwin Smith
6e97b7399c Add support for LIR_stb on PPC (bug 558597 r=leon.sha pending)
Pushing this in advance of review; It appears to run fine in the tamarin-redux
acceptance suite, and i tested it also by stopping in asm_store32() with dbx,
and disassembling the generated STB instruction.  Looked fine to the naked eye.

--HG--
extra : convert_revision : 1e26f7116dc4435461b56900454b02fa821a9e54
2010-04-13 14:39:49 -04:00
Edwin Smith
c527a87132 Allow i386 JCC() instruction to emit patchable jumps (bug 557705 r=me, nnethercote=pending)
TR needs to support patching, the assert is too restrictive.
Support target == 0 with an explicit check instead of letting
it just work by accident.

--HG--
extra : convert_revision : 5f12e1da6b7f3b76116ccf2ffd878969e103f557
2010-04-13 11:42:42 -04:00
Edwin Smith
577472fd60 Raise ARM and MIPS NJ_MAX_STACK_ENTRY to 4096 (bug 556175 r=Jacob.Bramley+)
--HG--
extra : convert_revision : 7a068ed450bb6ba47d8a5ab2586487a1b37ba8db
2010-04-13 11:14:49 -04:00
Edwin Smith
176d926d8c Implement LIR_stb on PPC32/64 (bug 558597 r=rreitmai+)
Patch also fixes an invalid assert that required load/store
displacements to be multiples of 4 on PPC.

--HG--
extra : convert_revision : e2a7f626b35179db953469ea94cdb39d16b10f7c
2010-04-12 21:27:19 -04:00
Rick Reitmaier
4634603bd4 Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote,edwsmith)
Issues with prior patch not compiling with tamarin due to missing vtable,
so make sure printf isn't available unless verbose is enabled.

--HG--
extra : convert_revision : 147e02ce8790c9e09f4c91b29b1bcc5d16862ee1
2010-04-12 11:51:00 -07:00
Peter Van der Beken
3fcb7546e7 Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
cd80341304 Annotate jsreftest manifests with assertion counts. (Bug 472557) 2010-05-04 21:28:18 -07:00
Jason Orendorff
afeaf2a57a Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander. 2010-05-04 14:57:27 -05:00
Luke Wagner
c328d111f1 Bug 558446 - Emit concatn properly (r=waldo) 2010-04-09 16:32:02 -07:00
Luke Wagner
d0cd28412f Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan) 2010-04-30 17:34:54 -07:00
Chris Leary
b141ee8829 Bug 562144: Make DTrace hooks pretty. (r=sayrer) 2010-04-30 17:04:31 -07:00
Brendan Eich
f7d763d4ac Beware generators when trying to flatten a closure (563034, r=jorendorff). 2010-04-30 16:31:35 -07:00
Brendan Eich
52ed1d8098 Fix getter/setter built-in vs. scripted type confusion: union getter/setter callable object pointer with raw JSPropertyOp pointer, fix watchpoint assertion/null-deref related to ES5's {get: undefined, set: undefined} new scripted getter/setter state encoding, clean up related code (560796, r=jwalden). 2010-04-30 16:03:37 -07:00
Jason Orendorff
44cd0ab6dd Bug 562909 - testContexts_bug561444 failing, leaving Windows debug tests perma-orange on tracemonkey. r=Waldo. 2010-04-30 17:49:10 -05:00
Andreas Gal
bd82c5611d remove obsolete JSVAL_ERROR_COOKIE and JSVAL_FAIL (563063, r=dvander). 2010-04-30 15:21:09 -07:00
Andreas Gal
478f54cddf remove useless date and array trace natives (563055, r=dvander). 2010-04-30 14:59:28 -07:00
Andreas Gal
10a780d223 remove useless obj trace natives (563047, r=dvander). 2010-04-30 14:40:25 -07:00
Jason Orendorff
89f72d0bce Backed out changeset 73f23528bed6 (bug 559653, again) 2010-04-30 15:12:13 -05:00
Jason Orendorff
d55c165fa7 Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
--HG--
extra : rebase_source : c6698a313d7d00cd0584e1968d96d4b67ab0373c
2010-04-28 11:12:19 -05:00