David Anderson
038d8d654e
[JAEGER] Merge.
2010-06-23 23:21:56 -07:00
David Anderson
76bce82fed
Backed out changeset 283566427469
2010-06-23 23:21:46 -07:00
David Anderson
516af02b02
[JAEGER] Merge.
2010-06-23 23:19:21 -07:00
David Anderson
a7b1a1cae4
[JAEGER] Completely inline JSOP_INSTANCEOF.
2010-06-23 23:18:54 -07:00
Andrew Drake
8619e4fd69
[JAEGER] Facilitate iteration over all JSStackFrames in the current stack. r=luke
2010-06-23 21:59:23 -07:00
David Mandelin
0800a12fa5
Windows browser build fixes for js/src
2010-06-23 19:01:50 -07:00
David Mandelin
882030f513
Add extra stack space needed for callprop in methodjit
2010-06-23 18:58:17 -07:00
David Mandelin
33c408ba97
Fix PIC for MSVC. enums are apparently signed in MSVC, which caused 'overflow' in the 2-bit kind field
2010-06-23 18:06:51 -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
David Anderson
a17cb9cbbe
[JAEGER] CALLPROP PIC for primitive string methods.
2010-06-23 17:10:58 -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 Anderson
82ba121204
[JAEGER] Ported Dave Mandelin's PIC for CALLPROP, objects only (bug 572310).
2010-06-23 16:18:48 -07:00
David Anderson
2669c5fe3a
[JAEGER] Turned off accidental debug flag.
2010-06-23 13:51:20 -07:00
David Anderson
992d8e6cde
[JAEGER] Fixed build.
2010-06-23 10:50:34 -07:00
David Anderson
ff64349d0b
[JAEGER] Use PIC for callprop when compile-and-go and LHS is a primitive string.
2010-06-22 23:22:46 -07:00
David Anderson
b3c8e672cf
[JAEGER] Merge.
2010-06-22 23:21:23 -07:00
David Anderson
481fa06044
Backed out changeset 99ce8bcb547c
2010-06-22 23:21:09 -07:00
David Anderson
264aaca0a9
[JAEGER] Infer that an addition with a string will result in a string.
2010-06-22 23:18:53 -07:00
David Anderson
b56e39093f
imported patch callpropic_str
2010-06-22 22:55:31 -07:00
Chris Leary
0aca3bfb30
JSOP_ENDINIT fast path, obsoletes stub call. (r=dvander)
2010-06-22 22:40:55 -07:00
Andrew Drake
30a3cc58b6
[JAEGER] Fix build on pedantic compilers, fix win32 shell. r=dvander
2010-06-22 19:11:50 -07:00
David Anderson
79bd5716a1
[JAEGER] Use GETPROP PIC for calls when the LHS is known to be an object.
2010-06-22 17:54:05 -07:00
David Anderson
82f5e8e60e
[JAEGER] Fix GETPROP bug with dense arrays.
2010-06-22 16:53:35 -07:00
David Anderson
4e21a7e40e
[JAEGER] Use PIC for instanceof's obj.prototype fetch.
2010-06-22 16:21:21 -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
David Anderson
408c243f13
[JAEGER] Fixed nits from branding fix.
2010-06-22 15:09:07 -07:00
David Anderson
f4a612c01c
[JAEGER] Cache atom in PIC directly, instead of index, for simplicity.
2010-06-22 15:07:10 -07:00
David Anderson
7965d753a3
[JAEGER] Tighten method barrier test in SETPROP pic.
2010-06-22 14:50:22 -07:00
David Anderson
d31caee286
[JAEGER] Fixed SETPROP PIC not maintaining branding invariants.
2010-06-22 14:45:16 -07:00
David Anderson
56bdd8b4f7
[JAEGER] Allow patching of the inline path after generating stubs.
2010-06-22 13:32:55 -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
David Anderson
a6a668c9d3
[JAEGER] Enabled SETPROP PIC, slow path now takes property cache.
2010-06-21 19:41:29 -07:00
David Anderson
39aff71e4a
[JAEGER] Precursor work for Dave Mandelin's SETPROP IC (bug 572310).
2010-06-21 19:34:20 -07:00
David Anderson
e7cd0a7538
[JAEGER] Precursor SETPROP IC work - shimmy top of stack down.
2010-06-21 19:34:18 -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
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 Anderson
178ac0c976
[JAEGER] Fixed build.
2010-06-20 16:16:51 -07:00
David Anderson
68eadd08f9
[JAEGER] Re-added Dave Mandelin's GETPROP PIC stubs for string and array length (bug 572310, part 2).
2010-06-20 16:07:21 -07:00
David Anderson
a1983f037c
[JAEGER] Use cheaper comparison for GETPROP type checks.
2010-06-20 13:17:45 -07:00
Jacob Bramley
05a5c664a9
Fix LIR_std2f implementation on ARM. [Bug 572679] [r=vlad]
...
--HG--
extra : convert_revision : 6998a52045d0d573bd78e2dd1bfd41c0a86309b0
2010-06-18 11:24:53 +01:00
Jacob Bramley
aad41df407
Add a test for LIR_std2f (and LIR_ldf2d). [Bug 572679] [r=nnethercote]
...
--HG--
extra : convert_revision : 6fbdd69eee0e6f5531fe46fa21770bc0b5e89226
2010-06-18 11:23:32 +01: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
a879cc1e9e
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
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
d8f50a0f4e
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
David Anderson
884b494c29
[JAEGER] Re-added Dave Mandelin's polymorphic inline caches for GETPROP (bug 572310).
2010-06-19 21:58:55 -07:00
David Anderson
ff9eadf410
[JAEGER] Fast path for EQ,NE when one side is constant null or undefined.
2010-06-18 13:55:08 -07:00
David Anderson
4d054d48ba
[JAEGER] Don't optimize escaping variables (bug 566022).
2010-06-18 11:07:15 -07:00
Sean Stangl
1c4a45fe74
[JAEGER] Change JSFrameReg to static const on advice from Luke.
2010-06-18 00:44:17 -07:00
David Anderson
cbe631e38a
[JAEGER] Fixed regression in light frames.
2010-06-17 20:33:16 -07:00
David Anderson
d0cfbb0fad
[JAEGER] Fixed bug in JSOP_UNBRANDTHIS.
2010-06-17 20:30:19 -07:00
David Anderson
8142533567
[JAEGER] Added JSOP_UNBRAND,UNBRANDTHIS.
2010-06-17 20:27:22 -07:00
David Anderson
fb49319458
[JAEGER] Lower var init and call obj creation into script prologue.
2010-06-17 18:36:30 -07:00
David Anderson
d5d0ad5d93
[JAEGER] Guard that calls have compiled code.
2010-06-17 18:36:28 -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
David Anderson
9c4e1303c3
[JAEGER] Merge from fatval branch.
2010-06-17 13:22:59 -07:00
David Anderson
993e3687a3
[JAEGER] Disabled accidental debug instrumentation.
2010-06-17 01:15:36 -07:00
David Anderson
c1bfa098ce
[JAEGER] Added fast-paths for STRICTEQ.NE and boolean literals.
2010-06-17 01:05:50 -07:00
David Anderson
8aba3afc06
[JAEGER] Fast-paths for STRICTEQ,NE when undefined or null are used.
2010-06-17 00:29:28 -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
Rick Reitmaier
4a6eddac30
Bug 571407 - Changes to enable JIT in Symbian build of Flash Player (r+rreitmai)
...
ICache flush support for symbian
--HG--
extra : convert_revision : d992fed9f916b09916e4fead7ae39022a53d2881
2010-06-16 18:16:08 -07:00
David Anderson
335d797ee4
[JAEGER] Add fast-path for JSOP_THIS.
2010-06-16 18:15:23 -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 Anderson
7ab3717436
[JAEGER] Added stub call profiling.
2010-06-16 17:53:35 -07:00
Sean Stangl
e38df23094
[JAEGER] Merge.
2010-06-16 15:33:21 -07:00
Sean Stangl
ce760eead5
[JAEGER] Define temporary FPRegisters.
...
Defines FPRegisters::First and FPRegisters::Second,
temporary FPRegisters that are always synced to memory.
This will hopefully eventually be obsoleted by having
a FPRegister allocator, once FrameState changes are done.
2010-06-16 15:32:30 -07:00
David Anderson
863fc7bfde
[JAEGER] Split JSOP_CALL into more decisions, removed primitive-this check on returns.
2010-06-16 15:21:39 -07:00
William Maddox
fc75018411
Bug 571430 - Allow for NumSavedRegs == 0 on SPARC (r=rreitmai+)
...
--HG--
extra : convert_revision : fb015a561f6b65104930a723e800c21a2d66e1bd
2010-06-16 14:29:43 -07:00
Sean Stangl
aafbf3565f
[JAEGER] Implement x86/x86_64 xorDouble(); (571743, r=dvander).
2010-06-16 10:47:42 -07:00
David Anderson
9e532246ad
[JAEGER] Merge.
2010-06-16 01:16:17 -07:00
David Anderson
bc20a29586
[JAEGER] Inline scripted returns.
2010-06-16 01:16:07 -07:00
Sean Stangl
fb862c18e6
[JAEGER] Rename some functions to make namespace for FPRegisters; (572202, r=dvander).
2010-06-15 18:24:31 -07:00
David Anderson
5285f49ef5
[JAEGER] Fixed memory corruption bug found by Gary Kwong.
2010-06-15 18:23:16 -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
Sean Stangl
a6ef9f95cc
[JAEGER] Implement integer fast path for multiplication; (572081, r=dvander).
...
ARM multiplication always uses the slow path for now.
2010-06-15 10:46:01 -07:00
David Anderson
a552b1c8e7
[JAEGER] Added fast-path for JSOP_GETELEM.
2010-06-15 03:46:44 -07:00
Sean Stangl
3ad293a3f4
[JAEGER] Fast paths for integer addition, subtraction; (572081, r=dvander).
2010-06-15 03:16:30 -07:00
Sean Stangl
9e77669f47
[JAEGER] testDouble() should emit an unsigned comparison.
2010-06-15 02:46:56 -07:00
Sean Stangl
00de27cae9
[JAEGER] Fix BITOR, BITXOR.
2010-06-15 02:42:08 -07:00
David Anderson
003df04dec
[JAEGER] Rewrite state reification for side exits.
2010-06-15 01:40:39 -07:00
David Anderson
a0047931d5
[JAEGER] Added fast-path for JSOP_SETELEM.
2010-06-15 01:40:36 -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
Andrew Drake
e0cf7c0a56
Merge.
2010-06-14 14:03:53 -07:00
David Anderson
e260a83f6c
[JAEGER] Fixed build.
2010-06-14 13:44:06 -07:00
David Anderson
750be487c8
[JAEGER] Merge.
2010-06-14 13:36:20 -07:00
David Anderson
bc2301898a
[JAEGER] Merge.
2010-06-14 13:36:05 -07:00
David Anderson
6ce58480af
[JAEGER] Added monomorphic inline caches for SETGNAME.
2010-06-14 13:35:47 -07:00
Andrew Drake
53ecdbb058
[JAEGER] Fix --disable-methodjit build, rs=dmandelin
2010-06-14 13:33:19 -07:00
David Mandelin
e645d90105
Build fixes for opt browser
2010-06-14 13:11:59 -07:00
Sean Stangl
22449ee4d8
[JAEGER] Fix backwards comparison on masm.testDouble().
2010-06-14 12:56:19 -07:00
Jacob Bramley
e8fc94e3eb
Add LIR_(add|sub|mul)jovi support to the ARM back-end. [Bug 571202] [r=nnethercote]
...
--HG--
extra : convert_revision : b9c6f319cf9132680e27ffe7af1d783f6d8fa4c9
2010-06-14 15:42:46 +01:00
Jason Orendorff
285e13d2c5
Bug 568885 - Put Cu.Sandbox globals in a separate compartment from non-sandbox objects in the same domain. r=gal, sr=mrbkap.
2010-06-24 18:08:52 -05:00
Jason Orendorff
4119c39520
Bug 568886 - Instead of severing the stack in SJOW, function.caller should refuse to return an object from a different compartment. r=gal, r=mrbkap.
...
--HG--
extra : rebase_source : 83ee4482377769b8f59c72171acc62edc481fe7a
2010-06-30 18:09:38 -05:00
Robert Sayre
78608039a3
Fix bustage from jetpack including jstl on Windows.
2010-06-30 16:07:53 -07:00
Robert Sayre
b0ccdf3af2
Move includes in JetpackActorCommon.cpp only.
2010-06-30 14:28:08 -07:00
Robert Sayre
efd4bd36c6
Merge backout.
2010-06-30 13:50:52 -07:00
Robert Sayre
67c4011c63
Backed out changeset 562f69adb6b8
2010-06-30 13:50:26 -07:00
Robert Sayre
aed1689a0b
Squash warning, rebuild with Windows clobbered.
2010-06-30 13:45:02 -07:00
Robert Sayre
77addc3777
try to fix moz_free macro substitution bustage on Windows by reordering includes
2010-06-30 13:26:15 -07:00
Robert Sayre
27b5a3b6fb
Merge mozilla-central to tracemonkey.
...
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Chris Leary
0094115549
Update |dis| docs in the shell. (r=me)
2010-06-30 00:18:38 -07:00
Neil Rashbrook
84258324f3
Bug 572996 Compiler dependencies don't work for debug-only includes r=ted
2010-06-30 12:44:18 +01:00
Blake Kaplan
50cdb5d92b
Bug 574990 - cx->globalObject needs to be innerized before it can be used. r=gal
...
--HG--
extra : rebase_source : 6e31e65d2e265da850b871b78ec9af984350b08c
2010-06-28 16:38:54 -07:00
Rico
b3c8c97bf8
Bug 575575 - Variable name typo in js1_5/Array/regress-465980-02.js. r=jwalden
2010-06-29 09:00:10 -07:00
Jeff Walden
0ee447d3dd
Bug 574992 - Make Date.prototype.toGMTString a normal, non-enumerable, non-alias property; also fixes a failure (with Object.getOwnPropertyNames support) in the MS ES5 tests. r=brendan
2010-06-26 14:08:58 -07:00
Wes Garland
18d86f784e
Bug 574398 - New macro for JS_EnterLocalRootScope is not C
2010-06-28 17:14:31 -04:00
David Anderson
b4060da2c5
Bug 567577 - new Math.sin
is NaN, not an object, in interpreter only. r=Waldo.
2010-06-28 14:49:12 -05:00
Jeff Walden
ac3f40a0c9
Bug 574867 - Make message, fileName, lineNumber own properties of <NativeError>.prototype, rather making them properties only of Error.prototype. r=luke
...
--HG--
extra : rebase_source : b01196842d33b177061701ceda47ec2a9319601a
2010-06-26 14:08:58 -07:00
Chris Leary
908f8ec587
Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)
2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b
Bug 559408: Turn arena pool macros into methods. (r=gal)
2010-06-26 17:55:00 -07:00
Jason Orendorff
605e647be1
Weaken compartment assertions to be non-fatal. This will allow us to compartmentalize Gecko without keeping the assertions continually happy (which would be impractical). no bug#, r=gal.
2010-06-26 17:42:22 -05:00
Ginn Chen
04688ebf28
Bug 568788 Implement GetNativeStackBaseImpl() on Solaris r=igor
2010-06-27 01:25:00 +08:00
Andreas Gal
38fdbd4e85
Implement new chrome wrappers (574539, r=mrbkap).
2010-06-25 17:58:09 -05:00
Andreas Gal
7c91c2898c
Fix warnings (no bug, r=mrbkap).
2010-06-25 17:57:53 -05:00
Jason Orendorff
9ee0592d4e
Fix horrible bug in EvalInContext when the result is an object. rs=mrbkap.
2010-06-25 15:49:17 -05:00
Jason Orendorff
0f2e011c39
Fix significant difference between the new caching code in bug 570622 and CallThisObjectHook. r=orange.
2010-06-25 15:06:49 -05:00
Jason Orendorff
88abf40622
Bug 570622 - TM: eagerly call thisObject hook and cache result in global objects. r=mrbkap.
2010-06-25 13:48:35 -05:00
Andreas Gal
b74167790a
Resort to default compartment when global object is set to NULL (r=crash on startup).
2010-06-24 20:13:22 -05:00
Andreas Gal
b35f3418d2
Implement new content wrappers (574502, r=mrbkap).
2010-06-24 19:09:46 -05:00
Jason Orendorff
5eed79e767
Bug 574320 - Tweaks to compartments API. r=gal.
2010-06-24 16:44:18 -05:00
Andreas Gal
1efe5e2ec6
Implement runtime-wide wrap hook (574299, r=mrbkap).
2010-06-24 16:45:32 -05:00
Robert Sayre
1d56325898
Merge mozilla-central to tracemonkey.
2010-06-24 13:47:08 -07:00
Saint Wesonga
15c5e882f9
Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer
2010-06-24 13:32:07 -07:00
Andreas Gal
47613b6fab
Function.prototype.toString shouldn't crash on function proxies (574294, r=brendan).
2010-06-24 13:25:09 -05:00
Brendan Eich
fc2a83c5ee
Assertion failure: scope->canProvideEmptyScope(&js_ObjectOps, clasp) (574280, r=gal).
2010-06-24 10:10:04 -07:00
Igor Bukanov
60e3fb5cff
bug 572678 - valgrind integration with conservative GC. r=nnethercote
2010-06-21 14:22:32 +02:00
Igor Bukanov
3ca4aa4529
bug 572428 - followup to fix a bad typo.
2010-06-24 10:55:18 +02:00
Igor Bukanov
6f0b0ed4fa
bug 573709 - do not use history for conservative GC. r=gal
2010-06-24 10:30:56 +02:00
Eric Hennigan
a8d4b520e3
Bug 573646: add memory limit for Unix test harness in order to handle OOM crashes more gracefully
2010-06-23 19:05:33 -07:00
Robert Sayre
0a9fd0ff39
Merge mozilla-central to tracemonkey.
2010-06-23 17:04:20 -07:00
Jeff Walden
a255bae3b1
Add cycle-detection assertions to prototype/parent-setting methods, tighten some nearby code stylistically. (let r () (r))
2010-06-23 16:57:52 -07:00
Jason Orendorff
b891ed049a
Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
...
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Blake Kaplan
8ad3135e90
Fix bug 572130. r=jst
2010-06-23 17:09:00 -05:00
Blake Kaplan
78d9a8bac6
Bug 572233 - Don't accidentally wrap an object on the prototype chain. r=jst
...
--HG--
extra : rebase_source : ff4c32ed65dde104f2630d9d435888b12298a29f
2010-06-23 16:56:28 -05:00
Ben Turner
a283994c5f
Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst.
2010-06-23 12:46:08 -07:00
David Anderson
56a7c58d38
[JAEGER] Merge.
2010-06-12 19:16:33 -07:00
Sean Stangl
2f941c5f22
[JAEGER] Rename FpReg to JSFrameReg; r=dvander.
2010-06-12 19:11:00 -07:00
David Anderson
297eb1af31
[JAEGER] Added monomorphic inline cache for reads of unbound globals.
2010-06-12 19:00:30 -07:00
David Anderson
82d98ad449
[JAEGER] Predict unbound names as being on the global object (bug 564949).
2010-06-12 19:00:27 -07:00
Sean Stangl
b616a53aee
[JAEGER] Define FPRegisters struct; r=dvander.
2010-06-12 18:37:34 -07:00
Sean Stangl
2a5a91c2c0
[JAEGER] Rename alloc() to allocReg(); r=dvander.
...
This patch is in preparation for making a distinction between
registers and floating-point registers for double fastpaths.
2010-06-12 18:26:36 -07:00
Sean Stangl
8ff57facfa
[JAEGER] Use frame.testInt32() instead of masm.testInt32(); r=dvander.
2010-06-11 22:07:10 -07:00
Sean Stangl
1662a83587
[JAEGER] Implement testDouble(); r=dvander.
2010-06-11 21:27:56 -07:00
Sean Stangl
3751e1ceaf
[JAEGER] Permit FrameState::copyData() with copied FrameEntries; r=dvander.
2010-06-11 21:27:52 -07:00
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 Anderson
7b6d3db650
[JAEGER] Merge.
2010-06-11 14:11:04 -07:00
David Anderson
b79115e765
[JAEGER] Optimize how atoms are passed to NAME, CALLNAME, and SETNAME.
2010-06-11 14:10:43 -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
Andrew Drake
a25e9507f4
[JAEGER] Fix Win32 build. r=dvander
2010-06-11 11:24:39 -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 Anderson
971e66892c
[JAEGER] Statically bind some global functions (bug 562729, r=brendan).
2010-06-10 23:43:14 -07:00
David Anderson
22bcf9d6e7
[JAEGER] Reset JIT properly.
2010-06-10 23:42:44 -07:00
David Anderson
d6ac5397a1
[JAEGER] Don't call into JIT while recording.
2010-06-10 23:42:35 -07:00
David Anderson
3bbb12b82b
[JAEGER] Added JSOP_ELEMINC,ELEMDEC,INCELEM,DECELEM.
2010-06-10 23:10:15 -07:00
David Anderson
659861b518
[JAEGER] Enable regex JIT with JSOPTION_METHODJIT.
2010-06-10 22:23:13 -07:00
David Anderson
f6b0dbf8c8
[JAEGER] Fix build.
2010-06-10 22:20:30 -07:00
David Anderson
a2bfe74bbb
[JAEGER] Merge from fatval branch.
2010-06-10 21:58:13 -07:00
David Anderson
20b5f6469a
[JAEGER] Added JSOP_LOCALINC,LOCALDEC,INCLOCAL,DECLOCAL.
2010-06-10 20:08:17 -07:00
David Anderson
df8cd25dd9
[JAEGER] Implemented re-loads of copies while syncing in slow paths.
2010-06-10 19:17:09 -07:00
David Anderson
ee80a9426c
[JAEGER] Added JSOP_SETRVAL, JSOP_RETRVAL.
2010-06-10 17:30:00 -07:00
David Anderson
aa81593c46
[JAEGER] Try to find unsynced registers to perform copies in side exits.
2010-06-10 17:29:58 -07:00
David Anderson
91a1779e5c
[JAEGER] Added JSOP_ARGINC,ARGDEC,INCARG,DECARG.
2010-06-10 17:29:57 -07:00
David Mandelin
f242431382
Bug 569766: Make tracing work with fat values
2010-06-10 17:20:26 -07:00
Sean Stangl
77d79f4a31
[JAEGER] Fix handling copied FrameEntries; r=dvander.
2010-06-10 16:56:58 -07:00
Blake Kaplan
68ab0034ba
Bug 569022 - XPCNativeWrapper is a proper MakeSOW candidate. r=jst
...
--HG--
extra : rebase_source : a4de66029f47e1f400eed3822132fd45ff98558a
2010-06-10 15:49:22 -07:00
David Anderson
6889905a29
[JAEGER] Fixed build for realz.
2010-06-10 14:20:05 -07:00
David Anderson
f1bb4ba3cb
[JAEGER] Fixed build.
2010-06-10 14:18:33 -07:00
Jason Orendorff
c1a1fb9be1
Bug 563099 - Compartments and wrappers API. r=gal.
...
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623
Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal).
2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86
Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
...
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Gregor Wagner
80ca0e83eb
Bug 519949 - TM: remove LocalRootScopes r=igor
2010-06-23 11:37:35 -05:00
Nicholas Nethercote
1acb98c5ab
Bug 551885 - TM: avoid stupid stack loads/stores at the end of fragments. r=dvander.
2010-06-22 20:09:11 -07:00
Brendan Eich
bacdc9d75e
Assertion failure: slot < (uint32)dslots[-1] (571744, r=dvander).
2010-06-22 14:31:17 -07:00
Igor Bukanov
0b52b79b4d
bug 572428 - fixing detection of live things in GC arena for conservative GC. r=wagnerg
2010-06-22 11:19:04 +02:00
Nicholas Nethercote
6f97ec3b23
Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
...
vs 3). r=gal.
2010-06-22 00:18:51 -07:00
Robert Sayre
690a859635
Merge mozilla-central to tracemonkey.
2010-06-21 18:01:14 -07:00
Blake Kaplan
c1498e0eab
Add test.
2010-06-21 16:51:55 -07:00
David Anderson
858278d975
[JAEGER] Merge from fatval branch.
2010-06-10 14:01:11 -07:00
David Anderson
48bdd8875c
[JAEGER] Added JSOP_TABLESWITCH.
2010-06-10 13:37:37 -07:00
David Anderson
f05461c221
[JAEGER] Added JSOP_LOOKUPSWITCH.
2010-06-10 13:24:19 -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
David Anderson
ba5aa9dd19
[JAEGER] Make syncFancy() resume properly.
2010-06-09 22:33:54 -07:00
David Anderson
be3dcd19fc
[JAEGER] Improve register allocation when merge-syncing copies.
2010-06-09 22:28:12 -07:00
Luke Wagner
1bb5128ab0
Merge with TraceMonkey
2010-06-09 21:59:18 -07:00
David Anderson
517efa88c1
[JAEGER] Fixed bug in invoking JIT from interpreter.
2010-06-09 14:42:17 -07:00
David Anderson
4e28dc4af8
[JAEGER] Fixed bug in JSOP_BINDNAME.
2010-06-09 13:55:32 -07:00
David Anderson
b62bed481e
[JAEGER] New JSOP_CALLPROP.
2010-06-09 12:55:41 -07:00
David Anderson
43b26ccbf8
[JAEGER] Tiny fix-ups.
2010-06-09 01:46:07 -07:00
David Anderson
dfa571f425
[JAEGER] Added JSOP_EXCEPTION, JSOP_SETLOCALPOP.
2010-06-09 01:32:40 -07:00
David Anderson
3080b62639
[JAEGER] Added JSOP_ENTERBLOCK, JSOP_LEAVEBLOCK, and support for |let|.
2010-06-09 01:03:58 -07:00
David Anderson
e1c7b826cf
[JAEGER] Added JSOP_TYPEOFEXPR.
2010-06-08 22:58:10 -07:00
David Anderson
026b378fe1
[JAEGER] Added JSOP_INITMETHOD; fixed JSOP_RSH bug; fixed JSOP_MOREITER bug.
2010-06-08 22:54:16 -07:00
David Anderson
6448864847
[JAEGER] Fixed bug when RHS of shift was 0.
2010-06-08 22:27:28 -07:00
David Anderson
7eb912feff
[JAEGER] Added JSOP_ARGCNT, fixed bug in PROPDEC.
2010-06-08 22:02:09 -07:00
David Anderson
f251a97d3c
[JAEGER] Added JSOP_INSTANCEOF.
2010-06-08 21:46:38 -07:00
David Anderson
a385f71677
[JAEGER] Added JSOP_CALLGLOBAL.
2010-06-08 21:38:33 -07:00
David Anderson
aa5188d6af
[JAEGER] Added JSOP_ARGUMENTS.
2010-06-08 21:34:46 -07:00
David Anderson
0cf3d36ae0
[JAEGER] Merge.
2010-06-08 21:25:29 -07:00
David Anderson
b27a0b5634
[JAEGER] Added JSOP_LAMBDA_FC.
2010-06-08 21:24:19 -07:00
Sean Stangl
fae3fce758
[JAEGER] Spew inlined opcodes; r=dvander.
2010-06-08 19:18:18 -07:00
David Anderson
87ecc149b0
[JAEGER] Added JSOP_TRY.
2010-06-08 19:03:32 -07:00
David Anderson
00c259c9c9
[JAEGER] Added JSOP_FORNAME.
2010-06-08 18:55:12 -07:00
David Anderson
42f530b5f7
[JAEGER] Added JSOP_THROW.
2010-06-08 18:45:42 -07:00
David Anderson
0e59578e0c
[JAEGER] Added JSOP_CALLELEM, fixed bug in JSOP_CALLNAME.
2010-06-08 18:40:26 -07:00
David Anderson
b7162925a0
[JAEGER] Added JSOP_GETXPROP.
2010-06-08 18:18:11 -07:00
David Anderson
674313aca9
[JAEGER] Added JSOP_PUSH.
2010-06-08 18:16:36 -07:00
David Anderson
1d2c54e953
[JAEGER] Added JSOP_LINENO.
2010-06-08 18:13:46 -07:00
David Anderson
c44abdcb06
[JAEGER] Added JSOP_EVAL, JSOP_APPLY.
2010-06-08 18:12:33 -07:00
David Anderson
ef9ba19ba0
[JAEGER] Fixed regalloc bug where eviction could re-sync.
2010-06-08 17:59:15 -07:00
David Anderson
ec9df4dfe4
[JAEGER] Merge from fatval branch.
2010-06-08 17:49:46 -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
Sean Stangl
54d4bab987
[JAEGER] Implement JSOP_LENGTH; r=dvander.
2010-06-08 16:28:17 -07:00
Sean Stangl
6e9131b6eb
[JAEGER] Implement JSOP_CALLPROP; r=dvander.
2010-06-08 16:28:13 -07:00
Luke Wagner
706cc2c0e9
Firefox starts up and browses the web
2010-06-08 15:12:18 -07:00
David Anderson
c1cb664baa
[JAEGER] Merge from fatval branch.
2010-06-08 11:32:46 -07:00
David Anderson
ee5ecaa165
[JAEGER] Merge.
2010-06-08 11:31:22 -07:00
David Anderson
8b0d60f638
[JAEGER] Added missing spew for 32-bit x86 or.
2010-06-08 11:31:06 -07:00
Andrew Drake
fc09b35f9c
[JAEGER] Fix JS_ATOMIC_CLEAR_MASK.
2010-06-08 00:37:38 -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
Andrew Drake
eba8539f0d
Merge.
2010-06-07 23:58:42 -07:00
Andrew Drake
3f53cbb073
[JAEGER] Generalize operation callback mechanism and implement for methodjit, r=dvander
2010-06-07 23:55:13 -07:00
David Anderson
a1eb218fc2
[JAEGER] Fix build.
2010-06-07 19:32:59 -07:00
David Anderson
ad6f6ffb02
[JAEGER] Merge from fatval branch.
2010-06-07 19:29:40 -07:00