Commit Graph

9740 Commits

Author SHA1 Message Date
Nicholas Nethercote
787502bbde Update nanojit-import-rev stamp. 2010-08-03 20:48:34 -07:00
Andreas Gal
00c966f8e3 Bug 580534 - implement LIR_cmovd. r=nnethercote.
--HG--
extra : convert_revision : 186f3f376d662375ff9182cf0b470468335ef442
2010-08-03 20:39:21 -07:00
David Anderson
784866e48c [JAEGER] Eagerly initialize Function, Object classes before compiling (bug 582286, rs=brendan). 2010-08-03 19:18:05 -07:00
David Anderson
6754f67b7a [JAEGER] Fixed warning in MonoIC.cpp. 2010-08-03 18:15:50 -07:00
Brian Hackett
469c730371 Fix regression, bug 584199. r=dvander 2010-08-03 18:11:25 -07:00
David Mandelin
bf22d2227a [JAEGER] Bug 583946: don't doubly mark free a pinned register that was stolen during immutable syncing, r=dvander 2010-08-03 17:42:04 -07:00
Brian Hackett
b39b52a99a [JAEGER] Add native call MICs, bug 578912. r=dvander 2010-08-03 17:31:21 -07:00
David Anderson
fbe184bfeb [JAEGER] Added missing test-case for bug 583689. 2010-08-03 16:36:50 -07:00
David Anderson
8ed1354d84 [JAEGER] Fixed crash bug in tracer integration (bug 583689). 2010-08-03 16:36:04 -07:00
David Anderson
6505f56119 [JAEGER] Fixed uninit var warning. 2010-08-03 16:27:08 -07:00
Alan Pierce
91aa99b486 [JAEGER] Reland bug 576934: special-case parseInt(double) in num_parseInt, r=dvander 2010-08-03 15:47:58 -07:00
David Anderson
48b5a4d82a [JAEGER] ScopeNameCompiler didn't check for property existence (bug 583688). 2010-08-03 15:04:50 -07:00
Bill McCloskey
969b3d151b Bug 580931: handle null passed to js_GetPrimitiveThis, r=jorendorff 2010-08-03 14:30:33 -07:00
Andrew Drake
335f853868 [JAEGER] :FIXME: :TODO: :XXX: :URGENT: re-patch type guard r=dvander, b=583680 2010-08-03 13:47:40 -07:00
Brian Hackett
5ab7972159 Fast native constructors, bug 579471. 2010-08-03 12:20:48 -07:00
Andrew Drake
99fbe463df [JAEGER] Don't make the GC sad in the middle of compilation. r=dvander, b=583675 2010-08-02 22:50:00 -07:00
Sean Stangl
7fcc3c72ec [JAEGER] Move DBGLABEL definition to CodeGenIncludes.h.
The definition is not useful only for PIC asserts.
2010-08-02 20:36:18 -07:00
David Mandelin
3b5036d774 [JAEGER] Bug 583915: set correct slow path start for getelem pics, r=dvander 2010-08-02 18:22:22 -07:00
David Anderson
941362741c [JAEGER] Merge. 2010-08-02 18:29:10 -07:00
Andrew Drake
004ffe87f1 [JAEGER] Don't try to PIC JSOP_NAME for global setters or getters. r=dvander, b=583692 2010-08-02 18:24:17 -07:00
David Anderson
85b14f8f77 [JAEGER] Fixed regression for non-tracer builds. 2010-08-02 18:15:50 -07:00
David Anderson
69d03d11e9 [JAEGER] Fixed regression in tracer integration. 2010-08-02 17:31:22 -07:00
David Anderson
bfe8c0a315 [JAEGER] Fixed bug in tracer integration where frame popping could return undefined.
--HG--
extra : rebase_source : 15b8bd87a4f8a8ba30b1e9a4cb919e06300bbaf4
2010-08-02 17:22:13 -07:00
David Mandelin
2aeb7a7391 [JAEGER] Bug 583873: sync on all branches to getelem PIC slow path, r=dvander 2010-08-02 15:35:55 -07:00
David Mandelin
5f95f51478 Merge. 2010-08-02 15:55:50 -07:00
David Mandelin
d7f6c4209b Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
David Anderson
6358aba3e4 [JAEGER] Fixed uncopy() breaking copy invariants (bug 583684, r=sstangl). 2010-08-02 15:52:49 -07:00
Dave Herman
f5415ad358 bug 582999, r=gal: putstr function for JS shell 2010-08-02 15:02:15 -07:00
Jason Orendorff
5534502a01 Bug 583850 - Assert that certain security checks in the JS engine never fail. r=mrbkap. 2010-08-02 16:38:46 -05:00
Jason Orendorff
652b4f196b Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap.
--HG--
extra : rebase_source : d41e97b9ec4367ed4eb1f28a082571f37a9696e2
2010-08-02 15:59:06 -05:00
Sean Stangl
7d356d5f07 [JAEGER] Remove undefined store optimization for SetProp. b=583672, r=dvander. 2010-08-02 11:39:24 -07:00
Jason Orendorff
8ed74ae25b Fix two MSVC warnings. no_r=me. 2010-08-02 09:44:24 -05:00
Jacek Caban
faaaf8264b Bug 580904 - remove jsval_layout.debugView in mingw-w64 r=lw 2010-08-02 12:01:22 +02:00
Jacek Caban
37c9c36c36 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-08-02 11:59:50 +02:00
Jacek Caban
29531fc3b8 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-08-02 11:58:44 +02:00
David Anderson
d827d4b596 [JAEGER] Random search algorithm for finding tracing optimums. 2010-08-01 23:55:36 -07:00
Dave Herman
21f32eaeb6 bug 583281, r=khuey: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-08-01 22:42:41 -07:00
Sean Stangl
1192e18172 [JAEGER] Assert correctness for inline caches. b=583532, r=dvander.
Previously, offsets into bytecode were calculated manually
by case observation. However, the bytecode length may vary.
We assert that the hardcoded values are correct.
2010-08-01 22:34:23 -07:00
Luke Wagner
49550f19b6 Bug 581747 - Remove JSOP_CONCATN. Good-night, sweet prince. (r=waldo) 2010-08-01 21:54:09 -07:00
Sean Stangl
c8ae808f02 [JAEGER] MonoIC support for x86_64. b=578245, r=dvander. 2010-08-01 18:31:50 -07:00
Nicholas Nethercote
bfc11c41de Bug 582766 - JIT vastly slows down Data Manager (let in .nextSibling loop makes TM loop way too often). r=dvander. 2010-08-01 18:03:12 -07:00
David Anderson
a5dd0204ab [JAEGER] Merge. 2010-08-02 15:31:47 -07:00
David Anderson
9153716887 [JAEGER] Improve trace point coverage. 2010-08-02 15:31:26 -07:00
David Anderson
1a125b3442 [JAEGER] Merge. 2010-08-02 11:55:59 -07:00
David Anderson
b0e3e8c7ff [JAEGER] Add instrumentation for v8-deltablue. 2010-08-02 10:49:14 -07:00
David Anderson
b4effc041b [JAEGER] Finished instrumentation for v8-crypto. 2010-08-02 10:40:33 -07:00
Nicholas Nethercote
e06b7385ea Bug 582766 - JIT vastly slows down Data Manager (let in .nextSibling loop makes TM loop way too often). r=dvander. 2010-08-01 18:03:12 -07:00
Bob Clary
7faee100e4 bug 583155 - reduce log noise from jsreftest in the browser, r=mrbkap,jorendorff. 2010-08-05 07:14:34 -07:00
Igor Bukanov
e48bf454d2 bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor 2010-08-05 14:16:56 +02:00
Chris Leary
c4e96f6d5e Bug 583868: increase heap size to avoid V8 OOM in shell. (r=anygregor) 2010-08-04 16:23:49 -07:00
David Anderson
05cf227d95 [JAEGER] Exhaustive search for integration optimum.
--HG--
rename : js/src/metrics/jint/preprocess.py => js/src/metrics/jint/treesearch.py
2010-08-01 16:18:59 -07:00
Robert Sayre
94a5ae0e6e Merge relanding of bug 577648 and bug 582479. 2010-08-01 09:59:36 -07:00
Robert Sayre
a72794c86d Reland Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction(). 2010-08-01 09:59:02 -07:00
Robert Sayre
898b0d6094 Merge 2010-08-01 09:58:16 -07:00
Robert Sayre
250c59eece Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
e934a9cb50 Merge. 2010-08-01 09:57:13 -07:00
Robert Sayre
eebc988390 Reland bug 577648 tests. 2010-08-01 09:57:01 -07:00
Kyle Huey
934e198a7e Sync js/src/config/ and config/ build files from silly mistakes on my part on this CLOSED TREE 2010-08-01 03:14:05 -07:00
Kyle Huey
353f0f4dfb Fixing typos on a CLOSED TREE 2010-08-01 02:32:15 -07:00
Kyle Huey
6cabbd4fed Bug 522770: Followup to turn on fakelibs only on Windows since gcc is dumb, even on a CLOSED TREE 2010-08-01 02:12:17 -07:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
David Anderson
82d71ba7b4 [JAEGER] Reverted accidental test changes. 2010-07-31 18:59:53 -07:00
David Anderson
3669a18d8b [JAEGER] Add diagnostic tool for trace JIT tuning. 2010-07-31 18:58:53 -07:00
Robert Sayre
b90c702db2 Remove tests associated with backouts. 2010-07-31 14:19:00 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Robert Sayre
fcd927ce28 Back out changeset c877176cbbed in order to get Windows compiling. (Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction().) 2010-07-31 13:17:20 -07:00
Robert Sayre
6bf99d92ea Merge backout. 2010-07-31 11:16:52 -07:00
Robert Sayre
90cb325bbf Backed out changeset af011e92ad0b. (Dave Herman – bug 583281, r=jimb: njs should get symlinked into objdir). This doesn't build on windows. 2010-07-31 11:16:38 -07:00
David Mandelin
09a44c39fb Bug 583402 followup: use correct new freeslot 2010-07-30 18:52:54 -07:00
Sean Stangl
38edabf198 [JAEGER] Fix typeCheckOffset warning. r=dvander. 2010-07-30 17:25:01 -07:00
David Anderson
a131b38d59 [JAEGER] Fixed warning in MonoIC.cpp. 2010-07-30 17:20:41 -07:00
David Mandelin
103991fb43 Bug 583402: fix loop in js_ClearNative 2010-07-30 16:33:07 -07:00
Dave Herman
1cd082cba6 bug 583281, r=jimb: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-07-30 15:17:14 -07:00
David Mandelin
acc73fdede Bug 583382: reset pics to correct stub, r=dvander 2010-07-30 15:01:08 -07:00
David Anderson
a172933d9b [JAEGER] Fixed DEFVAR using old, invalid GVAR optimization (bug 580883). 2010-07-30 14:53:07 -07:00
David Anderson
b64eb3c2bb [JAEGER] Fixed syncing in JSOP_DIV (bug 582276). 2010-07-30 12:18:48 -07:00
Zack Weinberg
788b4d617f Bug 568863: Add a scriptable interface to operating-system performance measurement APIs (Linux only for now). r=cjones,waldo,mitch a2.0=bz
--HG--
rename : toolkit/components/ctypes/Module.cpp => toolkit/components/ctypes/ctypes.cpp
rename : toolkit/components/ctypes/Module.h => toolkit/components/ctypes/ctypes.h
2010-07-30 12:17:56 -07:00
Chris Leary
460cdeaae5 Rename displaySave member of the stack frame to padding. (r=luke) 2010-07-30 11:57:03 -07:00
David Anderson
04fb4874c7 [JAEGER] Fixed slow path not rejoining when left shifting by zero (bug 583158). 2010-07-30 11:55:33 -07:00
David Anderson
1b40801677 [JAEGER] Relax offset bitfield in PolyIC (bug 583160). 2010-07-30 11:30:29 -07:00
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
Luke Wagner
facb1029e6 Bug 579183 - loosen-up StackSegment invariants - part 4 - StackSpace (r=waldo)
--HG--
extra : rebase_source : ef600f1185199cf65e251325995f772170502cca
2010-07-30 10:40:58 -07:00
Jason Orendorff
6972003bf8 Delete obsolete comment. no_r=me.
--HG--
extra : rebase_source : 8b9b7408c0efd682a5f11f827fca2d2304e0a4a3
2010-07-30 10:21:11 -05:00
Ginn Chen
7a935c4faf Bug 568782 add #ifdef SOLARIS for mmap/munmap changes r=igor 2010-07-30 18:51:58 +08:00
William Maddox
356836d1b5 Bug 570276 - Fix code generation for address load on SPARC (r=leon.sha+)
Special case code for LEA formerly fell through to the general case,
resulting in generation of redundant "junk" code.

--HG--
extra : convert_revision : 639cf2aa65734e43194b8b62f4c95f462c918cf0
2010-07-29 19:10:27 -07:00
David Anderson
8adb6cdddb [JAEGER] Put conservative marker in JSTracer, rather than GCMarker (bug 583149). 2010-07-29 18:46:45 -07:00
David Anderson
ba8c0b526c [JAEGER] Fixed tracer integration illegally re-pushing fp->rval (bug 583124). 2010-07-29 17:25:13 -07:00
David Anderson
55ea4cfe6b [JAEGER] Merge. 2010-07-29 17:13:27 -07:00
David Anderson
9621bf247c [JAEGER] Conservatively scan the JS stack (bug 583084, GC changes r=gregor). 2010-07-29 17:13:08 -07:00
Boris Zbarsky
0d44d3fad5 Bug 586204. Remove pointless null-check. r=peterv, a=bsmedberg 2010-08-11 17:05:28 -04:00
Michael Wu
2abb47c1f1 Bug 556644 - 4. Fix tests, r=bsmedberg a=blocking2.0
--HG--
rename : caps/tests/mochitest/test_bug292789.html => caps/tests/mochitest/test_bug292789.html.in
2010-08-10 15:18:40 -07:00
Oleg Romashin
8144f44a16 Bug 584727 - contentaction.h system-header is missed. r=doug.turner 2010-08-10 12:53:17 -07:00
Steven Michaud
864fe41a26 Bug 581573 - Trunk builds fail when using --enable-cpp-rtti. r=gal a=bsmedberg 2010-08-10 11:31:06 -05:00
David Mandelin
f5adc34f1a [JAEGER] Modify js1_8\extensions\regress-422269.js so that it tests what it is trying to test in JM 2010-07-29 16:22:59 -07:00
David Mandelin
81fa828c0f [JAEGER] Disable failing part of js1_8\regress\regress-384412.js for now. 2010-07-29 16:09:35 -07:00
David Mandelin
365350997e [JAEGER] Bug 583091: fix handling of andx/orx in the bytecode analyzer, r=dvander 2010-07-29 16:07:27 -07:00
David Mandelin
b32d066107 [JAEGER] Bug 582411: Make JM throw an exception setting undefined global vars in strict mode, r=dvander
--HG--
extra : rebase_source : 6ee3399c7f4ffadab34765a4bf3c2ccaa4c8c1f2
2010-07-29 16:04:54 -07:00
Luke Wagner
bbea6273e3 Bug 579183 - loosen-up StackSegment invariants - part 3 - renaming (r=waldo)
--HG--
extra : rebase_source : 3adc886f47b9e0ae77e33cbe15dec9d831576266
2010-07-29 14:43:11 -07:00
David Anderson
8d5dc1764d [JAEGER] Fix torn values in ImmutableSync (bug 582882). 2010-07-29 14:24:29 -07:00
David Anderson
1b797f77b4 [JAEGER] Fix INSTANCEOF (merge fallout). 2010-07-29 14:19:08 -07:00
David Anderson
1a31b84af7 [JAEGER] Fixed some x64 merge fallout. 2010-07-29 13:54:44 -07:00
David Mandelin
7aa510d435 [JAEGER] Missing internal API change from previous merge. 2010-07-29 13:38:31 -07:00
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
David Anderson
f48600ff4f [JAEGER] Fixed copyDataIntoReg() not invalidating on uncopy (bug 582884). 2010-07-29 12:14:39 -07:00
David Anderson
8e12d36c0a [JAEGER] Merge. 2010-07-29 11:49:03 -07:00
David Anderson
cdef4d6be0 [JAEGER] Fixed assumption about copies which is broken by let expressions (bug 582897). 2010-07-29 11:48:47 -07:00
Chris Leary
8a27ed96a8 Bug 582899: JM: Disable PICs during proto-chain walk if non-JS-native encountered. (r=dvander)
--HG--
extra : rebase_source : 852340ee558dd9e465f022ca1e7912f7b5273053
2010-07-29 11:37:38 -07:00
David Anderson
53496ea9d7 [JAEGER] Merge. 2010-07-29 11:36:00 -07:00
David Anderson
8da8334737 [JAEGER] Fixed constant folding bug in LOCALINC (bug 582898). 2010-07-29 11:35:33 -07:00
Chris Leary
ce1ea451a1 Bug 582900: JM: Missing rsh type set. (r=dvander) 2010-07-29 11:32:36 -07:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
Igor Bukanov
4eff9db05f bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
Jason Orendorff
3e23944c3b Fix MSVC warnings about class JSFunction. no_r=me. 2010-07-29 08:08:23 -05:00
Jason Orendorff
566beedf1f Remove extra backslashes. no_r=me. 2010-07-29 08:06:32 -05:00
Andrew Drake
5be4d3eedb [JAEGER] Add support for PUSHA/POPA/emulation for X86/X86_64 to masm. 2010-07-29 01:36:31 -07:00
David Anderson
3b3499e173 [JAEGER] Merge. 2010-07-28 18:18:51 -07:00
David Anderson
d3dc737c16 [JAEGER] Define gczeal in trace-tests to an empty function, when not present, for opt builds. 2010-07-28 18:18:36 -07:00
David Mandelin
1467de97e7 [JAEGER] Backout merge. 2010-07-28 18:17:42 -07:00
David Mandelin
60d30c1178 Backed out changeset 71d776c0ec08 -- this modified some tests to disable an
old syntax, but we are keeping that syntax for now.
2010-07-28 18:17:17 -07:00
David Mandelin
d8f5b969ca [JAEGER] Bug 582449: remove unneeded slow path to prevent us from falling through and calling functions twice, r=dvander 2010-07-28 18:13:13 -07:00
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Chris Leary
8089ea803d Bug 578517: JM: double >> int fast path. (r=dvander) 2010-07-28 15:40:31 -07:00
David Anderson
d1269a00d4 [JAEGER] Improve performance of loading doubles (bug 582152). 2010-07-28 14:32:39 -07:00
Brian Hackett
e56731d546 JM: OOL fast path for setting array holes, bug 580355 2010-07-28 13:07:26 -07:00
David Anderson
211b338724 [JAEGER] Merge fallout, use JSSLOT_DENSE_LENGTH_CAPACITY instead of dslots[-1]. 2010-07-28 12:40:36 -07:00
David Mandelin
a73ecdeee1 Merge from Tracemonkey. 2010-07-28 11:16:36 -07:00
Gregor Wagner
c026160d8e Bug 582471 - TM: followup for Bug 579100 (r=igor) 2010-07-28 10:48:28 -07:00
Luke Wagner
dd44050eb2 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-28 09:54:14 -07:00
Robert Sayre
909914ff10 Merge backout. 2010-07-29 18:15:03 -07:00
Robert Sayre
c7bd912564 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Edwin Smith
06143a5acb Fixed initialization of Assembler::nHints (bug 581702, r=nnethercote+)
--HG--
extra : convert_revision : d8dccd548db136e88ea1a8be0627088b6a78cc78
2010-07-28 11:24:25 -04:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Jacek Caban
f504194cd6 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith
--HG--
extra : convert_revision : 85b2cf98c09be7ba490c85f2ffcf8dd38cfa4929
2010-07-28 13:44:01 +02:00
Jacek Caban
ea42f28b0d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : convert_revision : bb90a35c6382aeb519a789e1f018d52000a4d6fe
2010-07-28 13:40:37 +02:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Neil
5846822884 Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte 2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547 Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking 2010-08-03 14:01:47 -07:00
Jeff Walden
7b1b9cb9db Fix trace-test bustage from bug 583925. r=smokeythebear 2010-08-03 08:26:20 -07:00
Jim Blandy
0201054fcc Bug 583925: parseInt should not depend on its caller's strictness. r=waldo 2010-08-02 18:04:29 -07:00
Sean Stangl
e339d4e92f [JAEGER] x86_64 masm: do not swap into %eax for loads, stores. 2010-07-27 21:35:13 -07:00
Sean Stangl
dd89f414c2 [JAEGER] Introduce JS_NUNBOX32, JS_PUNBOX64 defines. r=dvander. 2010-07-27 18:26:57 -07:00
Andrew Drake
ec2419a1db [JAEGER] Add interrupt check to function calls. r=dmandelin, b=582419 2010-07-27 18:00:02 -07:00
David Mandelin
fba2c79282 [JAEGER] Bug 582449: remove obsolete regexp syntax from test cases 2010-07-27 17:44:26 -07:00
David Mandelin
00f96529d9 [JAEGER] Trying to get rid of build bustage and strict aliasing warnings surrounding usage of JS_ATOMIC_SET_MASK 2010-07-27 17:30:19 -07:00
David Mandelin
2a664efa82 [JAEGER] Bug 582268: add lhs-is-constant specialization to mod check for negative zero result, r=dvander 2010-07-27 17:14:04 -07:00
David Mandelin
76163eaed4 [JAEGER] Bug 582429: fix stubs::GetElem handling of negative indices to match jsinterp.cpp, no_r=me 2010-07-27 17:06:36 -07:00
David Anderson
269487046d [JAEGER] Merge. 2010-07-27 16:58:47 -07:00
David Anderson
433eea0e1c [JAEGER] Fixed syncing bugs when comparing doubles (bug 582392). 2010-07-27 16:57:39 -07:00
David Mandelin
6bc3cc34bf [JAEGER] Bug 582423: use unsigned shift for string length stub, no_r=me 2010-07-27 16:47:01 -07:00
David Mandelin
490de59ddd [JAEGER] Fix MSVC warnings. 2010-07-27 14:44:25 -07:00
David Mandelin
377329cf14 [JAEGER] Make the jsreftest shell suite actually run in methodjit mode 2010-07-27 14:42:09 -07:00
David Anderson
7ff58771b6 [JAEGER] Merge. 2010-07-27 14:32:43 -07:00
David Anderson
21ffa0531f [JAEGER] Fixed EQ/NE with non-int32 known types (bug 582185). 2010-07-27 14:32:03 -07:00
Sean Stangl
22e444cff1 [JAEGER] Fix x86_64 strict aliasing warnings again.
The last merge with TraceMonkey blew away these changes.
2010-07-27 14:19:10 -07:00
Andrew Drake
fecdab5ba0 [JAEGER] Fix segfault adding upvars when eval is present. r=dvander, b=582279 2010-07-27 13:41:42 -07:00
David Mandelin
da52d7c98c [JAEGER] Fix MSVC warning. 2010-07-27 12:21:14 -07:00
David Mandelin
e650554a3a [JAEGER] Bug 582143: don't use int32 negation on MIN_INT, r=dvander
--HG--
extra : rebase_source : 545d1acee88fc383928548d1ca03253916593c66
2010-07-27 12:19:09 -07:00
Luke Wagner
247c0a1b9f [JAEGER] Add empty op to js::Interpret
--HG--
extra : rebase_source : ad4737763fdd7d7a68ca26d7baa9c26f6805d4a2
2010-07-27 12:09:07 -07:00
Luke Wagner
271d6b6562 Bug 579183 - loosen-up StackSegment invariants - part 2 - xpconnect (r=mrbkap)
--HG--
extra : rebase_source : af3a68294495984e06db7c73a84e444f12c97a8d
2010-07-26 19:49:27 -07:00
Luke Wagner
c9c381b11c Bug 579183 - loosen-up StackSegment invariants - part 1 - decompiler (r=brendan)
--HG--
extra : rebase_source : 77f1977e20773431266c7794b6cf8a2595b1c8f2
2010-07-30 14:49:29 -07:00
David Mandelin
eccb347f74 [JAEGER] Bug 528129: correct equality comparison on two undefined values, r=dvander 2010-07-26 18:02:13 -07:00
David Mandelin
904ccc994c Merge from Tracemonkey. 2010-07-27 11:48:08 -07:00
Jan de Mooij
976053d03c [JAEGER] Fast-path for ValueToBoolean with ints (bug 579527, r=dvander). 2010-07-27 11:14:57 -07:00
Andrew Drake
5622b86554 [JAEGER] Fix incorrect use of return value of setter. r=dvander, b=580712 2010-07-27 01:12:37 -07:00
Sean Stangl
01f70eadcb [JAEGER] Use scratchRegister to swap on x86_64. Don't use XCHG. XCHG is slow. 2010-07-26 19:04:41 -07:00
David Anderson
9a12ccc5e5 [JAEGER] Fast-path for comparing doubles (bug 579225). 2010-07-26 18:12:51 -07:00
David Mandelin
45c205f566 Bug 582084: make sure int tags get written on fast path of globalinc, r=dvander 2010-07-26 17:59:40 -07:00
Sean Stangl
efe74a5af3 [JAEGER] Implement punbox Value -> {Type,Payload} conversion helpers. 2010-07-26 16:05:50 -07:00
David Mandelin
882f581f03 [JAEGER] Bug 582039: deoptimize globals if the initial var object is not the global object, r=dvander 2010-07-26 14:36:32 -07:00
David Mandelin
977f07340e [JAEGER] MSVC build fix, probably fallout from today's merge from TM. 2010-07-26 14:24:31 -07:00
David Anderson
fda084345f [JAEGER] Merge. 2010-07-26 11:57:01 -07:00
David Anderson
d231b7a841 [JAEGER] Merge. 2010-07-26 11:56:45 -07:00
David Anderson
914b19b17c [JAEGER] Fixed new arithmetic fast-paths not OOL syncing properly (bug 581936). 2010-07-26 11:56:30 -07:00
David Mandelin
fff17561b9 [JAEGER] Fixed a few warnings 2010-07-26 11:54:12 -07:00
David Mandelin
8702c2649d Merge from Tracemonkey. 2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Jacob Bramley
284942704b [JAEGER] Fix ARM build. [No bug] [r=me] 2010-07-26 09:44:41 +01:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Igor Bukanov
fc98a499af bug 583404 - backport of fix from David for JM branch. 2010-07-31 11:42:28 +02:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
fdb70f359e Change a comment to match the surrounding code. 2010-07-30 20:26:06 -07:00
Robert Sayre
d733703b0c Change a comment to match the surrounding code. 2010-07-30 20:12:45 -07:00
Jeff Walden
cfbbbaa362 Really test bug 583429. :-) rs=tpyo 2010-07-30 19:17:15 -07:00
Jeff Walden
f6cbfcea4c Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
9bb90b0bc3 Bug 583126 - parseInt(string) traceable native ignores OOM. rs=jorendorff
--HG--
extra : rebase_source : b9244f62e7f4bc0e0db96a7b5fa21b43ffc1b7de
2010-07-30 17:25:20 -07:00
Andreas Gal
482da28f6d Test for bug 583429 2010-07-30 19:04:03 -07:00
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Sean Stangl
688f7fa149 [JAEGER] Stop using ValueReg unnecessarily on x86_64. 2010-07-26 01:07:53 -07:00
Sean Stangl
ddd8e6e425 [JAEGER] Fix strict-aliasing bug on x86_64. 2010-07-26 00:49:48 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
David Anderson
4ac3b9b36e [JAEGER] Remove Assembler::storeLayout() for good. 2010-07-25 22:55:52 -07:00
David Anderson
b592c08a74 [JAEGER] Merge. 2010-07-25 22:54:18 -07:00
David Anderson
b47e6b3529 [JAEGER] Fixed register allocation bug in IFEQ (bug 581871). 2010-07-25 22:53:25 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Sean Stangl
a232e99084 [JAEGER] Update PunboxAssembler.h. 2010-07-25 20:40:15 -07:00
David Anderson
31e9292046 [JAEGER] Merge from tracemonkey. 2010-07-25 20:21:14 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
David Anderson
670d1e14a1 [JAEGER] Place double constants into a literal pool (win on math-spectral-norm). 2010-07-25 19:44:09 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Luke Wagner
618736ad26 Shark says some js::Vector ops were not being inlined. Fix. (no bug) 2010-07-25 17:17:44 -07:00
Alan Pierce
430a559d48 [JAEGER] Use setNumber instead of setDouble for array lengths (bug 581800, r=dvander). 2010-07-25 16:38:01 -07:00
David Anderson
a8c9f0015c [JAEGER] Fixed type propagation with LOCALINC (bug 581800). 2010-07-25 16:29:15 -07:00
David Anderson
627cf4de83 [JAEGER] Merge. 2010-07-24 23:55:17 -07:00
David Anderson
947e1c2238 [JAEGER] Follow-up fix to bug 580701. 2010-07-24 23:54:16 -07:00
Sean Stangl
6bef627293 [JAEGER] Clean up x86_64 port. VMFrame::inlineCallCount is now uint32. 2010-07-24 23:22:30 -07:00
Andrew Drake
26459a9067 [JAEGER] Fixed incorrect handling of escaping local variables' registers. r=dvander, b=580701 2010-07-24 22:59:21 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
David Anderson
ea5e66bc2c [JAEGER] Merge. 2010-07-24 20:23:30 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
David Anderson
56f2d5583c [JAEGER] Removed over-zealous assert (bug 580703). 2010-07-24 20:22:27 -07:00
Luke Wagner
67448fe840 [JAEGER] Move regs->sp dec from popInlineFrame to caller to get ready for upcoming changes 2010-07-24 20:09:39 -07:00
David Anderson
ee57811aae [JAEGER] Fixed thinko. 2010-07-24 20:05:01 -07:00
David Anderson
7754b95ac5 [JAEGER] Fixed PROPINC and friends illegally using property cache w/ ICs (bug 580712). 2010-07-24 20:01:13 -07:00
Sean Stangl
0b73f6f71e [JAEGER] Fix x86_64 Windows build. 2010-07-24 18:14:35 -07:00
Andrew Drake
0a27760171 [JAEGER] Add licensing information to trap header files. 2010-07-24 18:02:59 -07:00
Andrew Drake
3355f1e9f5 [JAEGER] Fix trap support for 64-bit, Windows. 2010-07-24 17:37:01 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Wan-Teh Chang
c415ddd0a4 Bug 561510: fix unrecognized option /L... linker warning on
Windows.  Define MOZALLOC_LIB using EXPAND_LIBNAME_PATH instead
of EXPAND_MOZLIBNAME.  r=bsmedberg,ginn.chen.  approval2.0+ by
bsmedberg.
2010-08-06 06:51:38 -07:00
Edwin Smith
e90975d4e7 Whitespace cleanup.
--HG--
extra : convert_revision : 1781d2187c43ed282a061efb7d945eafefed5ef9
2010-07-21 10:33:02 -04:00
Jacek Caban
c279f260e5 Backed out changeset f10fc9e3be99 (orange test_request_line_split_in_two_packets.js tests). 2010-08-07 22:13:06 +02:00
Jacek Caban
bae482540c Bug 508905 - /Zc:wchar_t- is no longer required r=ted a=dbaron 2010-08-07 17:41:41 +02:00
Robert Sayre
f4f6b295e7 Merge tracemonkey to mozilla-central. 2010-08-06 22:46:37 -07:00