Commit Graph

9205 Commits

Author SHA1 Message Date
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
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
Jason Orendorff
d649fe8f15 Merge. 2010-04-28 11:15:12 -05:00
Jason Orendorff
63cfa9cafb Bug 559653 - TM: Record assignment before the interpreter goes; remove record_SetPropHit. r=brendan. 2010-04-28 11:12:19 -05:00
Nicholas Nethercote
3a4a3d6046 Bug 557991 - nanojit: remove dead code from CodeAlloc. r=edwsmith.
--HG--
extra : convert_revision : 335ca0fff2a7ac451d0fa1c11594f6dbacada648
2010-04-08 18:33:21 -07:00
Edwin Smith
e802c1ac07 Suppress unused arg warnings for bug 557843 (r=me.)
Took the opportunity to add a few asserts to ensure the implit RHS
register for x86 shift instructions is always ECX.

--HG--
extra : convert_revision : 6baccc0354a87ece92ccff6ff138986bf4d19a2c
2010-04-08 12:58:49 -04:00
Rick Reitmaier
8e2e572dea Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote)
if LogControl.printf is made a virtual method then consumers of nanojit can
more easily control how the output is managed.

--HG--
extra : convert_revision : 7fa9ad2e2d57661e4290df0b3902fd809f19d768
2010-04-07 09:54:30 -07:00
Nicholas Nethercote
4139494dcc Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan. 2010-04-14 18:57:30 -07:00
Nicholas Nethercote
00c793c05f Backed out changeset 681b0067e61b due to massive breakage 2010-04-14 17:09:17 -07:00
Nicholas Nethercote
e240c1f235 Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan. 2010-04-14 16:18:03 -07:00
Jason Orendorff
c58c59528b Bug 559438 - Decompiler bug with JSOP_CONCATN. r=shaver. 2010-04-14 17:26:44 -05:00
Jason Orendorff
67f4c567ed Missing test file for 47949ff2d058. 2010-04-14 15:52:24 -05:00
Jason Orendorff
af84824b06 Bug 559006 - Wrong behavior with JSClass::convert hook and JIT. r=mrbkap. 2010-04-14 15:07:01 -05:00
Dan Witte
d932f1875d Bug 556329 - Allow ctypes to load exported data symbols. r=jorendorff 2010-04-14 10:36:48 -07:00
Walter Meinl
1d3efeae28 Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 3: Mozilla bits. r=dwitte 2010-04-14 10:36:48 -07:00
Dan Witte
271ddaf124 Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 2: update libffi.patch. 2010-04-14 10:36:48 -07:00
Walter Meinl
34c05f566e Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 1: libffi bits. r=dwitte 2010-04-14 10:36:48 -07:00
Dan Witte
4e6cc3082a Bug 556902 - Fix ctypes warnings. Part 2: libffi. r=benjamn 2010-04-14 10:36:48 -07:00
Dan Witte
a199de8c64 Fix allocator mismatch. No bug, r=jorendorff 2010-04-14 10:36:47 -07:00
Robert Sayre
93ca8a6021 Merge mozilla-central to tracemonkey. 2010-04-14 08:17:38 -04:00
Jason Orendorff
190248f706 Merge backout. 2010-04-14 07:00:55 -05:00
Jason Orendorff
33e5d7d502 Backed out changeset ff77002e8a30 (bug 558720). 2010-04-14 07:00:36 -05:00
Gregor Wagner
fb425ba8b2 Bug 541140 - TM: don't return GCChunks immediately 2010-04-13 20:14:10 -07:00
Nicholas Nethercote
b90709d529 Bug 558714 - js_ScriptClass doesn't need a reserved slot. r=brendan. 2010-04-13 19:38:49 -07:00
Brendan Eich
937d447d0e Fix non-escaping closure optimization to cope with 'with' and eval (558720, r=jorendorff). 2010-04-13 19:05:26 -07:00
Robert Sayre
8b637950c5 Merge 2010-04-13 18:16:05 -04:00
Robert Sayre
ec12d7736d Backed out changeset c9faf5a2bc75 2010-04-13 18:15:20 -04:00
Gregor Wagner
e3ae3c2ec6 Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.
--HG--
extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
2010-04-13 08:58:40 -05:00
Luke Wagner
9910b54c38 Check for JS_THIS_OBJECT failure in obj_isPrototypeOf (r=Waldo)
--HG--
extra : rebase_source : e22f9eb8bdf47b2f3cf2c5fc3d6ed46e01c191a2
2010-04-12 20:05:03 -07:00
Mike Moenig
7cb366214a [JAEGER] Allow custom memory allocator use in spidermonkey (bug 549532, r=dvander). 2010-04-12 18:51:25 -07:00
Luke Wagner
e0baa92658 Bug 558950 - Object.watch should always return undefined (r=Waldo) 2010-04-12 17:47:35 -07:00
Igor Bukanov
7004c9a4b7 bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor 2010-04-13 00:59:19 +04:00
Igor Bukanov
c8a65ef8d4 backout merge 2010-04-12 23:43:43 +04:00
Igor Bukanov
bdc96d2b1a Backed out changeset 47532d9153cb - xpcshell failures 2010-04-12 23:42:45 +04:00
Jeff Walden
448a825d23 Bug 558249 - Followup fixes to bug 550402 to record setting getter-only properties better. r=jorendorff
--HG--
extra : rebase_source : 0cfef9aca97c243b1d45e5b6e4d68181cd3cea5c
2010-04-12 11:11:33 -07:00
Igor Bukanov
91e9546ca9 bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor 2010-04-12 21:15:30 +04:00
Jason Orendorff
8c46df6c46 Bug 557652 - Eliminate redundant guard that incProp/getProp operand is not the global object. r=brendan.
--HG--
extra : rebase_source : 8da6192aedb78f6096d83a161698b27e43d30c30
2010-04-12 08:27:16 -05:00
Robert Sayre
eea611fd7f Fix merge bustage. 2010-04-12 10:08:55 -04:00
Robert Sayre
0bc0ee1ad3 Merge mozilla-central to tracemonkey. 2010-04-12 09:45:24 -04:00
Nicholas Nethercote
58fd901fa9 Bug 556165 - dead code in array_shift(). r=jwalden. 2010-04-11 22:38:55 -07:00
Andreas Gal
4f28c42447 Remove lingering defaultValue calls with hint JSTYPE_OBJECT or JSTYPE_FUNCTION (554550, r=brendan). 2010-04-11 20:55:22 -07:00
Andreas Gal
9e30b5188d Fix an incorrect comment (r=me). 2010-04-11 20:03:04 -07:00
Nicholas Nethercote
483987f688 merge 2010-04-11 16:45:50 -07:00
Nicholas Nethercote
6bcbe2ea63 Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan. 2010-04-11 16:45:20 -07:00
Nicholas Nethercote
2d6ed5c45e Bug 558530 - JM: Crash [@ js_CallGCMarker] with gc. rs=me. 2010-04-11 16:28:04 -07:00
Brendan Eich
1adb0c8099 Keep jsprvtd.h usable from C (558437 followup, r=REDRUM). 2010-04-11 10:40:36 -07:00
Brendan Eich
d5d7609fb6 Cope with stillborn Iterators (558619, r=dvander). 2010-04-10 23:47:43 -07:00
Dave Herman
ed6c552bb7 Bug 558437 - rename JSCompiler to js::Parser (r=brendan). 2010-04-10 21:15:35 -07:00
Brendan Eich
1a7721a4d3 Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander). 2010-04-10 20:53:11 -07:00
Andreas Gal
a887d81302 Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Andreas Gal
f39c969eaa Remove gcIteratorTable (557914, r=brendan). 2010-04-10 16:08:14 -07:00
Siddharth Agarwal
3335c5f88d Bug 558887 - VC10: nsinstall.exe doesn't get a manifest. Copy the logic over from $(PROGRAM) to $(HOST_PROGRAM). r=bsmedberg 2010-04-13 14:18:19 +05:30
Jesse Ruderman
f1675a824a This test doesn't need to open a new window. (May 'fix' orange bug 558581.) 2010-04-12 23:48:06 -07:00
Marco Bonardo
8222b230c0 Bug 550823 did not sync js/src/config 2010-04-22 16:11:24 +02:00
Julian Seward
4fd59b2da7 Bug 557586 - XPCPerThreadData::~XPCPerThreadData race leading to possible crash r=timeless 2010-04-22 14:58:41 +02:00
Ben Newman
4dddc1fb4e Bug 559962 - Refactor XPCWrappedNative::CallMethod. r=mrbkap 2010-04-21 11:39:13 -07:00
Robert Sayre
21d5aa345b Merge tracemonkey to mozilla-central. 2010-04-15 12:05:18 -04:00
Ben Turner
227582d7d6 Bug 559442 - 'Fix ctypes closures to work on a non-GC thread'. r=dwitte. 2010-04-14 17:21:06 -07:00
Chris Jones
cedd844205 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Mike Hommey
11c80af780 Fix system-header desync from bug 558789 2010-04-20 11:23:17 +02:00
Mike Hommey
b1bc99f4bd Bug 555910 - Increase stability and performance on mips by not using -Wa,-xgot [r=benjamin]
--HG--
extra : rebase_source : ccc020327a845bdbabb1a23138751d879d5c6e55
2010-04-19 10:41:13 +02:00
Mike Hommey
e38d0a6088 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Ben Turner
50d613eab8 Bug 558675. 2010-04-11 15:05:07 -07:00
Brendan Eich
e3471f5fcb Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander). 2010-04-10 20:56:16 -07:00
Mike Hommey
0a48e14b6d Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted 2010-04-10 16:02:45 -04:00
Mike Hommey
0497968eb1 Bug 541770: Clean up js/src during make distclean. r=ted 2010-04-10 16:00:49 -04:00
Blake Kaplan
689a3f2723 Bug 557728 - Split constructors into called-from-script and called-from-api. r=vlad sr=jst
--HG--
extra : rebase_source : 64af9e27799a36ce7cd45c885501bef139ddc44c
2010-04-08 18:20:06 -07:00
Jeff Walden
0b04dfbcc9 Bug 534377 - Object literal duplicate-property checking doesn't work for same property as number and as string. r=jimb 2009-12-24 16:10:18 -05:00
Blake Kaplan
bb1b00d30e Bug 533882 - Don't call into CAPs when we don't have to. r=jst sr=bzbarsky
--HG--
extra : rebase_source : 534bfae23aa5c1de4229b5259ba48599aef69a12
2009-12-16 17:40:14 -08:00
Peter Van der Beken
0578abb1ad Fix warning. 2010-04-08 14:07:28 +02:00
Dan Witte
233a77bbe4 Bug 557413 - Fix race condition building static and shared libraries. r=ted 2010-04-08 16:03:06 -07:00
Blake Kaplan
f2f7a9e028 Bug 557346 - Try harder to fill report->ucmessage in when reporting errors. 2010-04-08 15:57:19 -07:00
Michael Wu
b8bf7067a4 Bug 557303 - Include stdarg.h in jsscan.h, r=jimb 2010-04-08 12:06:54 -07:00
Blake Kaplan
f3bccc63ee Fix bug 554448. r=jst sr=sicking
--HG--
extra : rebase_source : d5b72e262ed2c9da30fae7fb4b4ea8ad75f511c4
2010-03-25 14:38:45 -07:00
Blake Kaplan
33bd565c3b Bug 386635 - Compatibility hacks to make evalInSandbox continue to work for GreaseMonkey. r=jst
--HG--
extra : rebase_source : 3784e3ea135dbb53cd5a935369a58627bb73fb7d
2010-03-23 14:11:50 -07:00
Blake Kaplan
63886e99f2 Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Dan Witte
89a5523e7f Bug 557413 - ar: ctypes/libffi/.libs/libffi.a: Resource temporarily unavailable. r=bsmedberg 2010-04-07 14:03:34 -07:00
Ben Turner
ba2cd42a88 Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff. 2010-04-07 13:55:12 -07:00
Ben Hearsum
c38c503940 bug 554392: Tracking bug for build and release of Firefox 3.7a4 - version bumps to 1.9.3a5pre/3.7a5pre
--HG--
extra : rebase_source : e870a851a205062bca0082049283404207a16601
2010-04-07 14:04:51 -04:00
Olli Pettay
c14b02896e Bug 519741 - Quickstub nsIDOMRange, r=peterv 2010-04-07 18:25:26 +03:00
Ginn Chen
c3fc2f9d1c Bug 550371 mozalloc failed to build on Solaris r=bsmedberg 2010-04-07 14:16:32 +08:00
Peter Van der Beken
903db0b614 Try to fix bustage. 2010-04-06 17:02:28 +02:00
Peter Van der Beken
42d3a70ee1 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Chris Jones
509f3d2bfc Backed out changeset eef17c173aaa 2010-05-13 17:24:30 -05:00
Blake Kaplan
24c04cbd78 Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-03-22 15:46:37 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
dce0218e52 Bug 555920 - Move js_obj_define{G,S}etter declarations in jsobj.h and make resolving_MatchEntry static, as it's not defined in any header [r=jwalden] 2010-05-13 09:45:33 +02:00
Mike Hommey
3d0e73c0f1 Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden] 2010-05-13 09:06:13 +02:00
Jacek Caban
6b28186055 Bug 557000 - Correctly set GCC_VERSION on mingw. r=ted 2010-04-03 14:41:33 +02:00
Peter Van der Beken
7f4e72d2de Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
00ea1d430a Try to fix orange from e2c5f6be2148
--HG--
extra : rebase_source : 148d9a1eef794af433373002effd47c12cce6e1c
2010-05-11 18:27:44 +02:00
Peter Van der Beken
f9b24fc187 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
Peter Van der Beken
4fe2094857 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst. 2010-05-06 14:16:32 +02:00
Peter Van der Beken
80ceab0c8a Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz. 2010-05-06 21:26:35 +02:00
Daniel Holbert
e9dcbfb120 Bug 557566, part 1: Add Makefile-variable FAIL_ON_WARNINGS (and debug-only version FAIL_ON_WARNINGS_DEBUG). r=ted 2010-05-06 11:55:18 -07:00
Serge Gautherie
0d07262f2c Bug 559498 - configure.in: s/--enable-long-long-warning/--disable-long-long-warning/; (Av1) Just do it, Re-indent++ this block.
r=ted.mielczarek.
2010-05-06 18:35:11 +02:00
Robert Sayre
0ebb9c1370 Merge tracemonkey to mozilla-central. 2010-05-06 08:50:41 -04:00
Mike Hommey
ce41784187 Bug 542460 - Remove executable permission on source files [r=ted.mielczarek] 2010-05-06 09:32:50 +02:00
Taras Glek
16c05a23d9 Bug 418866 - Set the proper gcc flags for pgo on Linux [r=ted.mielczarek] 2010-05-06 09:26:05 +02:00
Ginn Chen
9df652824c Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek 2010-05-06 13:49:27 +08:00
Blake Kaplan
4801a2f799 Bug 560351 - Don't forget to actually throw the exception. r=peterv
--HG--
extra : rebase_source : 92f95ae32314cd74975dc2a932f67e617b4a7772
2010-05-05 20:44:30 -07:00
Blake Kaplan
a0ccea7552 Bug 558540 - about:sessionrestore asserts because of the wrong wrapper types. r=jst
--HG--
extra : rebase_source : dcf0256b25620953fd3bfefacc56814bbb2d519c
2010-05-05 17:28:58 -07:00
L. David Baron
62aefa3109 Back out temporary debugging code for bug 538462 (changesets 1e383909069b and f5c479a8f631). 2010-05-05 18:20:43 -07:00
L. David Baron
06913598cc Move temporary debugging code for bug 538462 to where it's more likely to work when we leak the world. 2010-05-05 12:39:44 -07:00
Peter Van der Beken
a64d376e9c Part 13 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - stop using tearoffs from quickstubs for nsIDOM3Node, nsIDOM3Text, nsIDOMNodeSelector and nsIDOMNSElement. r=jst.
--HG--
extra : rebase_source : fbc8a48c0efb5d6700ec981f7d4da3434f306e9d
2010-04-19 17:41:38 +02:00
Peter Van der Beken
02d491203e Part 12 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - switch default 'canFail' value for custom QS from False to True and allow missing 'code'. r=jst.
--HG--
extra : rebase_source : d5d5cd5c863856176b77a82309bb9a029d84b224
2010-04-19 17:41:38 +02: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
Makoto Kato
c79f7aed7a Bug 560477 - ambiguous call to overloaded function of ATL::CComPtr<T>::CComPtr. r=timeless 2010-04-28 13:40:56 +09:00
The Written Word
3cc7e88b9c Bug 550599 - "add ia64-hpux block to configure.in" [r=ted] 2010-03-29 13:37:00 -04:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Blake Kaplan
e11777b779 Fix bug 554449. r=jst sr=peterv 2010-04-27 16:24:35 -07:00
Blake Kaplan
1051194298 Bug 559231 - Don't assert if there's no code running. r=jst 2010-04-27 16:24:18 -07:00
David Anderson
cfe017e639 Don't bother tracing some elem sets yet (bug 561939, r=gal). 2010-04-26 20:44:45 -07:00
Dan Witte
fd02fcaa4f Bug 561619 - JS CTypes has a build dependency bug. r=sayrer 2010-04-26 13:26:53 -07:00
Robert O'Callahan
02c1f154fc Backing out fix for bug 560358 to fix regressions and test failures (see bug 561700) a=philor 2010-04-26 19:12:13 +12:00
Robert O'Callahan
fdc17c7a0b Backed out changeset 35c25547a135 2010-04-26 19:10:42 +12:00
timeless@mozdev.org
b6d8489306 Bug 560126 - funobj is uselessly set in WrapFunction, r=mrbkap
--HG--
extra : rebase_source : a0277ef8df513601f0523974511e88beb7930bf1
2010-04-19 00:26:00 -07:00
Robert Sayre
c55787e463 Merge tracemonkey to mozilla-central. a=1hr 2010-04-25 08:59:57 -04:00
Uli Link
c658bf1ad6 Bug 501881 Implement 64-bit-safe AIX version of NativeCompareAndSwap r=wtc,jimb a=meter 2010-04-25 12:09:38 +01:00
Robert Sayre
5690b40895 Update json.cpp comment. a=1hr 2010-04-24 19:05:48 -04:00
Jeff Walden
ad6a89209e Bug 517580 - Unconditionally build with support for getters and setters, remove support for the deprecated { x getter: function() {}} and x getter= function() {} getter syntaxes (mutatis mutandis for setter) now that ES5 provides Object.getOwnPropertyDescriptor and Object.defineProperty and { get x() { } } syntax, and provide __{define,lookup}{G,S}etter__ only if a preprocessor variable is defined (unconditionally provided for the moment). r=luke 2009-10-06 12:35:33 -07:00
Chris Leary
2ebc323e9d Bug 558002 - Convenience methods for TokenStream flags. r=jwalden 2010-04-09 18:54:51 -07:00
Robert Sayre
e3d06777e4 worker-error.js passes now. 2010-04-09 20:04:41 -04:00
Robert Sayre
36f7266ab2 Merge 2010-04-09 15:39:16 -04:00
Robert Sayre
c08105c9c5 Bug 505228. JSON.stringify generates non standard output if space is defined. r=sayrer 2010-04-09 15:38:27 -04:00
Dan Witte
5907980b43 Bug 552548 - Use JSString accessors in ctypes instead of JS_GetStringChars. r=benjamn 2010-04-09 11:52:41 -07:00
David Mandelin
aa16e435ea Bug 554670: abort tracing on out-of-range args element read 2010-04-08 17:11:41 -07:00
Robert Sayre
5ef05c8584 Merge mozilla-central to tracemonkey. 2010-04-09 11:43:07 -04:00
Luke Wagner
777b935aea Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo) 2010-04-08 11:22:04 -07:00
Luke Wagner
cbbdfa692a Bug 555484 - add test case 2010-04-08 13:32:32 -07:00
Brendan Eich
9c357658b7 Back out patch for 557969 due to orange. 2010-04-08 11:31:03 -07:00
Andreas Gal
b0f31bea3f No need to lookup parent/proto for iteration objects used for enumeration, and cache the last free iteration object for re-use (558058, r=brendan). 2010-04-08 10:55:58 -07:00
Brendan Eich
edcf471ddb Named native functions lacking JSFUN_BOUND_METHOD entrain the global of the object in which they are bound, not the binding object itself, via parent (557969, r=mrbkap). 2010-04-08 10:55:22 -07:00
Jason Orendorff
741bacca43 Bug 553671 part 6 - Rewrite GCUntilDone() to get rid of the goto. r=gal.
--HG--
extra : rebase_source : f571c42ad8661e1a0f5be6042eafea33f507dc44
2010-04-08 08:03:08 -05:00
Jason Orendorff
d1526f1df5 Bug 553671 part 5 - Extract GCUntilDone() from js_GC(). r=gal.
--HG--
extra : rebase_source : 1356bdf760348479248284dd90eb8535895af8f9
2010-04-08 08:01:21 -05:00
Jason Orendorff
08bfa47c56 Bug 553671 part 4 - RAII for JS_{LOCK,UNLOCK}_GC and JS_{KEEP,UNKEEP}_ATOMS. r=luke.
--HG--
extra : rebase_source : dfdfcdd3a602e12de1836068e2c9f16fce46d7b2
2010-04-08 07:54:18 -05:00
Jason Orendorff
42ab1dd2de Bug 553671 part 3 - extract FireGCBegin() and FireGCEnd() from js_GC(). r=jwalden.
--HG--
extra : rebase_source : 795a278471c339f74691a335ccfcd7042042732b
2010-04-08 07:54:18 -05:00
Jason Orendorff
55684f1763 Bug 553671 part 2 - extract PreGCCleanup() from js_GC() and get rid of 'goto out;'. r=jwalden.
--HG--
extra : rebase_source : 713a06123caefa0c5de75d6d14d0d43421f7e944
2010-04-08 07:54:18 -05:00
Jason Orendorff
aac995ee3e Bug 553671 part 1 followup - Minor cleanups in GC() suggested by jwalden in review.
--HG--
extra : rebase_source : b2cabed0b2de6c044a04fa00f7e1593fddf88786
2010-04-08 07:54:18 -05:00
Jason Orendorff
926b177eaa Bug 553671 part 1 - Extract GC() from js_GC(). r=jwalden.
--HG--
extra : rebase_source : 4fc17e71f7f7f3bd1d7392af585e61d265851918
2010-04-08 07:54:17 -05:00
Andreas Gal
ecdd402081 Backed out changeset 61de331861af (bug 558058). 2010-04-08 09:02:34 -07:00
Andreas Gal
0eaa2c4331 No need to lookup parent/proto for iterator objects, and cache the last free one (bug 558058, r=brendan). 2010-04-08 07:53:09 -07:00
Boris Zbarsky
32a8d53e03 Backed out changeset 698ace1f1027 (bug 556830) for causing jsreftest failures.
--HG--
extra : rebase_source : 6d4c5022177d0c47568f5be9c274b8b17e398bd4
2010-04-08 09:53:44 -04:00
Jeff Walden
808f44b3ab Bug 550402 - Property readonly bit interferes with setter functions in properties. r=jorendorff
--HG--
extra : rebase_source : a1cc89851d11337a76f916170ca22f9013ee0b2f
2010-04-01 18:11:14 -07:00
Jeff Walden
4d912ae324 Bug 556876 - PropertyDescriptor::initialize can throw a SyntaxError instead of a TypeError. r=jorendorff
--HG--
extra : rebase_source : d0a38deab525d8f78f81d56d9bc78dcd5f76fb97
2010-04-04 21:59:09 -07:00
Luke Wagner
e6880f1d41 Remove dead store (no bug, r=me) 2010-04-07 19:02:47 -07:00
Andreas Gal
b0126e4074 Backed out changeset 687d1e4c213e (bug 557914). 2010-04-07 18:34:05 -07:00
Luke Wagner
b9f8c249e6 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Andreas Gal
d0f2401879 Remove gcIteratorTable (557914, r=Waldo). 2010-04-07 17:14:38 -07:00
Nicholas Nethercote
26d8277a75 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Dan Witte
2249bd76de Revert accidental change. 2010-04-07 15:29:41 -07:00
Dan Witte
b065d2092c Bug 556902 - Fix ctypes warnings. r=benjamn 2010-04-07 15:25:46 -07:00
timeless@mozdev.org
ee0636be79 Bug 556340 - TypedArrayTemplate<*>::fun_slice leaks ntarray when JS_NewObject fails. r=jorendorff. 2010-04-07 16:16:19 -05:00
Robert Sayre
fc4b9ec6e1 FF 3.5.2 native JSON.stringify replacer applied only to array items, not object properties. bug 509184. r=waldo 2010-04-07 12:35:43 -04:00
Jason Orendorff
04c9cd4d7a Fix debug-only crash when doing TMFLAGS=full objdir/js -j t/string-unpack-code.js. no_r=me.
--HG--
extra : rebase_source : f4c43ffeb2fec7de027217500c6a4db7b76724c7
2010-04-07 10:14:35 -05:00
Nicholas Nethercote
c31c693e1b Update nanojit-import-rev stamp. 2010-04-06 20:17:37 -07:00
Nicholas Nethercote
76b149adce Bug 557705 - nanojit: clean up codegen of i386 jumps. r=edwsmith.
--HG--
extra : convert_revision : ec93bc283385c4e19bfbfda1aa1ecf94aef932ec
2010-04-06 20:09:32 -07:00
Nicholas Nethercote
6b08a7f055 Update nanojit-import-rev stamp. 2010-04-06 17:51:51 -07:00
Nicholas Nethercote
6968bfc5ba Windows bustage fix for bug 557483. r=me.
--HG--
extra : convert_revision : 3607404c8ab95af0866fd073ed5d6d51322198b6
2010-04-06 16:04:32 -07:00
Nicholas Nethercote
07fe6e6c98 Bug 557483 - nanojit: convert i386 codegen macros to functions. r=edwsmith.
--HG--
extra : convert_revision : 4062fae8baf26ee9fcdf5c8d1125b2a1fa806515
2010-04-06 15:55:43 -07:00
Nicholas Nethercote
fcb616851a Bustage fix for bug 545295. r=me.
--HG--
extra : convert_revision : 54edfaf7f89566f86822155e90d43ec6198228c4
2010-04-05 18:12:38 -07:00
Edwin Smith
8e9b1ee383 CodeAlloc changes to eliminate dependency on 4K system page size (bug 545295 r=edwsmith+)
--HG--
extra : convert_revision : f1734da5dae9a73cf52692fc8dd72c25d0f12a14
2010-04-05 16:17:01 -04:00
Edwin Smith
e802b90f31 Patch to clean up MSVC analysis warnings (bug 551690, r=edwsmith+ nnethercote+)
(pushing for Bill Maddox)
The following appear to be false positives.  The patch adjusts the code in a
meaning-preserving way such that the analysis warnings no longer appear.  My
best guess is that the analysis does not take into account the discretenes of
integer arithmetic in analyzing relational operators.

nanojit/Assembler.cpp(2004)
nanojit/Nativei386.cpp(1214)

Here, an outer definition is indeed hidden, but it is dead at this point, and
the code is correct as it stands.  Stylistically, however, the hiding should be
avoided, as in the patch.

nanojit\LIR.cpp(671)

--HG--
extra : convert_revision : fdff643a3c793c57150d0e8b48bc1f12383d939e
2010-04-05 11:25:55 -04:00
Dan Witte
2fab74a615 Bug 556902 - Fix ctypes warnings. r=benjamn 2010-04-06 17:43:18 -07:00
Luke Wagner
81d7c2cbea Vector::resize should initialize new elements always; fixes AutoValueVector bug (r=Waldo) 2010-04-06 16:40:49 -07:00
Luke Wagner
6b6463a8e6 Bug 557270 - on s390 pointers are 31-bits, have JS_CEILING_LOG2W use size_t instead of JSUword (r=brendan)
--HG--
extra : rebase_source : cf0f82a63a0d36f84470bfd1aa99c2917cbc5c95
2010-04-06 16:10:54 -07:00
Jason Orendorff
3a1a494d96 Bug 556937 - TM: Trace JSOP_SETNAME when preceding BINDNAME produces the global object. r=dmandelin. 2010-04-06 16:49:33 -05:00
Jason Orendorff
6fac8f385a Bug 556879 - JSRuntime::gcIsNeeded is needed after all. r=igor. 2010-04-06 16:39:16 -05:00
Bob Clary
75114bb688 Bug 557508 - Enable tracing JIT when running js tests in the shell. r=jorendorff.
--HG--
extra : rebase_source : 68f8accc4e9888225f1bbf0955c6cf484219fae2
2010-04-06 15:43:11 -05:00
Boris Zbarsky
182e509e5b Bug 556866. Try to cache the slot even for JOF_INCDEC ops, as long as the setter is a stub. r=jorendorff 2010-04-06 15:46:20 -04:00
Boris Zbarsky
1289dee978 Bug 556830. 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-06 15:42:39 -04:00
Jason Orendorff
cb5afb060e Fix typeChar array (used only in debug output) to match the TraceType enum values. No bug#. r=dvander over IRC. 2010-04-06 12:44:13 -05:00
Jason Orendorff
ed90af06f2 Fix Windows build failures (and a warning) due to rev 2d43edce33a2. No review. 2010-04-06 10:22:28 -05:00
Jason Orendorff
91b24f195c Fix trivially busted test for bug 533876. 2010-04-06 10:05:13 -05:00
Jason Orendorff
7ef276f207 Bug 545962 - Workers for the js shell. r=igor. 2010-04-06 08:15:15 -05:00
Nicholas Nethercote
13d7fcefb2 merge 2010-04-05 22:17:33 -07:00
Nicholas Nethercote
934d8c0f95 Bug 556459 - TM: remove unnecessary cases from demote(), isPromoteInt(), isPromoteUInt(). r=gal. 2010-04-05 22:16:42 -07:00
Brendan Eich
244c77de79 Abort on non-dense-array, non-native JSObjectOp.getProperty op (557168, r=gal). 2010-04-05 22:10:22 -07:00
Nicholas Nethercote
46b653e0e1 Mac bustage fix for bug 556187. r=brendan via IRC. 2010-04-06 12:16:37 +10:00
Nicholas Nethercote
4542317997 Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan. 2010-04-05 18:32:16 -07:00
timeless@mozdev.org
06c049adbc Bug 555687 - OBJ_SCOPE(obj) is unused in TraceRecorder::setProp. r=jorendorff.
--HG--
extra : rebase_source : 7a63d5edfb25a8b4ecacc2b069d9ad5da561ec3a
2010-04-05 15:37:33 -05:00
Jeff Walden
80e3a56f93 Bug 520696 - Implement support for string and numeric literals as names for properties defined using ES5 get/set syntax. r=jimb
--HG--
extra : rebase_source : 42120d6f31851efa9771e3c869989de70d5ed0f5
2009-12-14 18:31:05 -05:00
Jeff Walden
9fbb700478 Make the code prettier. r=style-police
--HG--
extra : rebase_source : 3bd513d15e315dcabf4d69e95e3ded5764a50363
2010-04-05 10:43:49 -07:00
Jason Orendorff
8187e1ef94 Bug 557247 - In debug js shell builds, expose whether we're on trace or not (tracemonkey.onTrace). r=gal. 2010-04-05 12:26:44 -05:00
Andreas Gal
cf22c89a43 b=551507; bad auto root usage in typed arrays; r=waldo 2010-04-04 22:11:07 -07:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Robert Sayre
cd7a9e4cf3 Fix thinko in test. 2010-04-04 11:00:45 -04:00
Robert Sayre
c95c882b76 Fix up the tests from bug 555246 to run when there's no evalcx function available. 2010-04-04 09:41:11 -04:00
Jacek Caban
a143357a5d Bug 393119: Followup bustage fix for mingw. r=mrbkap 2010-04-03 07:32:59 -04:00
Michael Wu
9b1b632895 Bug 542146 - Add support for building JS on Android. patch by vlad, bcombee, and me. r=ted 2010-04-02 15:09:05 -07:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Jason Orendorff
d447d924df Bug 555246 - Wrong answer for 'this' in function code when entry frame was produced by a call across globals. r=brendan. 2010-04-01 09:56:25 -05:00
Dan Witte
4e50af97f4 Typo fix. 2010-04-02 14:03:27 -07:00
Dan Witte
a0f7102bf7 Bug 538324 - Move ctypes into js/src. Part 9: Add ctypes to jsshell. r=gal 2010-04-02 13:34:19 -07:00
Dan Witte
691a56e2c8 Bug 538324 - Move ctypes into js/src. Part 8: Add ctypes JS module bits to toolkit. r=bsmedberg
--HG--
rename : js/ctypes/Makefile.in => toolkit/components/ctypes/Makefile.in
rename : js/ctypes/Module.cpp => toolkit/components/ctypes/Module.cpp
rename : js/ctypes/Module.h => toolkit/components/ctypes/Module.h
rename : js/ctypes/ctypes.jsm => toolkit/components/ctypes/ctypes.jsm
rename : js/ctypes/tests/Makefile.in => toolkit/components/ctypes/tests/Makefile.in
rename : js/ctypes/tests/jsctypes-test.cpp => toolkit/components/ctypes/tests/jsctypes-test.cpp
rename : js/ctypes/tests/jsctypes-test.h => toolkit/components/ctypes/tests/jsctypes-test.h
rename : js/ctypes/tests/unit/test_jsctypes.js.in => toolkit/components/ctypes/tests/unit/test_jsctypes.js.in
2010-04-02 13:16:51 -07:00
Dan Witte
35bd2129aa Bug 538324 - Move ctypes into js/src. Part 7: Remove additional NSPR dependencies. r=benjamn 2010-04-02 13:16:06 -07:00
Dan Witte
79b69ab8d7 Bug 538324 - Move ctypes into js/src. Part 6: Add ctypes to JSAPI. r=sayrer 2010-04-02 13:07:41 -07:00
Dan Witte
084f8dbd80 Bug 538324 - Move ctypes into js/src. Part 5: Remove nsILocalFile option, and corresponding XPCOM dependency, for ctypes.open(). r=jorendorff 2010-04-02 13:07:02 -07:00
Dan Witte
0f073ef219 Bug 538324 - Move ctypes into js/src. Part 4: Use js string conversion functions. r=benjamn 2010-04-02 13:06:15 -07:00
Dan Witte
feaa2c7898 Bug 538324 - Move ctypes into js/src. Part 3: Split out low-level JS 16-bit <--> 8-bit string conversion functions. r=jorendorff 2010-04-02 13:05:30 -07:00
Dan Witte
0ee7f0d0cc Bug 538324 - Move ctypes into js/src. Part 2: Use Vector classes instead of nsTArray/ns*String. r=benjamn 2010-04-02 12:58:34 -07:00
Dan Witte
1158f7a4b5 Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer
--HG--
rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp
rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h
rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp
rename : js/ctypes/Library.h => js/src/ctypes/Library.h
rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg
rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch
rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog
rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi
rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj
rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1
rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE
rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am
rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in
rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README
rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4
rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4
rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile
rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess
rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub
rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure
rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac
rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host
rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp
rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info
rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi
rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti
rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi
rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in
rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am
rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in
rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in
rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h
rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh
rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in
rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version
rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh
rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4
rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4
rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4
rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4
rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4
rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am
rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in
rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3
rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3
rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3
rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh
rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing
rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh
rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c
rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h
rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S
rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c
rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h
rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S
rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c
rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h
rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S
rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c
rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c
rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h
rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S
rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c
rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c
rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S
rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c
rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h
rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c
rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h
rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h
rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S
rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c
rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c
rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h
rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S
rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c
rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h
rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S
rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c
rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h
rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S
rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S
rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S
rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c
rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h
rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c
rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h
rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S
rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S
rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S
rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S
rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h
rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S
rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S
rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c
rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c
rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h
rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S
rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S
rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S
rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S
rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c
rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c
rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c
rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h
rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S
rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c
rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h
rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S
rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c
rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h
rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S
rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c
rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h
rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S
rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S
rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c
rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S
rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S
rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c
rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c
rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h
rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S
rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S
rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S
rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S
rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S
rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am
rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in
rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp
rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp
rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp
rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp
rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c
rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c
rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h
rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c
rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c
rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c
rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c
rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c
rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c
rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c
rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c
rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c
rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c
rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c
rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c
rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c
rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c
rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h
rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp
rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc
rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex
rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
Robert Sayre
404189ee98 Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Robert Sayre
596f6ceff5 Bug 554850: silence JSBool -> bool conversion warnings in msvc. r=waldo 2010-04-01 16:54:57 -04:00
Robert Sayre
7666a5588b Bug 554798: msvc warning in json.cpp. r=waldo 2010-04-01 16:54:03 -04:00
Robert Sayre
c64a283ee1 Bug 554851: MSVC warning C4345 is lame. r=lw 2010-04-01 16:50:57 -04:00
Robert Sayre
8f95952051 Bug 554152: Fix handling of space parameter match final spec. r=waldo 2010-04-01 16:22:49 -04:00
Robert Sayre
904cc3ed9d Bug 554079: JSON.parse should reject control characters. r=waldo 2010-04-01 16:20:35 -04:00
Robert Sayre
842cbb7211 JSON stringify and parse have the wrong length. bug 554082. r=waldo 2010-04-01 16:19:45 -04:00
Luke Wagner
6880c3a6fa Remove JSTreeContext/TokenStream warnings (no bug, r=me) 2010-04-01 12:41:01 -07:00
Jason Orendorff
c9bc8b3c1c Bug 554195 - jsdtoa.cpp should #define MALLOC and FREE. r=jwalden. 2010-04-01 13:50:38 -05:00
Jason Orendorff
d354a0998c No bug: fix visibility warnings in GCC, no_r=me 2010-04-01 11:01:14 -05:00
Nicholas Nethercote
795d4b8ad2 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Nicholas Nethercote
0c54c01325 merge 2010-03-31 16:46:00 -07:00
Nicholas Nethercote
445ae50d22 Bug 555633 - nanojit: rename opcodes in LIRopcode.tbl (TM-specific part). r=jseward. 2010-03-31 16:42:18 -07:00
Nicholas Nethercote
4a236b15e0 Update nanojit-import-rev stamp. 2010-03-31 16:40:30 -07:00
Jason Orendorff
24aa3470aa Bug 556315 part 2 - JSObject::getGlobal() and JSStackFrame::getThisObject(). r=gal.
--HG--
extra : rebase_source : 103e73537d3c2f537a914b69a620136451a664ba
2010-03-31 17:57:03 -05:00
Robert Sayre
1662adce23 Merge. 2010-03-31 15:24:16 -07:00
Robert Sayre
a917a3641e Merge. 2010-03-31 15:22:29 -07:00
Jason Orendorff
33d9cdc537 Bug 556315 part 1 - Remove GCReachableFrame. r=gal.
--HG--
extra : rebase_source : 1db26956cf3f73f1213ab222f4c3ee12637265c5
2010-03-31 17:17:20 -05:00
Nicholas Nethercote
a0e29d2b63 Fix ARM bustage for bug 555633. r=me.
--HG--
extra : convert_revision : be4f098b6cb32f2c2787ef2842402f2b39e0925d
2010-03-31 15:14:28 -07:00
Robert Sayre
f274aba6cd Merge. 2010-03-31 15:13:18 -07:00
Nicholas Nethercote
d701093eb8 Bug 555633 - nanojit: rename opcodes in LIRopcode.tbl. r=edwsmith.
--HG--
extra : convert_revision : e09eec330c04cfbf3da745635c67f2fc3fee6c28
2010-03-31 15:07:50 -07:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre
6512be25c4 Merge. 2010-03-31 08:52:05 -07:00
Robert Sayre
cd70d71b16 Fix merge bustage. 2010-03-31 08:21:07 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Nicholas Nethercote
1b2ab1f779 Don't pointlessly set fslots[JSSLOT_ARRAY_COUNT] to a integer jsval when converting a dense array to a slow array. no bug, r=brendan via IRC. 2010-03-30 20:19:41 -07:00
Nicholas Nethercote
07c2f920b4 Bug 555881 - TM: remove dead fields from TraceMonitor. r=waldo. 2010-03-30 18:06:38 -07:00
Vladimir Vukicevic
5eb972e12f b=555807; typed array native constructor fix; r=jorendorff 2010-03-30 16:43:42 -07:00
Nicholas Nethercote
684396fb91 Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Jeff Walden
ed2243cc54 Remove all remnants of JSTempValueRooter. WIN! 2010-03-30 11:14:47 -07:00
Jeff Walden
2b1daa3fe4 Realign to 64-bit, since pointers won't be sufficient for that on 32-bit systems. 2010-03-30 14:14:47 -07:00
Jeff Walden
6279380ef0 Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong.
--HG--
extra : rebase_source : 2215152cf0f03dbb69e49e9adb49979a72294620
2010-03-29 22:51:52 -07:00
Vladimir Vukicevic
8bf48b9f22 b=555721 - typed array checks; r=jorendorff 2010-03-30 11:55:20 -07:00
Brendan Eich
34b1a91d97 Fix arguments objects to share a runtime-wide empty scope, instead of each getting a differently shaped own scope at birth (554626, r=igor). 2010-03-30 00:44:28 -07:00
Jeff Walden
c8c8503f4e Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) changes for bug 548702, betting the nsJSEnvironment.{cpp,h} changes were the bad ones causing n810 bustage. 2010-03-29 12:24:03 -07:00
Jeff Walden
ed80c98a49 Readd jsdbgapi.cpp, json.cpp, jsopcode.cpp, and jstracer.cpp changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
ba84f1175f Readd ctypes, xpconnect, plugin, xpinstall, canvas, and typed array changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
fbc0da3a62 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden
fa7bcd268b Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden
58232e855c Oops, forgot a necessary change to go with the jsparse changes in the last push. 2010-03-29 16:49:45 -07:00
Jeff Walden
bfbc9141af Readd jsparse.cpp and jsparse.h changes for bug 548702. 2010-03-29 12:03:43 -07:00
Jeff Walden
739d62b244 Readd substantive jsgc.cpp changes for bug 548702.
--HG--
extra : rebase_source : dd4cc7651df4280d1166bf99907f8469e81b006d
2010-03-29 12:03:24 -07:00
Jason Orendorff
b97ec9dd6d Fix busted tests to use reportCompare. no_r=orange.
--HG--
extra : rebase_source : 5d3055655d0c5326d08966c956f2e2d6fcf74e65
2010-03-29 14:57:43 -05:00
Jeff Walden
3e9195e624 Readd jsiter.cpp, jsscript.cpp, jsxml.cpp changes for bug 548702. 2010-03-29 11:36:33 -07:00
Jason Orendorff
e5a722c5a8 Bug 541255 - "Assertion failure: obj->isDenseArray(), at ../jsarray.cpp". r=brendan. 2010-03-29 11:24:42 -05:00
Jason Orendorff
75ca35caf0 Bug 554996 - Eliminate native-ops check before testing property cache. Part 2: tracer. r=gal. 2010-03-29 10:35:38 -05:00
Jason Orendorff
f2073f0251 Bug 554996 - Eliminate native-ops check before testing property cache. Part 1: interpreter. r=gal. 2010-03-29 10:35:16 -05:00
Jason Orendorff
4f1a939ec1 Bug 500431 part 5 - Make js::PropertyCache fields private. r=brendan. 2010-03-26 18:38:33 -05:00
Jeff Walden
d4b28272e8 Readd jsarray.cpp changes for bug 548702. array_sort in particular is a rat's-nest of complexity, so this file's changes are being pushed in isolation from all others. In the interest of getting the tree as pristine for morning, I'm pushing this now and letting it cycle while I sleep -- if it turns anything pretty colors, please back out. Otherwise, look for more in the morning... 2010-03-29 00:02:13 -07:00
Jeff Walden
09969174d8 Readd bug 548702's changes to jsapi.cpp, jsexn.cpp, jsfun.cpp, jsnum.cpp, and jsstr.cpp. 2010-03-28 22:05:50 -07:00
Jeff Walden
560212f1a8 Readd all jsobj.cpp and related changes from bug 548702. 2010-03-28 20:32:20 -07:00
Nicholas Nethercote
475f3125a3 Bug 541030 - nanojit: isconstq() should only succeed for 64-bit integer (TM-specific part). r=dvander. 2010-03-28 18:02:40 -07:00
Nicholas Nethercote
22018b88a0 Update nanojit-import-rev stamp. 2010-03-28 17:48:10 -07:00
Nicholas Nethercote
1125c9c311 Bug 541030 - nanojit: isconstq() should only succeed for 64-bit integer. r=rreitmai.
--HG--
extra : convert_revision : b8fea2e57673f9f2d4e864870d73ee294cabd4bd
2010-03-28 16:49:42 -07:00
Ignore Bukanov
3b3376853d Bug 555338 - preprocessor define to tell when rdtsc is available. r=nnethercote.
--HG--
extra : convert_revision : 673444e26f4810744ff252ee113fd7f0f3d5a7c9
2010-03-28 15:31:53 -07:00
Jeff Walden
d5ecb23728 Readd more of the new rooting scaffolding from bug 548702, without enabling it (except in a side-by-side fashion where the two can both function and coexist). 2010-03-28 13:34:16 -07:00
Jeff Walden
f76c672bfa More mismerging fixes. 2010-03-27 00:04:10 -07:00
Jeff Walden
7b7b7b4bd1 Fix mismerge. 2010-03-26 22:57:23 -07:00
Jeff Walden
34f9abcc39 Merge². 2010-03-26 22:10:39 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Luke Wagner
13df6efbae Bug 555104 - remove JS_ExecuteScriptPart (r=brendan) 2010-03-26 19:37:45 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Jeff Walden
2cef2bed83 Revert strict-aliasing disabling now that n810 has shown not to improve without it. Also change from -Wstrict-aliasing=2 to -Wstrict-aliasing=3; gcc claims the latter gives more precise warnings with fewer mistakes, and I don't think we care that much about it being a little slower, for only the files in SpiderMonkey. 2010-03-26 15:32:35 -07:00
David Anderson
37ae59283b Fixed regression with recursive scripts missing a return (bug 552196, r=gal). 2010-03-26 09:58:33 -05:00
Jason Orendorff
785e3b6713 Bug 500431 part 4 - Encapsulate PropertyCacheEntry::pcval. r=brendan. 2010-03-26 09:01:01 -05:00
Gregor Wagner
d26dffb193 Bug 553682, TM: GC Profiler Part2. r=igor 2010-03-25 16:11:27 -07:00
Gregor Wagner
eec570827d Bug 553682, TM: GC Profiler Part1: Gnuplot script. r=gal 2010-03-25 15:20:34 -07:00
Blake Kaplan
7fa2e3d1ad Bug 555109 - Reparent wrappers harder. r=jst, sr=peterv. 2010-03-31 13:45:46 +02:00
Mitchell Field
f0d15512f1 bug 516758 - Remove more options from configure r=ted 2010-03-30 10:34:00 -04:00
Nicholas Nethercote
12504208c9 Remove dead variable to avoid GCC warning. no bug, r=me. 2010-03-24 20:16:50 -07:00
Nicholas Nethercote
c0a32809f6 Bug 542016 - Remove LIR_addp (TM-specific part). code=edwsmith, r=nnethercote. 2010-03-24 20:16:17 -07:00
Nicholas Nethercote
904ae3526a Update nanojit-import-rev stamp. 2010-03-24 20:13:06 -07:00
Edwin Smith
df5c06910a Cleaned up trailing whitespace (r=me)
--HG--
extra : convert_revision : 6ee8bcd6813ffe98061b8d09317f58138bb41bb7
2010-03-24 20:41:39 -04:00
Edwin Smith
c9c6e235ea replace AvmAssert with NanoAssert everywhere (bug 554549 r=nnethercote+)
Also, remove unused AvmAssert, AvmAssertMsg, and AvmDebugLog from nanojit/avmplus.h

--HG--
extra : convert_revision : aeb486b1d227244e42a9dbc7a9f0a5ba9d84b67b
2010-03-24 20:35:15 -04:00
Edwin Smith
b37a609658 Remove now-dead LIR_iaddp/qaddp/addp (bug 542016, r=nnethercote+)
Simplified the code in CseFilter::ins2() as well since addp was
the only non-cse-able binary operator.

--HG--
extra : convert_revision : 0f21522488fc4a7e3efeaad5c77b6bb96ca0f0fc
2010-03-24 20:08:06 -04:00
Nicholas Nethercote
70b954205a Bug 553518 - nanojit: avoid 'test r,r' where possible on i386. r=edwsmith.
--HG--
extra : convert_revision : ec4d959e1cc9337cf30a08bf75b246516a1728a4
2010-03-24 15:34:34 -07:00
Nicholas Nethercote
36ee148277 merge 2010-03-24 19:32:05 -07:00
Nicholas Nethercote
b3a00b25b6 Follow-up to bug 517910: dslots aren't read-only. r=jorendorff on IRC. 2010-03-24 19:30:47 -07:00
Jason Orendorff
d5f9ef6c2a Bug 500431 part 3 - Rename JSPropertyCache to js::PropertyCache and other renamings. r=brendan. 2010-03-24 21:20:44 -05:00
Jason Orendorff
7cbd94677b Disable js/src/tests/js1_8_1/extensions/regress-466905-05.js which now fails. See bug 554793 for more.
--HG--
extra : rebase_source : 7507438b0fc1b9279a31bda21c2b2e4ae4479ca4
2010-03-24 18:23:34 -05:00
Jim Blandy
87636f5bd9 Bug 552500: Don't bother to dynamically detect stack growth direction. r=waldo 2010-03-24 14:40:11 -07:00
Jason Orendorff
dbf25821e4 Bug 500431 part 2 - Replace macros with inline functions in jspropertycache. r=brendan.
--HG--
extra : rebase_source : efb0e75798145ff1bb64607262345aea67a51290
2010-03-24 16:16:45 -05:00
Jason Orendorff
25153c3c13 Bug 500431 part 1 - Move property cache code to jspropertycache{.h,.cpp,inlines.h}. r=brendan.
--HG--
extra : rebase_source : f7a7bb63bc3cded9452807ecdd0b5b8e8f5b3ff6
2010-03-24 16:16:01 -05:00
Brendan Eich
d29c548901 Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff). 2010-03-24 13:18:55 -07:00
Andreas Gal
06be8164da Public JS API for new ES5 Object functions (551595, r=jwalden). 2010-03-24 12:36:42 -07:00
Julian Seward
363964e03d Bug 531350 - TMFLAGS=fragprofile leads to reading freed memory. r=graydon. 2010-03-23 21:23:40 -07:00
Jim Blandy
e82e0c1ee6 Bug 554102: Cleanup: switch from global TokenStream functions to methods. a=cdleary, r=jimb 2010-03-23 17:30:36 -07:00
Nicholas Nethercote
72e08f9539 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads (TM-specific part). r=gal,dvander. 2010-03-23 16:07:19 -07:00
Nicholas Nethercote
2a65db78fb Update nanojit-import-rev stamp. 2010-03-23 16:00:38 -07:00
Nicholas Nethercote
fac2089f95 Follow-up assertion failure fix for bug 517910. r=me.
--HG--
extra : convert_revision : dfaf13aa4c5928bcd871ac7f279657c87de7b0f9
2010-03-23 15:49:12 -07:00
Nicholas Nethercote
e1753664c8 Update nanojit-import-rev stamp. 2010-03-23 15:28:41 -07:00
Nicholas Nethercote
1b27c99df0 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads. r=edwsmith.
--HG--
extra : convert_revision : 26cbea5a2acdcc6156b4a72b0c40c0d675f69571
2010-03-23 15:05:47 -07:00
Edwin Smith
02b8d2a422 Fix PPC bustage for bug 507089 (r=me)
--HG--
extra : convert_revision : 0a31a14aba7746483fe8ff6b8ab287e1784de846
2010-03-23 15:09:52 -04:00
Nicholas Nethercote
db95288852 ARM bustage fix for bug 507089. r=me.
--HG--
extra : convert_revision : d04d39fadbb5f075d4f60fc7b73d106a39331453
2010-03-22 12:18:47 -07:00
Jeff Walden
40f3195c08 Temporarily disable strict aliasing to check whether that has any relevance to the n810 bustage. 2010-03-23 13:03:15 -07:00
Jeff Walden
2a04976962 Revert symbolizing changes, to see whether optimized+no strict aliasing fixes n810. 2010-03-23 13:03:07 -07:00
Jason Orendorff
f83d80e516 Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:36:06 -05:00
Jason Orendorff
fa2f2a9dfc Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:35:31 -05:00
Luke Wagner
c6f35044f6 Bug 554203 - remove dead code in JSOP_STOP (r=brendan) 2010-03-23 08:58:00 -07:00
Jason Orendorff
fad4cda013 Fix test js1_8_5/regress/regress-533876.js. 2010-03-23 10:03:00 -05:00
timeless@mozdev.org
11d3079664 Bug 552905 - JS_DefineUCFunction seems to be missing a CHECK_REQUEST. r=jorendorff. 2010-03-23 09:41:43 -05:00
Jason Orendorff
60d5805e46 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden.
--HG--
extra : rebase_source : bec4d9441aa2af8488a04aa8604a65b7387cda6d
2010-03-22 18:21:10 -05:00
Jeff Walden
3e1a930003 Zillionth time's the charm. 2010-03-22 22:17:57 -07:00
Jeff Walden
adaaad82af Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal
40734e1d64 more build fun with bug 553541 2010-03-22 20:58:49 -07:00
Andreas Gal
9ab4260761 nobody ever got hurt by too much parenthesis in expressions (build fix follow-up for 553541) 2010-03-22 20:15:08 -07:00
Andreas Gal
372cc56c27 Allocate short strings in the GC heap, avoiding malloc + free (553541, r=igor). 2010-03-22 20:02:07 -07:00
Jeff Walden
1822c9edc8 Sigh, js has its own configure.in that needs identical changes, doesn't it...
--HG--
extra : rebase_source : 4da0033e802042771e0a94f0d5216bafd979bdb4
2010-03-22 18:40:05 -07:00
Blake Kaplan
95202e3175 Bug 542858 - Don't pretend that the complex global object is a function. r=jorendorff 2010-03-22 16:43:08 -07:00
Brendan Eich
139555cb66 Followup fix for 497789: work around apparent gcc 4.4 aliasing bug (r=dvander). 2010-03-22 16:26:28 -07:00
Jeff Walden
76ae0775d7 Fix ARM-only typo in nanojit merge (NB: NOT being simultaneously merged to nanojit-central out of expediency). r=sparky 2010-03-22 11:48:22 -07:00
Brendan Eich
f819b36cf4 Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff). 2010-03-22 11:11:44 -07:00
Luke Wagner
ad69b5f5fb Bug 554043 - fix negated bool, broken by TT_VOID patch (r=dvander) 2010-03-22 10:26:08 -07:00
Nicholas Nethercote
7ae7039dfe Bug 507089 - TM/nanojit: prepare to add get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff. 2010-03-21 20:07:46 -07:00
Nicholas Nethercote
57d156852c Update nanojit-import-rev stamp. 2010-03-21 20:06:52 -07:00
Nicholas Nethercote
fdfdba4936 Fix windows bustage for bug 507089. r=me.
--HG--
extra : convert_revision : 2ad8e20152c94b63d55143199c080c087e987ea9
2010-03-21 19:58:31 -07:00
Nicholas Nethercote
2792ef4bf4 Update nanojit-import-rev stamp. 2010-03-21 19:48:45 -07:00
Nicholas Nethercote
070e390dac Bug 507089 - TM/nanojit: prepare to add get/set methods for CallInfo::_argtypes. r=edwsmith.
--HG--
extra : convert_revision : 55f02d7976752940a9f328d440fb6601ee2dc9f4
2010-03-21 19:47:02 -07:00
Chris Leary
8e0decc494 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-21 16:07:48 -07:00
Nicholas Nethercote
802b04e862 Update nanojit-import-rev stamp. 2010-03-21 15:12:49 -07:00
Nicholas Nethercote
5d4adc4b29 Bug 552374 - nanojit: clean up asm_spill() and friends a little. r=edwsmith.
--HG--
extra : convert_revision : 5806c6f3bf1257fc3142f5eb8718e01071bcbb35
2010-03-21 15:08:03 -07:00
Luke Wagner
1e33f57b39 Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!) 2010-03-18 22:26:47 -07:00
Chris Leary
2400e09e63 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-18 22:15:51 -07:00
Andreas Gal
4f38e87c72 add missing test file for bug 553407 2010-03-18 18:02:35 -07:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Brendan Eich
cd1604d165 Skip test for 503860 until bug 497789 is patched. 2010-03-18 14:43:35 -07:00
Luke Wagner
c5e647b1af Fixed 64-bit LIR type assertion (no bug, rs=dvander). 2010-03-18 13:46:56 -07:00
Luke Wagner
de991387a4 Bug 552586 - split JSVAL_SPECIAL into TT_SPECIAL and TT_VOID (r=dvander) 2010-03-18 12:12:06 -07:00
Andreas Gal
c841a2ef46 Re-seed Math.random() for each window/frame/context (475585, r=waldo,dolske). 2010-03-18 08:27:26 -07:00
Nicholas Nethercote
3a6cdbd6b3 Update nanojit-import-rev stamp. 2010-03-18 11:49:33 +11:00
Nicholas Nethercote
ed67f964ba Yet another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : ba9b07136948b3e1d87c1bc6b1b518f2182bf762
2010-03-18 11:40:37 +11:00
Nicholas Nethercote
3c2a94a6ba Another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 6cb0cf13894a89a41916baa0b45e12b86267c6dc
2010-03-18 11:36:21 +11:00
Nicholas Nethercote
2a1378699e Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 9fb3875862d0d0f8f1c6ffb84566c0bd73a66a46
2010-03-18 11:28:32 +11:00
Josh Matthews
037d47f249 Bug 526793 - Add gczeal() function to xpcshell. r=mrbkap 2010-03-18 13:05:22 +13:00
Nicholas Nethercote
13e08e42b7 Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout (TM-specific part). r=jseward. 2010-03-18 10:53:26 +11:00
Nicholas Nethercote
d1369b80ed Update nanojit-import-rev stamp. 2010-03-18 10:45:57 +11:00
Nicholas Nethercote
7e445d4a01 Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout. r=edwsmith.
--HG--
extra : convert_revision : c844bd17e4a5e66b7913bb534e298088bee3e528
2010-03-18 10:42:30 +11:00
Nicholas Nethercote
5ce0cdcf01 Bug 534310 - nanojit: split asm_quad() into asm_immq() and asm_immf(). r=edwsmith.
--HG--
extra : convert_revision : 04a7a273ac34034a84391f0e9b965220f19200be
2010-03-18 10:21:02 +11:00
Nicholas Nethercote
8d4664b75b Bug 552614 - nanojit: fix AR::Iter::next(). r=rreitmai.
--HG--
extra : convert_revision : 4dd75fe044cc599088bb52ebce8a880528bc05b4
2010-03-18 09:53:06 +11:00
Blake Kaplan
a8dc0c757f Fix warnings. rs=jorendorff 2010-03-17 15:35:06 -07:00
Dan Witte
b972d569cc Bug 555644 - Fix toSource() on ctypes.float types. r=benjamn 2010-04-01 10:59:18 -07:00
Ben Newman
b2366c18ae Bug 554790 - Implement variadic ctypes functions. r=dwitte 2010-04-01 10:47:37 -07:00
Vladimir Vukicevic
a502859e84 b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=gal 2010-03-04 16:49:31 -08:00
Jason Orendorff
a9e5d5980e Bug 480850 - Add JSAPI function JS_New. r=mrbkap.
--HG--
extra : rebase_source : bb808cedea84d20dfa6e2b3ab6d11b5491aa9058
2010-03-17 10:22:13 -05:00
Jason Orendorff
289a8b3513 Bug 530583 - Delete silly JS_INT32_TO_PTR etc. macros. r=jwalden.
--HG--
extra : rebase_source : ccd52d3c33a3fd984fb5588ef12cbf9a6a80c423
2010-03-16 10:41:28 -05:00
Brendan Eich
9f7e919590 Add tests for 503860 to jstests.list. 2010-03-17 12:52:46 -07:00
Brendan Eich
340c3d6ba5 Restore lost rt->protoHazardShape check (503860, r=jorendorff). 2010-03-17 12:41:11 -07:00
Igor Bukanov
6231f35ccd bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Luke Wagner
66fa96ff71 (Fixed assert) Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky) 2010-03-16 21:43:48 -07:00
Bob Clary
b7b64d646f bug 552218 - mark ecma/Date/15.9.5.14.js, ecma/Date/15.9.5.34-1.js, ecma_3/Date/15.9.5.5.js as random on Linux due to DST issues. 2010-03-16 18:07:26 -07:00
Nicholas Nethercote
c8f23f417b Update nanojit-import-rev stamp. 2010-03-17 09:08:13 +11:00
Nicholas Nethercote
8a8418a591 Fix mochitest failures caused by the patch for bug 498193. r=me.
--HG--
extra : convert_revision : c99da00233629d7184224a0a3a8129e248bb86fe
2010-03-17 09:04:22 +11:00
Edwin Smith
8ab25db2b6 Redo X64 asm_fneg to only allocate XMM regs, fix indirect calls, and revert asm_restore to old logic (bug 535706 r=nnethercote+)
The code for indirect calls needed shuffling; we must freeResourcesOf() before
assigning the call address to a register.  The old code was just getting lucky,
and the regstate fixes tickled the latent bug.

asm_restore() can be stricter once we eliminate all cases where an F64 instruction
can be assigned to a GPR.  The only known remaining case is asm_quad which is used
for both LIR_float and LIR_quad, which should be fixed by bug 534310.

--HG--
extra : convert_revision : e46657bf61cade04961da7e8abbb004385aaad7b
2010-03-15 21:52:41 -04:00
Luke Wagner
d5acf90a6f Merge 2010-03-16 14:47:35 -07:00
Luke Wagner
3ecc58b15d Backed out changeset bc5039752e41 2010-03-16 14:47:19 -07:00
Igor Bukanov
90d5fa7237 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-16 21:28:33 +03:00
Luke Wagner
e133b17e2f Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky) 2010-03-16 09:55:45 -07:00
Luke Wagner
81068bf894 Add argv bounds check in js shell's EvalInFrame (no bug, r=me) 2010-03-16 09:45:07 -07:00
Nicholas Nethercote
af2a645261 Fix GCC warning. Follow-up to bug 552248. r=me. 2010-03-16 15:06:04 +11:00
Nicholas Nethercote
3380cbbffc Bug 552582 - TM: remove unused case from FuncFilter. r=gal. 2010-03-16 14:58:52 +11:00
Luke Wagner
116a193009 Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo) 2010-03-15 19:24:08 -07:00
Nicholas Nethercote
677e0286c7 Update nanojit-import-rev stamp. 2010-03-16 12:12:38 +11:00
Nicholas Nethercote
d81a5cc3e9 merge
--HG--
extra : convert_revision : 0f045a5086e77b5117efe257b98c1d1b604b9487
2010-03-16 12:08:18 +11:00
Nicholas Nethercote
ba12853b48 Bug 498193 - nanojit: inline all LirWriter functions. r=gal.
--HG--
extra : convert_revision : 63d6441f969c16fe5c963c5c0c500bef4ce051bc
2010-03-16 12:05:43 +11:00
Edwin Smith
25b61ab75a Fix bustage in _nvprof macro (no bug, r=nnethercote+)
--HG--
extra : convert_revision : 62212ce5b6bbefad34c0924cae9ce1701182f082
2010-03-15 20:57:35 -04:00
Nicholas Nethercote
05202d0996 Don't use DebugBreak() in NanoAssertFail(), it causes Tinderbox problems on Windows. No bug, r=me.
--HG--
extra : convert_revision : 01a6ad4362eedd1e25ec41d050a3e6bfaeaf5707
2010-03-15 16:23:30 +11:00
Chris Leary
431c00210e Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb 2010-03-15 16:42:06 -07:00
Andreas Gal
b4b0219570 Merge. 2010-03-15 16:14:09 -07:00
Andreas Gal
5bea94fbab Backed out changeset 1732da7b3164 2010-03-15 16:13:49 -07:00
Andreas Gal
093f809d06 Allow class of native objects to change (552552, r=jorendorff). 2010-03-15 16:07:28 -07:00
Vladimir Vukicevic
77502e8e24 Backed out changeset 0b28c109c213; r=waldo,dmandelin 2010-03-15 16:03:57 -07:00
Jeff Walden
ee34aa693a Bug 551007 - Make JSScopeProperty::attrs private, hide information behind accessor methods. r=jorendorff 2010-03-08 15:44:59 -07:00
Jeff Walden
e2df507656 Bug 551529 - Remove __count__. r=shaver 2010-03-12 17:09:49 -08:00
Andreas Gal
e7d0ea0449 remove JSTreeContext* parameter from JSCompiler parse methods (landing for dherman, bug 551021, r=jimb). 2010-03-15 14:58:01 -07:00
Nicholas Nethercote
9efa425554 Update nanojit-import-rev stamp. 2010-03-15 12:48:58 +11:00
Nicholas Nethercote
1476fbf23e Bug 551876 - nanojit: fix avmplus.h warnings. r=edwsmith.
--HG--
extra : convert_revision : 9a999bda712986c15b4590e57029b580621ffcf9
2010-03-15 12:30:32 +11:00
Brendan Eich
9718113bc4 Patch from Mats Palmgren for bug 424558 (r=me). 2010-03-14 16:12:47 -05:00
Robert Sayre
e0c72a18bd Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Dan Witte
92a0404005 commit 06a5dd6038d06df968bc1610dccf04c4ad16fe44
Author: Jacek Caban <jacek@codeweavers.com>
Date:   Sat Mar 13 13:23:21 2010 +0100

    Bug 513788 - mingw fix
2010-03-13 11:19:58 -08:00
Robert Sayre
c39c7d7603 Merge. 2010-03-13 13:11:48 -05:00
Robert Sayre
9250bdc7b6 Bustage fix: change ctypes to use finite() and the correct name for tvrs. 2010-03-13 12:59:35 -05:00
Igor Bukanov
73ec17cce7 forcing tinderbox restart to check if MAC xpcshell failure after landing for the bug 519476 persists. 2010-03-13 20:46:15 +03:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Igor Bukanov
6d3a27abc3 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-13 10:01:09 +03:00
David Anderson
265c45fe01 More tracer cleanups (bug 551754, r=lw). 2010-03-12 12:05:36 -08:00
David Anderson
463e990626 Fixed regression with recursion and type unstable frame slurping (bug 551705, r=gal). 2010-03-12 11:47:44 -08:00
Nicholas Nethercote
93befc3c5e Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal. 2010-03-12 17:33:54 +11:00
Nicholas Nethercote
a0e706dd4b Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter (TM-specific part). r=gal. 2010-03-12 15:36:42 +11:00
Nicholas Nethercote
b54ddc33d7 Update nanojit-import-rev stamp. 2010-03-12 15:32:53 +11:00
Nicholas Nethercote
5eddcbaa96 Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter. r=gal.
--HG--
extra : convert_revision : 73a17dbefb346ec569b86ae5f28a56a06297181d
2010-03-11 14:59:45 -08:00
Dan Witte
8ce014db8d Bug 513788 - Revise js-facing API for js-ctypes. Followup to refactor common patterns. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte
88bd7328a3 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting in usages of JS_GetProperty and
friends. r=jorendorff
2010-03-12 17:17:13 -08:00
Dan Witte
56fd91773b Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix PointerType serialization. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte
67d63e9fda Bug 513788 - Revise js-facing API for js-ctypes. Followup to implement array and struct size overflow
tests. r=jorendorff
2010-03-12 17:17:12 -08:00
Dan Witte
d695490da0 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting bugs. r=jorendorff 2010-03-12 17:17:12 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
timeless@mozdev.org
643a7b230b Bug 551088 fix xpconnect signed warnings
r=dbradley

--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org
422c4d280c Bug 187796 make unimplemented constructors in mozJSComponentLoader.cpp private
r=dbradley

--HG--
extra : rebase_source : 11c1d83d14854f124ddb6342cad99a01f84e8673
2010-03-12 07:50:10 +01:00
Igor Bukanov
ede86c56d9 Bug 536306 Crash [@ checkReportFlags ] occurs when loading Eventbug and Selenium IDE
r=jorendorff

--HG--
extra : rebase_source : 5cc4b4b70811b05a3f7088eddfa0d699184060ef
2010-03-12 07:50:10 +01:00
timeless@mozdev.org
159260b382 Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy
fix jsd for quickstubs
r=jorendorff

--HG--
extra : rebase_source : 345b8c19b67524dcc632689021a981a944d5ba45
2010-03-12 07:50:10 +01:00
Dan Witte
edb9157850 Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte
10a9e0f584 Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte
81ec574b6e Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Nicholas Nethercote
62c45aa35a Fix another WinNT compiler warning. No bug, r=me.
--HG--
extra : convert_revision : ddc0ce7b1670cbbad7aa4505696a71c3613e3324
2010-03-06 09:14:31 +11:00
Nicholas Nethercote
19e00905b7 Fix WinNT compiler warnings. No bug, r=me.
--HG--
extra : convert_revision : de5746d49dcf5073c9f37c35b2a810c7f77bc8d0
2010-03-05 17:44:28 +11:00
Rick Reitmaier
7c80afcc4e Bug 546660 - Clean up mess around LINUX, AVMPLUS_LINUX, __linux__ (r+nnethercote) [kpalacz]
Gcc defines linux on linux, other compilers are supported to the
extent that they emulate gcc's behavior

--HG--
extra : convert_revision : 6bb42c345395fb0a6f779723157f5e43d6669016
2010-03-04 12:35:45 -08:00
Leon Sha<leon.sha@sun.com>
3ef7ef245b Bug 547232 - solaris nanojit compiler error LIR_qcmov is not defined. r=stejohns
--HG--
extra : convert_revision : 3b1d24a51ce4d9fd3fb37ca5d2394f4816763a23
2010-03-02 12:24:17 +08:00
Luke Wagner
510429ab11 Silence jsvector.h strict-aliasing warning 2010-03-11 17:59:30 -08:00
David Mandelin
a96f860128 Bug 549509 followup: fix macrology to make sure no warnings occur per brendan's bug comment, no_r=me 2010-03-11 16:32:28 -08:00
Dave Herman
eff925b1f0 Make the parsing methods members of JSCompiler for bug 518055. r=jimb 2010-03-11 17:28:01 -05:00
David Anderson
f5c8a2d251 Merge. 2010-03-11 12:19:51 -08:00
David Anderson
564824e65a Backed out changeset 04023ea0fb08. 2010-03-11 12:19:36 -08:00
David Anderson
f1b0597661 Merge. 2010-03-11 12:19:18 -08:00
David Anderson
5ec93e220c Backed out changeset 887a3e05324c. 2010-03-11 12:15:21 -08:00
David Anderson
05b6c5fc13 Merge. 2010-03-11 11:41:14 -08:00
David Anderson
3a082d612b Fixed warnings from the tracer oracle (no bug, rs=brendan). 2010-03-11 11:40:44 -08:00
Brendan Eich
20a8cdf89b lightweight JSParseNode subclasses (bug 550350) 2010-03-11 11:29:21 -08:00
Mike Moenig
2b408683cd Allow custom allocator use in SpiderMonkey (bug 549532, r=dvander). 2010-03-10 21:02:18 -08:00
Luke Wagner
9971404eca Fix bustage on opt/NSPR builds 2010-03-10 15:48:53 -08:00
Luke Wagner
a1a73dd94d Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Boris Zbarsky
2b44ad8323 Bug 551533. Use StringMatch in find_split instead of rolling our own search. r=lw 2010-03-10 18:28:44 -05:00
Boris Zbarsky
1ae8bf1009 Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
David Anderson
6d584e62ed Clean up useless variables/params in the tracer. (bug 551100, r=lw) 2010-03-09 18:52:56 -08:00
Jeff Walden
c67d68c20e Further bustage fixing 2010-03-09 17:44:16 -08:00
Jeff Walden
ace03add6c More bustage fix, sigh 2010-03-09 15:38:41 -08:00
Jeff Walden
f0d10aeadd Fix up some class names in comments, r=sparky 2010-03-09 15:23:53 -08:00
Jeff Walden
c723d157a5 Bustage fix, r=redness 2010-03-09 15:07:38 -08:00
Jeff Walden
570eb3ecf8 Bug 538690 - js::AutoValueVector for auto-managed rooting and storage of an indefinite number of jsvals. r=igor 2010-03-01 14:46:15 -08:00
Blake Kaplan
387907ce9f Bug 515496 - Eliminate extra security check when computing this. r=jorendorff. 2010-02-11 17:04:42 -08:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Brendan Eich
fbecd311a0 Remove excessive braces; nuke else after return. 2010-03-09 14:29:50 -08:00
Boris Zbarsky
19a7e9b481 Bug 551118. Reuse string-to-number code and fix bug with negative hex in strings being treated as a negative integer. r=brendan 2010-03-09 17:21:32 -05:00
Chris Leary
a5a35ca3be Bug 550643 - Minor improvements to parsemark.py. r=jorendorff. 2010-03-08 18:22:44 -06:00
David Anderson
b8e9325d42 Trace recursion when the return keyword is omitted (bug 530900, r=gal). 2010-03-08 10:28:08 -08:00
Nicholas Nethercote
3e03ef3a42 Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw. 2010-03-08 16:11:59 +11:00
Nicholas Nethercote
f7c713fc2d Bug 550654 - TM: removed dead 'inner_sp_ins' variable. r=dvander. 2010-03-08 08:09:35 +11:00
Luke Wagner
f6385a89c7 Comparison operator for HashTable Ptr (no bug)
--HG--
extra : rebase_source : 2d64c307f6a524066d0a4cb66c66a5b4cd48d83d
2010-03-05 11:55:42 -08:00
Chris Leary
06b4d618a7 Bug 548621 - Create suite of tests for JS parsing speed. r=jorendorff. 2010-03-05 16:47:24 -06:00
Chris Leary
82a9895df9 Bug 549971 - Add compile() function to JS shell. r=jorendorff. 2010-03-05 16:42:06 -06:00
Jason Orendorff
bfaa2dc218 In case of OOM in DEBUG build, don't crash. No bug, rs=jwalden via IRC.
--HG--
extra : rebase_source : c08508a93d1c1a98606dc1c7c8d9c08c57e17cad
2010-03-05 16:29:44 -06:00
David Mandelin
71634c4850 Bug 549509: jsval representation profiling, r=lw
--HG--
extra : rebase_source : e0e6c19db20d2e469066b5f9433c96c05bbff1c1
2010-03-05 11:45:28 -08:00
Jason Orendorff
ec9c7fcca7 New test for long-fixed bug 500528. We were about to re-introduce it in bug 497789! r=test coverage is good. See bug 497789 comments 78-79. 2010-03-05 09:05:12 -06:00
Igor Bukanov
9d1cbd468c bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Luke Wagner
7be2f8f3f2 Silence MSVC warning about no default assignment operator (r=me) 2010-03-04 23:30:28 -08:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
David Mandelin
5860e3e1f3 Bug 550352: make check-string-tagcloud more robust, r=lw 2010-03-04 17:03:53 -08:00
Luke Wagner
fdc3899884 Bug 543057 - Drop the Script object (r=brendan) 2010-03-04 00:33:57 -08:00
Luke Wagner
a87d51a58a Loosen check-math-partial-sums for floating error (r=dmandelin) 2010-03-04 16:32:06 -08:00