Commit Graph

10368 Commits

Author SHA1 Message Date
Sean Stangl
6bef627293 [JAEGER] Clean up x86_64 port. VMFrame::inlineCallCount is now uint32. 2010-07-24 23:22:30 -07:00
Andrew Drake
26459a9067 [JAEGER] Fixed incorrect handling of escaping local variables' registers. r=dvander, b=580701 2010-07-24 22:59:21 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
David Anderson
ea5e66bc2c [JAEGER] Merge. 2010-07-24 20:23:30 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
David Anderson
56f2d5583c [JAEGER] Removed over-zealous assert (bug 580703). 2010-07-24 20:22:27 -07:00
Luke Wagner
67448fe840 [JAEGER] Move regs->sp dec from popInlineFrame to caller to get ready for upcoming changes 2010-07-24 20:09:39 -07:00
David Anderson
ee57811aae [JAEGER] Fixed thinko. 2010-07-24 20:05:01 -07:00
David Anderson
7754b95ac5 [JAEGER] Fixed PROPINC and friends illegally using property cache w/ ICs (bug 580712). 2010-07-24 20:01:13 -07:00
Sean Stangl
0b73f6f71e [JAEGER] Fix x86_64 Windows build. 2010-07-24 18:14:35 -07:00
Andrew Drake
0a27760171 [JAEGER] Add licensing information to trap header files. 2010-07-24 18:02:59 -07:00
Andrew Drake
3355f1e9f5 [JAEGER] Fix trap support for 64-bit, Windows. 2010-07-24 17:37:01 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Edwin Smith
e90975d4e7 Whitespace cleanup.
--HG--
extra : convert_revision : 1781d2187c43ed282a061efb7d945eafefed5ef9
2010-07-21 10:33:02 -04:00
Andrew Drake
0040af619a [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
David Mandelin
b081a07e4a [JAEGER] Bug 581256: sync everything before control-flow slow calls; also sync types whenever we sync data, r=dvander 2010-07-23 18:58:34 -07:00
David Mandelin
fb9b65ac19 [JAEGER] Merge. 2010-07-23 18:47:46 -07:00
David Mandelin
3c3566af26 [JAEGER] Merge from tracemonkey. 2010-07-23 18:47:24 -07:00
Sean Stangl
ac2a0f19a9 [JAEGER] Fix x86_64 build on OSX. Thanks to cdleary and apierce. b=578245, r=dvander. 2010-07-23 16:31:13 -07:00
David Anderson
fd2569efb9 [JAEGER] PIC for global scope name resolutions (bug 581291). 2010-07-23 15:35:48 -07:00
Sean Stangl
d5baa10a17 [JAEGER] Remove nunbox/ folder; make NunboxAssembler, PunboxAssembler. b=578245, r=dvander.
--HG--
rename : js/src/methodjit/nunbox/FastArithmetic.cpp => js/src/methodjit/FastArithmetic.cpp
rename : js/src/methodjit/nunbox/FastOps.cpp => js/src/methodjit/FastOps.cpp
rename : js/src/methodjit/nunbox/Assembler.h => js/src/methodjit/NunboxAssembler.h
rename : js/src/methodjit/nunbox/Assembler64.h => js/src/methodjit/PunboxAssembler.h
2010-07-23 15:20:53 -07:00
Sean Stangl
6a4816128b [JAEGER] 64-bit MethodJIT support. b=578245, r=dvander. 2010-07-23 14:46:13 -07:00
Jacob Bramley
b278d2d970 [JAEGER] Build fix for ARM. [No bug] [r=me] 2010-07-23 10:41:19 +01:00
Sean Stangl
7fc4e35945 [JAEGER] Fix jsop_mod() stub call path. r=me. 2010-07-23 01:28:03 -07:00
Sean Stangl
bb198c50c6 [JAEGER] Implement masm.subPtr(ImmPtr, Address) for x86_64. r=dvander. 2010-07-23 00:53:57 -07:00
Sean Stangl
e907f4fd5c [JAEGER] Implement masm.loadFunctionPrivate(). r=dvander. 2010-07-23 00:07:35 -07:00
David Anderson
26f3429eb7 [JAEGER] Fast-path for MOD with integers (bug 579466). 2010-07-22 23:36:37 -07:00
David Mandelin
0a43327d9f Merge fallout. (1) Update instanceof stub correspondingly to interprter case. (2) add MSVC annotation to MIC kind 2010-07-22 18:38:09 -07:00
David Mandelin
cf0c3c24a7 Merge from tracemonkey. 2010-07-22 18:31:01 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
131d736cea Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
David Anderson
a872d66e6e [JAEGER] Keep track of which operations result in numbers. 2010-07-22 17:34:29 -07:00
David Anderson
60ca899930 [JAEGER] Simplify double arithmetic paths. 2010-07-22 17:34:26 -07:00
Andrew Drake
d49648b78a [JAEGER] Band-aid to always kill type when killing data. r=dvander, b=580694 2010-07-22 17:32:23 -07:00
David Mandelin
b7fa67c098 Backout merge. 2010-07-22 17:12:24 -07:00
David Mandelin
2d74ccfb40 Backed out changeset d1d52f7820f2 due to Mochitest crashes. 2010-07-22 17:11:10 -07:00
Dan Witte
1d912899b3 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte
39e10d599b Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte
3babb202bc Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
David Mandelin
931a8bfef2 [JAEGER] Bug 580144: put JS_METHODJIT in js-config.h so that everyone sees the same jscntxt.h structs 2010-07-22 14:32:52 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jacob Bramley
a270f147cf [JAEGER] Modify branch patching to get the ARM port working. [Bug 572633] [r=dvander] 2010-07-22 11:44:32 +01:00
Sean Stangl
b4ea12f2ab [JAEGER] Use type instead of tag in FastOps.cpp. r=dvander.
Tags are still used in PolyIC.cpp; these will require special care
for the x86_64 port.
2010-07-21 23:08:24 -07:00
Sean Stangl
05cbb86f23 [JAEGER] Fix building without --enable-methodjit. 2010-07-21 17:25:04 -07:00
Sean Stangl
bc4a91ac4d [JAEGER] Various changes to Assembler.h. r=dvander, b=580749.
Remove storeData32/loadData32; replace with store32(), storePayload(), etc.
Use JSValueType instead of JSValueTag, since 64-bit will have a different tag representation.
2010-07-21 15:03:16 -07:00
Sean Stangl
e8cc90baae [JAEGER] Use CodeGenIncludes.h instead of Assembler.h directly. 2010-07-21 14:52:05 -07:00
Sean Stangl
1643e014b3 [JAEGER] Add license blocks, defines, and vim headers to Retcon.{cpp,h}, TrampolineCompiler.{cpp,h}. 2010-07-21 13:28:31 -07:00
David Anderson
547a0cd703 [JAEGER] Merge. 2010-07-21 10:44:44 -07:00
David Anderson
836838225b [JAEGER] Fixed --disable-pic build warning. 2010-07-21 10:43:42 -07:00
Andrew Drake
3f3b764d82 [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
Sean Stangl
5abdc6ec59 [JAEGER] Fix mac build: inlineCallCount is a uintN, not uintptr_t. 2010-07-20 23:41:46 -07:00
Sean Stangl
7388a70f72 [JAEGER] Merge from TraceMonkey (which pulled m-c). 2010-07-20 22:24:39 -07:00
Chris Leary
a887840fdf Bug 578761: PIC for JSOP_GETELEM. (r=dvander) 2010-07-20 21:16:47 -07:00
Nicholas Nethercote
efc24067fd Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Nicholas Nethercote
e56dfae6ff Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner
53a742ae98 Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner
d4e0a53756 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Sean Stangl
cdeede6c82 [JAEGER] Fix build when JS_TRACER is not defined; r=dvander. 2010-07-20 19:33:21 -07:00
Luke Wagner
0fd878fe59 Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner
890c4cda11 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
David Anderson
36811b5c06 [JAEGER] Corrected spacing in trace-tests.py. 2010-07-20 18:03:20 -07:00
David Anderson
fa4e27c745 [JAEGER] Basic integration of tracing JIT and method JIT (bug 578727). 2010-07-20 18:01:16 -07:00
Jason Orendorff
6f5fe37ae7 Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
David Mandelin
c53f67c93c [JAEGER] Now using an environment variable to turn off crash dialog 2010-07-20 16:04:13 -07:00
David Mandelin
a2fe7a9ab2 [JAEGER] Remove another test that won't be used for a while; a bug has been filed on reviving it 2010-07-20 16:01:36 -07:00
David Mandelin
8d5573dc6b [JAEGER] Remove test that won't be used for a while; a bug has been filed on reviving it 2010-07-20 15:58:46 -07:00
David Mandelin
787a2356c8 [JAEGER] Remove unneeded error metaline from a test case
--HG--
extra : rebase_source : 433ee32c42e8c0eb6c283361f1719becbe398281
2010-07-20 15:52:18 -07:00
Robert Sayre
ec27ccd212 Merge. 2010-07-20 15:49:14 -07:00
David Anderson
deb8096288 [JAEGER] Fixed bug where LAMBDA + INITMETHOD did not honor cloning optimizations. 2010-07-20 15:43:03 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff
02f46a123c Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00
David Anderson
c86e32a060 [JAEGER] Fixed build warnings from merge fallout. 2010-07-20 13:53:24 -07:00
Jeff Walden
bb1681a89f Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Dan Witte
19ef0aac72 Fix warning. 2010-07-20 10:13:54 -07:00
Jason Orendorff
a1ade780e3 Merge backout. 2010-07-20 11:57:51 -05:00
Jason Orendorff
7282960790 Backed out changeset a8d0c83fe7c7 due to debug-mode assertions in mochitests. 2010-07-20 11:57:29 -05:00
Gregor Wagner
8bd7a472cd Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff) 2010-07-20 09:52:02 -07:00
Mitchell Field
fc426c6d37 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek
337fe01582 Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
David Anderson
c1a644c526 [JAEGER] Fixed bug in lambda replace w/ eager this. 2010-07-19 21:14:44 -07:00
David Anderson
cf5a8cf505 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Dimitrios Vardoulakis
0a1b9ea452 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
David Mandelin
d5a8633709 [JAEGER] Bug 580114: fix constant-type optimization of JSOP_INSTANCEOF in the method jit, r=dvander
--HG--
extra : rebase_source : c98b6a8d1e40cc5597afcefffdb1a3091813d381
2010-07-19 18:34:08 -07:00
David Anderson
3c92cb6c14 [JAEGER] Added PIC for arguments.length (bug 580036). 2010-07-19 18:21:34 -07:00