Commit Graph

3820 Commits

Author SHA1 Message Date
David Mandelin
f7418603b9 Bug 464138: invalid use of regexp addr as unique key, r=gal 2008-11-11 19:20:18 -08:00
Jim Blandy
377dcbc87b Bug 462004: Use automatic variables in make rules, to allow VPATH to work. r=ted.mielczarek
Note that this applies to the js/src/Makefile.ref build system, not
the global Mozilla build system.

We would like to use VPATH to find js.cpp once it moves into a 'shell'
subdirectory.  However, the rules changed by this patch use $* (the
pattern stem) to generate their source filenames, not $<, which
expands to the filename found in the VPATH.
2008-11-11 16:54:20 -08:00
Andreas Gal
73f93b8abc Merge. 2008-11-11 15:16:31 -08:00
Andreas Gal
592b859e7e Merge with mozilla-central. 2008-11-11 15:16:04 -08:00
Blake Kaplan
093ecbb6c7 Bug 463715 - Be less wasteful when emitting escapes. r=sayrer 2008-11-11 15:09:20 -08:00
Bob Clary
e0a2040e7a JavaScript Tests - tests for bugs 461233, 458851, 459628, 460024, 460117, 461307, 461723, 462292, 462989, 463259, 460501, 461108, 461111, 461235, 461945, 462071, 462282, 462288, 462407, updated js1_8_1/trace/trace-test.js, updated failures 2008-11-11 13:08:13 -08:00
timeless@mozdev.org
de4863a534 Bug 464214 warnings in jstracer
r=gal
2008-11-11 11:21:12 +01:00
timeless@mozdev.org
1efe45f72f Bug 464212nanojit/Nativei386.cpp(148) : warning C4309: 'initializing' : truncation of constant value
r=gal
2008-11-11 11:20:07 +01:00
Andreas Gal
51726b48f9 Backed out changeset cb559a14ad77 2008-11-10 19:14:00 -08:00
Vladimir Vukicevic
7b53df46a7 b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer 2008-11-10 11:11:06 -08:00
Vladimir Vukicevic
1ad86545f7 [arm] b=462430, implement LIR_ldcs, re-enable regexp jit for ARM 2008-11-09 17:36:30 -08:00
Vladimir Vukicevic
55861cdf74 [arm] Fix up ARM nj backend to take into account exit block merging and other changes. Also simplify some branch code along the way. 2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
1ecb39bb70 [arm] Disable regexp tracer on ARM 2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
26b45638d4 whitespace/tab cleanup in NativeARM.cpp 2008-11-08 22:27:24 -08:00
Jeff Walden
932287a573 Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions. r=gal, r=edwsmith 2008-11-08 01:45:50 -08:00
timeless@mozdev.org
04d8f53350 Bug 464099 jit pref isn't honored by regexp code
r=dmandelin
2008-11-11 00:16:19 +01:00
Jim Blandy
d50747d1a8 Bug 462451: Restore js/src/Makefile.ref and supporting files. r=brendan
This patch simply restores the deleted files unchanged, except for the
following:

o Makefile.ref now generates the js-config.h header file, based on the
  values of JS_THREADSAFE and JS_GC_ZEAL it is invoked with.

o The subdirectory containing platform-specific files for Makefile.ref
  has been renamed from 'config' to 'ref-config'; the former name
  conflicts with the new unified build system.  config.mk has been
  updated accordingly.
2008-11-10 12:55:46 -08:00
Jim Blandy
07a52be674 Bug 462451: Don't find generated SpiderMonkey headers via VPATH. r=bsmedberg 2008-11-10 12:55:46 -08:00
Jim Blandy
6721e0d7d2 Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past.  So use $(CURDIR)/$(MDDEPDIR) instead.

Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically.  Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too.  Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Andreas Gal
fbb6976032 Backed out changeset dbb2a6559cf5 2008-11-10 12:49:56 -08:00
David Mandelin
f17c0039c2 Bug 463545: lazy compilation of regexps to native, r=gal 2008-11-10 12:04:07 -08:00
Vladimir Vukicevic
1667535360 b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer 2008-11-10 11:20:07 -08:00
Robert Sayre
a1bf2f89c4 Merge mozilla-central to tracemonkey. 2008-11-08 02:21:20 -05:00
Andreas Gal
34deb27634 Merge. 2008-11-07 18:19:52 -08:00
Andreas Gal
55c5823950 Backed out changeset 594ec832d9a8 2008-11-07 18:19:35 -08:00
Andreas Gal
533b7866b1 Add back typedef for JSTraceMonitor (compilation fix for legacy C use of JS engine includes, no bug). 2008-11-07 16:58:36 -08:00
Andreas Gal
54ba19de70 Trace Function.apply and Function.call (462482, r=brendan). 2008-11-07 15:58:52 -08:00
Andreas Gal
43daeaca87 Don't spill type definitions in avmplus.h into the global namespace (462288, r=danderson). 2008-11-07 15:52:51 -08:00
Andreas Gal
41cc8a6bd1 Merge. 2008-11-07 15:24:16 -08:00
Andreas Gal
e609f0bb95 Cleanup GuardRecord, SideExit, and InterpStruct and extract VM-dependant fields (463313, r=danderson). 2008-11-07 15:23:43 -08:00
Robert Sayre
8e4a6beb13 Bug 462778. Fix JSON top crash. r=brendan 2008-11-07 18:10:39 -05:00
Brendan Eich
40acf84539 Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap). 2008-11-07 14:01:11 -08:00
David Anderson
fa14a92fe7 Fixed multitrees assert when building failed speculated branches (bug 463490, r=gal). 2008-11-07 13:22:05 -08:00
Robert Sayre
f976ddfecf Merge mozilla-central to tracemonkey. 2008-11-06 11:12:04 -05:00
Peter Van der Beken
c39e172979 Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
Ben Newman
6b0b398a1c Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst. 2008-11-05 22:42:51 -08:00
Ben Turner
c031080e02 Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst. 2008-11-05 22:41:52 -08:00
Andreas Gal
96aec85318 If the regexp cache runs full flush it and make sure to keep bytecode version around in case the native code was thrown away (463281). 2008-11-05 22:30:19 -08:00
Andreas Gal
a19551a824 Fix GC hangs when OOM during recovery pool re-allocation (463190, r=brendan). 2008-11-05 19:09:12 -08:00
Blake Kaplan
d3f8a13075 Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst 2008-11-06 18:06:32 -08:00
Andreas Gal
56b1b4e24a Merge. 2008-11-05 14:27:16 -08:00
Andreas Gal
2b6b89a66e Use GuardRecord/SideExit provided by the tracer in regexp (463281, r=danderson). 2008-11-05 14:26:51 -08:00
Brendan Eich
7f1675516e Bug 463259 - "Assertion failure: VALUE_IS_FUNCTION(cx, fval)" (r=mrbkap). 2008-11-05 14:25:39 -08:00
Bob Clary
37e2ea771c bug 399387 - JavaScript Tests - update public failures, universe data 2008-11-05 14:08:19 -08:00
David Mandelin
0dd975151b Bug 461050: remove extraneous comment, indexed loads are generated automatically 2008-11-05 11:46:49 -08:00
David Mandelin
69cebc3c8d Bug 461050: regexp compiler, style fixes, r=brendan 2008-11-05 11:38:18 -08:00
David Mandelin
45e1fa1027 Bug 461050: oom handling, somehow omitted from original commit, r=gal 2008-11-04 20:07:37 -08:00
Andreas Gal
bf204b37e3 Merge. 2008-11-04 19:33:29 -08:00
David Anderson
a6c715fb81 Fixed memory leak in nanojit's LabelStateMap (no bug, r=gal). 2008-11-04 19:22:13 -08:00