Commit Graph

43440 Commits

Author SHA1 Message Date
Luke Wagner
ab3a0d3ffa Add 64-bit tracing support 2010-06-28 18:08:28 -07:00
Luke Wagner
b6ba48936a Merge 2010-06-24 22:09:56 -07:00
Luke Wagner
e80b60a250 Fix bug where vp_ins was being passed uninitialized to SetPropertyByName 2010-06-24 22:09:03 -07:00
David Mandelin
fb83e7796d Fix jsreftest js1_5/Regress/regress-159334.js 2010-06-24 17:39:01 -07:00
David Mandelin
001939737c Bug 574518: adjust test case to account for greater stack memory usage in Interpret
--HG--
extra : rebase_source : d8cee395b898d809020b503b83a402de8cb88eee
2010-06-24 17:14:06 -07:00
Luke Wagner
2365632b1c Merge 2010-06-24 16:29:36 -07:00
Luke Wagner
d59fc36dbf Add back the js_UnboxDouble check in TraceRecorder::box_value, simplify code that skips the js_UnboxDouble 2010-06-24 16:28:08 -07:00
David Mandelin
c6783f6875 Removing failure note from test that passes 2010-06-24 14:04:26 -07:00
Luke Wagner
558aa8414b Avoid unnnecessary extra LIR in unbox_value 2010-06-24 11:21:20 -07:00
Luke Wagner
561b9386c9 Have box_value callers pass the AccSet to use 2010-06-23 17:50:53 -07:00
Luke Wagner
d474e4bd4a Tweak names/comments to account for JS_NEITHER change 2010-06-23 17:23:57 -07:00
Luke Wagner
42622db476 Merge 2010-06-23 17:13:46 -07:00
David Mandelin
bb7c22a9ba Bug 571623: restore support for traceable natives. With much help from peterv. 2010-06-23 17:11:06 -07:00
Luke Wagner
eba2e1f102 Merge and fix 2010-06-23 17:06:18 -07:00
Luke Wagner
ed28dae403 64-bit builds and passes trace tests on OS X with --disable-tracejit. reftests has failures, but these also show up on tm and should be fixed by a rebase 2010-06-23 16:58:32 -07:00
David Mandelin
5635d6ffb5 Adding a space to push to cedar 2010-06-22 15:46:26 -07:00
David Mandelin
a2628ff847 Windows C build fix 2010-06-22 15:26:36 -07:00
Luke Wagner
50d922350a Fix bustage compiling jsapi.h as Objective-C++ 2010-06-22 11:54:27 -07:00
Luke Wagner
bae4687e65 Reuse existing JS_ValueToId instead of introducing new JSVAL_TO_JSID 2010-06-22 11:51:46 -07:00
Luke Wagner
9cdf8a36e7 Fix bug in TraceRecorder::storeHole introduced earlier 2010-06-22 10:47:54 -07:00
Luke Wagner
c872ea6cb5 Fix bugs introduced by overzealous application of setNumber in cset 5c5bb620d2c8 2010-06-22 10:14:11 -07:00
Luke Wagner
f536e360bf Take advantage of value representation in the tracer when mapping values to and from trace types 2010-06-22 09:43:21 -07:00
Luke Wagner
7db2d34bde Merge 2010-06-21 16:30:17 -07:00
Luke Wagner
ebb2d4890b Be careful when using setDouble that we shouldn't use setNumber instead to fit in an int when possible. Was missing a lot in jsdate.cpp 2010-06-21 16:28:02 -07:00
David Mandelin
4ab1d47307 Bug 573578: intern string before converting to jsid in PropertyOpForwarder 2010-06-21 16:07:31 -07:00
Luke Wagner
90a6ed7cd3 Merge 2010-06-21 12:51:25 -07:00
Luke Wagner
6cc55bb8d5 Fix C-only compile errors 2010-06-21 12:49:23 -07:00
Luke Wagner
5ced30e1fc Change 32-bit jsval rep to use dense type index instead of bitmask 2010-06-21 12:28:56 -07:00
David Mandelin
1f140032fd Bug 573171: Make JSOP_LENGTH produce an int32-tagged value for dense arrays 2010-06-18 18:30:08 -07:00
David Mandelin
49ad7aab28 Windows browser build fixes 2010-06-18 15:58:34 -07:00
David Mandelin
8c3417b347 MSVC build fix: windows.h includes an extern "C" operator== 2010-06-18 14:16:57 -07:00
Luke Wagner
dc916dafc5 Tweak trace-tests/tests/basic/delete-named-names.js checkStats 2010-06-18 01:06:48 -07:00
Luke Wagner
cc9eacee25 Merge 2010-06-18 01:02:26 -07:00
Luke Wagner
bf3afea5b8 Fix bugs; browser is up and running 2010-06-18 00:59:10 -07:00
Luke Wagner
b7955fe7b7 Browser builds 2010-06-17 23:51:54 -07:00
David Mandelin
1ec5c13d2a Remove MAP_32BIT which prevents us from building on many platforms and we aren't going to use any more anyway. 2010-06-17 18:23:47 -07:00
David Mandelin
c046cbd662 Bug 572842: restore deleted test in ~XPCTraceableVariant 2010-06-17 18:06:24 -07:00
Sean Stangl
bdffe4e8ba Redefine JSVAL type constants for one-comparison object, primitive check.
The following types are defined to have the upper mask bits set:
JSVAL_MASK16_NULL is 0x2000;
JSVAL_MASK16_NONFUNOBJ is 0x4000;
JSVAL_MASK16_FUNOBJ is 0x8000.

So each of IS_OBJECT(), IS_OBJECT_OR_NULL(), and IS_PRIMITIVE()
just requires one comparison, saving a bitwise AND.
2010-06-17 16:44:10 -07:00
Sean Stangl
9a415dd80c Redefine JSVAL_MASK16_INT32 to ((uint16)0x0001).
This permits isNumber() to just check <= JSVAL_MASK32_INT32,
since no number can have type JSVAL_MASK32_CLEAR (asserted).
2010-06-17 16:44:06 -07:00
Luke Wagner
40aca2d2fb Merge 2010-06-16 23:57:45 -07:00
Luke Wagner
11556d9a6f Fix bugs introduced by jsid change 2010-06-16 22:58:31 -07:00
Luke Wagner
ab09c2952d Switch jsids back to pointer-sized and fix a bunch of broken assumptions 2010-06-16 18:21:34 -07:00
David Mandelin
cded156f8e Bug 569651: add test case that formerly asserted, but is now WFM 2010-06-16 18:14:37 -07:00
David Mandelin
29432cfcd1 Bug 572285: remove spurious assert 2010-06-16 11:22:14 -07:00
David Mandelin
cf66245838 Bug 572229: atomize strings passed to js_HasNamedProperty 2010-06-15 16:00:16 -07:00
David Mandelin
d352690926 Bug 572042: get tracing+fat values to build in the browser. As part of this I disabled the quickstub traceable natives. According to Andreas, we don't necessarily need them for good perf now that we can call the standard quickstub from trace. This build works on simple JS, but there are still bugs (e.g., Google Maps asserts). 2010-06-15 15:43:41 -07:00
David Mandelin
f2f3967750 Bug 572029: fully specialize for unboxing most numbers 2010-06-14 17:26:59 -07:00
Luke Wagner
e54fb2ea80 Make UnboxDoubleHelper extern to match friend declaration 2010-06-14 14:46:31 -07:00
David Mandelin
94e6c8a2cc Bug 571625: bring back box-after-unbox optimization for tracing with fatvals 2010-06-14 14:24:30 -07:00
David Mandelin
e645d90105 Build fixes for opt browser 2010-06-14 13:11:59 -07:00