Commit Graph

3417 Commits

Author SHA1 Message Date
Bob Clary
847220319a JavaScript Tests - regression test for bug 453051, by Jesse Ruderman 2008-09-17 07:13:54 -07:00
Bob Clary
11edc5fe3d JavaScript Tests - regression test for bug 453049, by Jesse Ruderman 2008-09-17 07:10:56 -07:00
Bob Clary
2648ff7d54 JavaScript Tests - regression test for bug 453747, by Jesse Ruderman 2008-09-17 07:07:00 -07:00
Bob Clary
76b8df6a68 JavaScript Tests - regression test for bug 453701, by Jesse Ruderman 2008-09-17 07:02:10 -07:00
Bob Clary
9a5c21609f JavaScript Tests - regression test for bug 453173, by Jesse Ruderman 2008-09-17 06:58:56 -07:00
Bob Clary
f0c1609765 JavaScript Tests - regression test for bug 454744, by Jesse Ruderman 2008-09-17 06:53:07 -07:00
Bob Clary
52d61f875a JavaScript Tests - enable jit fixes, bug 455669 2008-09-17 03:41:19 -07:00
Bob Clary
6ed7504ebd JavaScript Tests - known failures update, bug 399387 2008-09-16 14:29:58 -07:00
Andreas Gal
dab25898eb Don't export operator new/delete except if really needed (452721, r=danderson). 2008-09-16 13:57:59 -07:00
Andreas Gal
6de13bab44 Merge. 2008-09-16 13:24:57 -07:00
Andreas Gal
8ef12c41b5 Removed bogus assert (argv is NULL if callee is NULL, assert segfaults, 452495, r=danderson). 2008-09-16 13:24:34 -07:00
Jason Orendorff
14fd1396b5 Bug 454343 - Assertion failure: obj == pobj, at src/js/src/jsinterp.cpp:160 (r+sr=mrbkap) 2008-09-16 14:27:03 -05:00
Bob Clary
bc755d49be JavaScript Tests - regression test for bug 452884, by Jesse Ruderman 2008-09-16 12:25:50 -07:00
David Anderson
6dcdb6aeb9 Fixed pointer arithmetic bug during trace recording on 64-bit platforms (bug 454981, r=m_kato). 2008-09-16 10:48:54 -07:00
Andreas Gal
37a7d9274f Add test case for 455408. 2008-09-16 08:07:01 -07:00
brendan
472ac757b4 Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss, new patch (455408, r=gal). 2008-09-16 08:03:12 -07:00
Andreas Gal
4f38e736a7 Backed out changeset 66a76c8c7346 2008-09-16 06:51:33 -07:00
brendan
18c4ef65df Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss (455408, r=gal). 2008-09-16 06:26:57 -07:00
Andreas Gal
ce30f97561 Merge. 2008-09-16 06:22:32 -07:00
Andreas Gal
61aeda1e95 Detect modulo by constant that is not zero and demote to integer modulo (451788, r=brendan). 2008-09-16 06:20:54 -07:00
Brendan Eich
68172b5938 Bug 453411 - "Assertion failure: !cx->onTrace" with yield string (r=gal). 2008-09-16 14:00:02 +01:00
Ben Newman
3a8f74e2d8 Bug 446584 - NodeIterator doesn't forward exception properly; r=(jonas + jst) sr=jst 2008-09-16 13:47:47 +02:00
Bob Clary
45808eba0d JavaScript Tests - regression test for bug 452853, by Jesse Ruderman 2008-09-15 23:36:57 -07:00
Andreas Gal
70d28c8730 Backed out changeset 61b9209c186f 2008-09-15 19:59:06 -07:00
brendan
663c6aeb04 test_property_cache_direct_slot forgot to insist on a direct slot for get ops (453249, r=gal). 2008-09-15 19:40:43 -07:00
Blake Kaplan
087c2331f5 Bug 450692 - Don't unconditionally add inner and outer object hooks to XPConnect objects. 2008-09-15 17:14:08 -07:00
Andreas Gal
10e4759086 Merge. 2008-09-15 17:12:21 -07:00
Andreas Gal
2e60c6889f Merge. 2008-09-15 17:09:45 -07:00
Andreas Gal
13cc3eaad6 Backed out changeset 87fe68f51647 2008-09-15 17:09:25 -07:00
Andreas Gal
950247bb9d Fix JSOP_NOT (455380, r=brendan). 2008-09-15 17:08:15 -07:00
Robert Sayre
26dfedb82e Merge
Hg: user: Robert Sayre <sayrer@gmail.com>
2008-09-15 19:45:05 -04:00
Robert Sayre
9c41ae9cce Add check to make sure bug 452008 remains fixed. 2008-09-15 19:36:03 -04:00
Andreas Gal
0764f9fccb Demote modulo operation with a constant non-zero right hand side (451788). 2008-09-15 15:59:25 -07:00
Andreas Gal
a580bcd185 Implement comparison of numbers against null (455293, r=brendan,danderson). 2008-09-15 15:30:06 -07:00
Andreas Gal
f369f7dcfb Whitespace nit-pick (453261, r=brendan). 2008-09-15 15:26:16 -07:00
Andreas Gal
cdb4ed8fae Merge. 2008-09-15 15:01:44 -07:00
Andreas Gal
95068bdc26 Properly handle floating point array indexes (453261, r=brendan). 2008-09-15 15:00:40 -07:00
Vladimir Vukicevic
47e9d3a21b b=454530; misc trace abort fixes (trace String.concat); r=brendan 2008-09-15 17:30:05 -04:00
Jason Orendorff
2e3c2852da Bug 453331 - Quick stubs: handle members with the same name (r+sr=jst) 2008-09-15 09:18:38 -05:00
Andreas Gal
be1b44bf0e Trace slow array get/set of indexed props (453261, r=brendan). 2008-09-15 00:54:28 -07:00
Jesse Ruderman
e61b63eb62 Add crashtest 2008-09-14 00:20:17 -07:00
Robin Bate Boerop
2082181641 Bug 412866 - Reuse regexp arena, original patch by Robin Bate Boerop <moz@shorestreet.com>, refreshed by Ryan VanderMuelen <ryanvm@gmail.com>, r=crowder 2008-09-12 15:11:48 -07:00
Brendan Eich
a834957775 TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap). 2008-09-11 15:53:00 -07:00
Ginn Chen
7e5c865f31 Bug 452588 bustage on Solaris 2008-09-11 20:12:55 +08:00
Brendan Eich
e0626f7799 Bug 453563 - TM: assertion when running unit tests with the JIT on (r=danderson). 2008-09-11 00:07:50 -07:00
Brendan Eich
ef47fcf4f8 Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter. 2008-09-11 00:00:37 -07:00
Ryan VanderMeulen
950f98985d Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Brendan Eich
fe5c11a5ea TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap). 2008-09-11 18:35:29 -07:00
Ginn Chen
490ca10263 Bug 452588 bustage on Solaris 2008-09-11 19:34:54 +08:00
Brendan Eich
b9b65ec429 Bug 453563 - TM: assertion when running unit tests with the JIT on (r=danderson). 2008-09-11 00:07:14 -07:00
Brendan Eich
1d69adc89d Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter. 2008-09-11 00:04:33 -07:00
Vladimir Vukicevic
81dcc17709 Get rid of bogus nanojit arm platform stats line 2008-09-10 13:08:08 -07:00
Vladimir Vukicevic
b5c30cfadc Get rid of bogus nanojit arm platform stats line 2008-09-10 13:06:31 -07:00
Benjamin Smedberg
b7c5804c10 Merge backout of the old patch for bug 453388 - we can statically allocate Oracle again, now that we're linking using the C++ linker magic, r=crowder 2008-09-10 15:38:28 -04:00
Benjamin Smedberg
bfeb170706 Merge backouts of bug 453388 - using g++ to link libjs.so means we can have static classes 2008-09-10 15:27:17 -04:00
Benjamin Smedberg
52e1ae86c7 Backed out changeset fc4a8cc07c9f - bustage fix from the first patch for bug 453388 which is also being backed out 2008-09-10 15:21:30 -04:00
Benjamin Smedberg
e780e5e3ea Backed out changeset e2614011f194 - Bug 453388 - the better solution is to allow static objects and link libjs.so with g++ so that _init and _fini run static constructors/destructors correctly backout r=crowder 2008-09-10 15:20:01 -04:00
Benjamin Smedberg
ad47b4958a bug 453388/bug 454624 - link using g++ instead of ld, so that static constructors/destructors will fire correctly r=crowder 2008-09-10 15:16:50 -04:00
Blake Kaplan
afe8fdc761 Work around incorrect but annoying strict-aliasing warning. r=brendan 2008-09-10 00:36:01 -07:00
Blake Kaplan
bcd1f7f97d Fix bustage -- these macros are only defined if the tracer was enabled. 2008-09-10 00:12:26 -07:00
Blake Kaplan
88856d9ef1 Merge tracemonkey -> mozilla-central 2008-09-09 23:38:21 -07:00
Brendan Eich
ce15bc7cd3 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 22:22:52 -07:00
Brendan Eich
7d5c49516c Back out patch for bug 454039. 2008-09-09 16:55:07 -07:00
Brendan Eich
c7b40d9f99 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 16:05:04 -07:00
Brendan Eich
ad49bd309d Bug 453918 - TM: eliminate silly map_is_native guards on globalObj (r=shaver). 2008-09-09 16:01:01 -07:00
David Anderson
cd9032e6fe Fixed Linux build, extra qualification on member function. 2008-09-09 13:20:44 -07:00
Brendan Eich
34a2d3c518 Fix build bustage: parent or proto might be not JSObject* when setting to null. r=brendan, patch by bz. 2008-09-09 12:33:28 -07:00
Boris Zbarsky
4cc2ce122f Fix build bustage: parent or proto might be not JSObject* when setting to null. r=brendan 2008-09-09 15:27:19 -04:00
Brendan Eich
94b10f6170 Avoid needless prototype-shape purges (454035, r=igor). 2008-09-09 11:24:03 -07:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Brendan Eich
40cf4096c7 Avoid needless prototype-shape purges (454035, r=igor). 2008-09-09 09:57:10 -07:00
Andreas Gal
3c8d2430dd Merge. 2008-09-09 17:21:32 +02:00
Andreas Gal
85b1749c8c Capture the typemap of the outgoing stack frame during a function call and store a pointer to it on the native call stack. 2008-09-09 15:16:21 +02:00
Andreas Gal
6a76d26107 Extract the snapshot code for a single slot into determineSlotType() und use that method in snapshot(). 2008-09-09 15:06:23 +02:00
Blake Kaplan
4203e79309 Trace Math.max. r=brendan 2008-09-08 20:06:58 -07:00
Robert Sayre
871c6608b7 Add date tests to correctness checks 2008-09-08 22:36:30 -04:00
Robert Sayre
c6b73406b6 Add controlflow-recursive to correctness checks 2008-09-08 21:15:46 -04:00
Robert Sayre
b381016d68 Add some basic correctness tests for benchmarks 2008-09-08 21:02:57 -04:00
Brendan Eich
5b35846387 Fix bug 454266 - js_FillPropertyCache uses the wrong scope's shape sometimes (r=mrbkap). 2008-09-08 15:52:35 -07:00
Brendan Eich
cd3284e96a Fix bug 454266 - js_FillPropertyCache uses the wrong scope's shape sometimes (r=mrbkap). 2008-09-08 15:51:47 -07:00
Ben Turner
c6eb5d4c06 Properly initialized mSaveDepth in JSAutoSuspendRequest, r=sayrer. 2008-09-08 15:09:41 -07:00
Andreas Gal
32f22d2e1e Don't try to record recursion until we support it properly (454277). 2008-09-08 22:49:17 +02:00
Taras Glek
71b568fe41 bug 453889: Correct prbool misuse in spidermonkey 2008-09-08 13:41:09 -07:00
Blake Kaplan
6a6096aebd Bug 453345 - Only look at pn_extra if we're actually a list. r=brendan 2008-09-08 11:47:15 -07:00
Peter Van der Beken
79f9a72d30 Fix for bug 443415 (Name more CC edges). r/sr=jst. 2008-09-08 20:26:46 +02:00
Taras Glek
7e792aca92 bug 453892: fix prbool bugs in xpconnect. r=jorendorff 2008-09-08 11:19:58 -07:00
Taras Glek
dbf23956a4 bug 432917: Replace "must flow through label" comments with statically-checkable macro. r=igor 2008-09-08 10:51:10 -07:00
Boris Zbarsky
6e51375684 Removing shark think which landed by accident 2008-09-08 08:57:52 -04:00
Boris Zbarsky
c57647d6f4 Bug 451605. Make sure to properly restore the thisp for the innermost frame when taking a nested side exit with a callDepth > 0. r=brendan,gal 2008-09-08 08:55:20 -04:00
Igor Bukanov
27d83904e5 bug 453133 - merging JSOP_DEFUN and JSOP_CLOSURE. r=brendan 2008-09-08 13:58:17 +02:00
timeless
f7c8db5a8a Bug 330237 - editline.c:1038: warning: implicit declaration of function getpid. r=mrbkap 2008-09-08 13:27:57 +02:00
Igor Bukanov
1694ed5ded bug 454163 - fixing build problem with 64-bit debug builds. 2008-09-08 12:37:41 +02:00
Igor Bukanov
23c5063560 bug 446386 - eliminating compiler pseudo-frames. r=brendan 2008-09-08 11:47:12 +02:00
Brendan Eich
082cb07c53 Make return at callDepth 0 terminate the loop, like break (454027, r=gal). 2008-09-08 00:31:18 -07:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Brendan Eich
5b48852abb Patch from Mike Kaplinskiy <mike.kaplinskiy@gmail.com> implementing trim, trimLeft, and trimRight (305064, r=me). 2008-09-07 10:22:41 -07:00
Brendan Eich
e697e5113d Bug 454044 - TM: JSOP_NOT needs isPromoteInt/::demote help. 2008-09-07 01:40:24 -07:00
David Anderson
5018287de0 Trace through parseInt(double), bug 454037 r=gal+brendan. 2008-09-07 02:41:10 -05:00
Serge Gautherie
5a5f67274f Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; "dom_quickstubs.cpp" bustage fix 2008-09-07 00:50:45 +02:00
Bob Clary
1203827f55 JavaScript Tests - correct mistaken push of incomplete universe.data, bug 399387 2008-09-22 11:50:03 -07:00
Bob Clary
62c017dc2c JavaScript Tests - regression test for bug 453397, by Boris Zbarsky 2008-09-22 10:43:47 -07:00
Bob Clary
cc9c638037 JavaScript Tests - regression tests for bug 455758, by Jesse Ruderman 2008-09-22 10:38:44 -07:00
Bob Clary
2cdc3a5e60 JavaScript Tests - regression test for bug 418051, by Jesse Ruderman 2008-09-22 10:34:35 -07:00
Bob Clary
47de4f5540 JavaScript Tests - regression tests for bug 450871, by Gary Kwong 2008-09-22 10:31:03 -07:00
Bob Clary
19473c2d93 JavaScript Tests - regression test for bug 451340, by Jesse Ruderman 2008-09-22 10:25:24 -07:00
Bob Clary
b93d8bee92 JavaScript Tests - regression test for bug 451884, by Martijn Wargers, Brendan Eich 2008-09-22 10:20:46 -07:00
Bob Clary
179693e4b6 JavaScript Tests - update known failures, bug 399387 2008-09-22 09:53:22 -07:00
Bob Clary
08158d1f7b JavaScript Tests - gczeal should be guarded, bug 456292 2008-09-21 12:44:29 -07:00
Arpad Borsos
9b6f558fee Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Arpad Borsos
534fd11101 Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin 2008-09-07 00:04:10 +02:00
Vladimir Vukicevic
7c80853b9f Enable tracemonkey/nanojit for ARM. 2008-09-06 01:19:29 -07:00
Brendan Eich
a8474f5a5b Merge. 2008-09-05 20:31:05 -07:00
Brendan Eich
ba17412f5e Easy fixes to avoid aborting on V8/raytrace.js: MAX_CALLDEPTH doubled to 10; JSOP_NOT handles int and undefined. 2008-09-05 18:57:32 -07:00
Brendan Eich
623433f549 Merge. 2008-09-05 18:34:16 -07:00
Brendan Eich
fc936fa1da Checkpoint arguments tour-de-force (453730). 2008-09-05 18:29:08 -07:00
Vladimir Vukicevic
4a51b1989f [arm] Use preindexed STR instruction instead of separate STR and SUB in asm_pusharg 2008-09-05 18:24:58 -07:00
Vladimir Vukicevic
de76f2638d [arm] Have asm_quad copy direct from const to destination, if there's no register allocated for the const -- don't load into fp reg just to store it. 2008-09-05 17:24:54 -07:00
Vladimir Vukicevic
66c6f5db3a [arm] use arm_ADDi and let it take care of LD32 if necessary. 2008-09-05 17:23:36 -07:00
Vladimir Vukicevic
0b61a36a81 [arm] Don't load arg into a register in asm_pusharg if it's not in one already. 2008-09-05 17:19:31 -07:00
Vladimir Vukicevic
5c53ce04cc [arm] Don't use STMIA + ADD to move a fp call result into memory; use two STRs. Also use Scratch + tmp reg for asm_mmq, instead of just tmp. 2008-09-05 17:18:33 -07:00
Vladimir Vukicevic
7f39cd73d0 [arm] speed up store64 with constant value; also use xor for imm0 loads into a gp reg 2008-09-05 17:17:25 -07:00
Vladimir Vukicevic
02b2a31dc8 [arm] make asm_quad stick its constants into the instruction stream, with a branch over, to ensure that the data is close enough for a PC-relative FLDD 2008-09-05 17:15:23 -07:00
Vladimir Vukicevic
6ef2cd20aa [arm] Make ADDi into a function, since it's doing a lot of work 2008-09-05 17:14:05 -07:00
Ginn Chen
2763e5d63e Make TraceMonkey build on Solaris x86 with Sun Studio 12 (bug 452588, r=danderson). 2008-09-05 16:56:03 -07:00
Ben Turner
cb1f4f55af Bug 451731 - "Update caps, dom, xpconnect for Bug 451729 (checkObjectAccess moving to the JSContext)". r+sr=jst. 2008-09-05 16:26:04 -07:00
Ben Turner
1e5c70827f Bug 451729 - " Allow runtime's security callbacks to be overridden by a context". r=brendan. 2008-09-05 16:24:53 -07:00
David Anderson
85d4033733 Fixed a verbosity mode memory leak in LirNameMap::addName (bug 453895, r=sayrer). 2008-09-05 16:05:13 -07:00
Ginn Chen
a3f5be56ad Added new macro AVMPLUS_UNIX to reduce redundancy and add Solaris support to the TM browser build (bug 452589, r=dvander). 2008-09-05 15:15:00 -07:00
David Anderson
9937dc1262 Trace through Math.log as a known native (bug 453868, r=brendan). 2008-09-05 14:25:01 -07:00
David Anderson
ba87213e86 Abort tracing if a callee encounters a primitive |this| and doesn't support it (bug 453701, r=brendan). 2008-09-05 13:55:03 -07:00
Jason Orendorff
edf679ff71 Merge more work by Jim Blandy on bug 97954. 2008-09-05 15:05:26 -05:00
Benjamin Smedberg
7dcf85d822 Bug 453658 - /s /S /w /W in character classes perform very poorly. r=crowder (showed up as Dromaeo test "DOM MOdification (Prototype): update()" 2008-09-05 14:21:32 -04:00
Jim Blandy
90bf6a2d1e Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE.  However, that name
is very similar to that of an existing header file, jsconfig.h.  This
patch renames the existing header file, and updates all references to
it.

--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Bob Clary
7f29a56794 Sisyphus - JavaScript Tests - add jit options for browser tests, bug 453798 2008-09-05 03:17:57 -07:00
Bob Clary
8496771762 JavaScript Tests - escape timezone in patterns in known-failures.pl, bug 453298 2008-09-05 12:02:23 +02:00
Bob Clary
9a8804741a JavaScript Tests - known failures update, bug 399387 2008-09-05 11:51:18 +02:00
Bob Clary
0787ad80e8 JavaScript Tests - known failures update, bug 399387 2008-09-05 11:42:42 +02:00
Brendan Eich
ff7bea2566 Use js_NaN global that we exported from jsnum.cpp, instead of cx->runtime->jsNaN. 2008-09-04 22:30:04 -07:00
Blake Kaplan
b4d3674f58 Bug 453747 - Replace any holes on the stack with undefined. r=gal 2008-09-04 22:14:27 -07:00
Brendan Eich
ce684a0a6e Bug 453747 - Avoid overuse of the fun_getProperty class getter to optimize getting and setting random properties on functions. r=mrbkap 2008-09-04 21:56:37 -07:00
David Anderson
3e31bc7fb2 Another fix for the patch to bug 452884 -- when ignoring switch guards, don't update the tracker stack. 2008-09-04 20:11:58 -07:00
David Anderson
8c610797f3 Merge. 2008-09-04 19:43:58 -07:00
David Anderson
05991c905d Better fix for bug 452884 (changeset badf4c84665f regressed) - don't emit guards rather than bailing out of comparisons (r=gal). 2008-09-04 19:43:07 -07:00
David Anderson
f7e43913ab Fixed verbose printing typo on AMD64. 2008-09-04 19:39:18 -07:00
Brendan Eich
ae2a22c019 Bug 453747 - Avoid overuse of the fun_getProperty class getter to optimize getting and setting random properties on functions. r=mrbkap 2008-09-04 19:30:58 -07:00
Brendan Eich
b35babfe1d House style bracing for multiline then clause. 2008-09-04 18:53:31 -07:00
Brendan Eich
b1ff34380c Merge again. 2008-09-04 18:46:36 -07:00
David Anderson
1fef1cf8ac Make sure 32-bit loads into 64-bit registers are sign-extended. 2008-09-04 18:32:00 -07:00
David Anderson
09123ebd63 Don't guard on constant decisions, which will always have the same path (bug 452884, r=gal). 2008-09-04 14:44:59 -07:00
Jim Blandy
9a1e56065c Bug 453696: js/src/Makefile.in lists host_jsoplengen twice in HOST_SIMPLE_PROGRAMS r=mrbkap
The text deleted by this patch appears again verbatim directly above
the hunk's context.
2008-09-04 13:39:26 -07:00