Commit Graph

41799 Commits

Author SHA1 Message Date
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
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
Brendan Eich
1de1fd1451 Fix fractured grammar in comment for bug 560234. 2010-04-30 08:50:03 -07:00
Brendan Eich
21abf2ffff Fix thinko in patch for 560234, caught by jorendorff, all praise to him. 2010-04-30 07:46:31 -07:00
Jason Orendorff
aff223663e Bug 560998 - Assertion failure: entry->vword.toObject() == JSVAL_TO_OBJECT(v). r=brendan. 2010-04-30 08:29:04 -05:00
Nicholas Nethercote
d8b33d0d5f Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan. 2010-04-29 20:22:33 -07:00
Brendan Eich
855cf9ee29 JSOP_NAME inside null closure leads to bogus ReferenceError on trace (560234, r=jorendorff). 2010-04-29 19:04:55 -07:00
Jesse Ruderman
886cefbe65 Update regress-429739.js to reflect the decision in bug 520778, and re-enable the test 2010-04-29 17:25:37 -07:00
Nicholas Nethercote
deb78e392f Bug 562553 - TM: cache double-to-string conversions to speed up v8-splay.js. r=cdleary. 2010-04-29 17:17:24 -07:00
David Mandelin
bd01579c00 No bug, fixing a new MSVC warnings, no_r=me 2010-04-29 16:31:45 -07:00
Nicholas Nethercote
68c21b35a7 Update nanojit-import-rev stamp. 2010-04-29 16:08:29 -07:00
Edwin Smith
1024e26d57 Bug 559975 - Rename LOpcode enums in NativeX64.cpp (r=nnetercote+)
Also includes a few renames of qxor -> xorq from other files.
(qxor was missing from the rename script).

--HG--
extra : convert_revision : b49dd62330e017769dfdea9c87a74698179c7f45
2010-04-29 15:34:40 -04:00
Jason Orendorff
c2217cdb74 Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC. 2010-04-29 09:11:05 -05:00
Ginn Chen
3a939263c2 Update nanojit-import-rev stamp. 2010-04-29 16:01:33 +08:00
Andreas Gal
34d9e4d6c8 fix brace style (Nth follow-up for 560358). 2010-04-28 19:13:03 -07:00
Andreas Gal
d84543bb6b Merge. 2010-04-28 18:50:17 -07:00
Andreas Gal
7bf56e15a7 Follow-up for 560358, poke the GC when overwriting the value of RegExpStatics.input (fix leak). 2010-04-28 18:49:36 -07:00
Nicholas Nethercote
225ae34fc8 Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan. 2010-04-28 18:35:22 -07:00
Andreas Gal
6e29637654 export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me). 2010-04-28 17:17:34 -07:00
Andreas Gal
2173a6b94c Optimize static RegExp state (560358, r=brendan). 2010-04-28 16:35:12 -07:00
Jeff Walden
6aed9b5ebc Bug 562193 - Implement Components.utils.getGlobalForObject(obj), as a supported alternative to parent-chain-walking. r=mrbkap 2010-04-28 13:53:01 -07:00
Luke Wagner
3df9b42a3e Oops, b0f49ebf6325 wants a definition (r=me)
--HG--
extra : rebase_source : 069c949e4e236f323c737d15eac2a811677ba58b
2010-04-28 15:23:34 -07:00
Jeff Walden
762bbf4391 Merge. 2010-04-28 15:18:53 -07:00
Jeff Walden
2dabf26a83 Backed out changeset 1da2bbf6cfaf, turned tree red. 2010-04-28 15:18:38 -07:00
Luke Wagner
d80ae03b09 Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me) 2010-04-28 15:06:39 -07:00
Jason Orendorff
c11e7e9863 Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
Andreas Gal
6fe4800714 Optimize static RegExp state (560358, r=brendan). 2010-04-28 13:33:21 -07:00
Jason Orendorff
74b496bbe8 Merge backout. 2010-04-28 13:41:43 -05:00
Jason Orendorff
fc386a2ca8 Backed out changeset ae857d818793 (bug 559653) due to test failures. 2010-04-28 13:41:24 -05:00
Jason Orendorff
55efedaff4 Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures. 2010-04-28 13:03:19 -05:00
Jason Orendorff
6736f57e69 Bug 559813 - Trace script setters. r=brendan. 2010-04-28 11:43:27 -05:00