Commit Graph

9268 Commits

Author SHA1 Message Date
Luke Wagner
e01cff89da Change NPAPI not to cast to from NPIdentifier and jsval. Fix silly JSObject::resizeDenseArrayElements bug introduced by earlier commit 2010-06-11 18:09:58 -07:00
Luke Wagner
2a2b97cc3f Merge 2010-06-11 14:19:15 -07:00
Luke Wagner
db5e1acb26 Avoid unnecessary initialization of js::Vector 2010-06-11 14:18:45 -07:00
David Mandelin
eec97abca4 Make sure dense_grow gets inlined into the tracer functions that call it 2010-06-11 11:29:04 -07:00
mozilla@buildmonkey-right.mv.mozilla.com
1da69179fa Write simpler code in JSObject::resizeDenseArrayElements so GCC does not do really really bad register allocation 2010-06-11 10:34:47 -07:00
David Mandelin
f242431382 Bug 569766: Make tracing work with fat values 2010-06-10 17:20:26 -07:00
Luke Wagner
e6f9490099 Simplify code now that Value is copyable 2010-06-10 10:09:05 -07:00
Luke Wagner
e9442c8c26 Doubles are no longer gc-things, fix testGCChunkAlloc 2010-06-10 09:40:11 -07:00
Luke Wagner
a83311a7c5 Fix build bustage in FF 2010-06-10 00:05:41 -07:00
Luke Wagner
dde2523f3a Remove assumption that getter objects are functions (can be any callable), fix jsproxy aliasing bug 2010-06-09 23:20:37 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
Luke Wagner
27e99d6856 Remove OS X rules.mk hacks and out-of-date assert in JS_GetObjectID 2010-06-08 17:32:51 -07:00
Luke Wagner
706cc2c0e9 Firefox starts up and browses the web 2010-06-08 15:12:18 -07:00
Luke Wagner
6d5a111999 Don't re-define js_ObjectOps in xpconnect. Remove assumptions that private jsvals are ints 2010-06-08 00:01:45 -07:00
Jason Orendorff
6e7f075424 Merge backout. 2010-06-07 20:39:48 -05:00
Jason Orendorff
03f2a11f1a Merge backout. 2010-06-07 20:39:05 -05:00
Jason Orendorff
120196fad2 Back out changeset 46fed5bdcf44 for now. 2010-06-07 20:38:51 -05:00
Jason Orendorff
987881e65c Merge backout. 2010-06-07 20:38:30 -05:00
Jason Orendorff
5874315d91 Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook. 2010-06-07 20:36:57 -05:00
Andreas Gal
be035f8008 Allow reading reserved slots without locking if we know its safe to do so (570404, r=brendan). 2010-06-07 21:35:58 -04:00
Luke Wagner
0d5dd30ea8 Firefox builds 2010-06-07 18:21:51 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Luke Wagner
a8883b8520 Merge 2010-06-07 13:58:13 -07:00
Luke Wagner
9814243213 xpconnect builds 2010-06-07 13:57:40 -07:00
David Anderson
5ccdb8922d Bug 556569 - Trace shallow recursion more robustly. r=jorendorff. 2010-06-07 12:47:24 -05:00
Igor Bukanov
24dee0ab53 bug 557538 - custom GC chunk allocation. r=gal,jorendorff 2010-06-07 11:17:15 +02:00
Nicholas Nethercote
3744861727 Update nanojit-import-rev stamp. 2010-06-06 20:27:01 -07:00
Nicholas Nethercote
e2a11770ff Fix typo in patch for bug 527512, and add a missing case. r=gal.
--HG--
extra : convert_revision : eb43593410b935717be223a37dec993a30472073
2010-06-06 20:22:48 -07:00
David Anderson
24b06aa25a Unbroke opt build. 2010-06-05 03:34:53 -07:00
David Anderson
1ee067adac Fixed js_Disassemble1 decoding JOF_ATOM+JSOP_DOUBLE as astom (bug 570285). 2010-06-04 22:19:53 -07:00
Luke Wagner
7b81a5dc24 Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling 2010-06-04 16:55:08 -07:00
William Maddox
06858e0f9c Bug 555345 - Histogram profiling macros for JIT-generated code (r=rreitmai+)
This patch adds wrapper macros _jhprof_init, _jhnprof_init, and _jhprof to
facilitate histogram profiling from JIT-generated code.

--HG--
extra : convert_revision : 939ade8f3ee9716faaedc2b2a0cf986b5010003f
2010-06-04 14:31:25 -07:00
Jason Orendorff
5f5deee89d Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing. 2010-06-04 00:34:57 -07:00
Luke Wagner
8846bb56a4 Fix failing reftests. Align consts stored in scripts 2010-06-03 18:22:37 -07:00
William Maddox
a577524f6a Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson
38b8e72eb0 Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Luke Wagner
8f6c06b148 Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
Leon Sha
4e076c0bf0 http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
David Mandelin
7dddedeff0 Makefile changes to force pointers to 32 bits on OSX--this is just a stopgap for testing and shell development 2010-06-01 19:06:54 -07:00
David Mandelin
9d3b145d90 Move the unit string tables to 32-bit address space for x64. This works on Windows but may need different X64 macrology elsewhere 2010-05-28 15:28:48 -07:00
David Mandelin
0c6dd6c6e2 Set up alloc of 32-bit-addressed gcchunks for win 64 2010-05-28 14:41:42 -07:00
David Mandelin
0c48e65da3 Build error fixes for win64 2010-05-28 14:04:29 -07:00
William Maddox
48541b0117 Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
7cfb42d6ca Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
ada62b6b46 Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
lw@mozilla.com
7b52bb9eca Fixes/hacks to get working on Linux x64 2010-05-26 22:35:39 -07:00
Rick Reitmaier
4e416a5a6b Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
f42400812e Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Luke Wagner
824169c8ae Merge 2010-05-26 16:39:20 -07:00
Luke Wagner
f7242c4d3f [mq]: Refactor value logic for better reuse 2010-05-26 16:36:47 -07:00