Commit Graph

10607 Commits

Author SHA1 Message Date
David Anderson
d231b7a841 [JAEGER] Merge. 2010-07-26 11:56:45 -07:00
David Anderson
914b19b17c [JAEGER] Fixed new arithmetic fast-paths not OOL syncing properly (bug 581936). 2010-07-26 11:56:30 -07:00
David Mandelin
fff17561b9 [JAEGER] Fixed a few warnings 2010-07-26 11:54:12 -07:00
David Mandelin
8702c2649d Merge from Tracemonkey. 2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Jacob Bramley
284942704b [JAEGER] Fix ARM build. [No bug] [r=me] 2010-07-26 09:44:41 +01:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Igor Bukanov
fc98a499af bug 583404 - backport of fix from David for JM branch. 2010-07-31 11:42:28 +02:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
fdb70f359e Change a comment to match the surrounding code. 2010-07-30 20:26:06 -07:00
Robert Sayre
d733703b0c Change a comment to match the surrounding code. 2010-07-30 20:12:45 -07:00
Jeff Walden
cfbbbaa362 Really test bug 583429. :-) rs=tpyo 2010-07-30 19:17:15 -07:00
Jeff Walden
f6cbfcea4c Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
9bb90b0bc3 Bug 583126 - parseInt(string) traceable native ignores OOM. rs=jorendorff
--HG--
extra : rebase_source : b9244f62e7f4bc0e0db96a7b5fa21b43ffc1b7de
2010-07-30 17:25:20 -07:00
Andreas Gal
482da28f6d Test for bug 583429 2010-07-30 19:04:03 -07:00
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Sean Stangl
688f7fa149 [JAEGER] Stop using ValueReg unnecessarily on x86_64. 2010-07-26 01:07:53 -07:00
Sean Stangl
ddd8e6e425 [JAEGER] Fix strict-aliasing bug on x86_64. 2010-07-26 00:49:48 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
David Anderson
4ac3b9b36e [JAEGER] Remove Assembler::storeLayout() for good. 2010-07-25 22:55:52 -07:00
David Anderson
b592c08a74 [JAEGER] Merge. 2010-07-25 22:54:18 -07:00
David Anderson
b47e6b3529 [JAEGER] Fixed register allocation bug in IFEQ (bug 581871). 2010-07-25 22:53:25 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Sean Stangl
a232e99084 [JAEGER] Update PunboxAssembler.h. 2010-07-25 20:40:15 -07:00
David Anderson
31e9292046 [JAEGER] Merge from tracemonkey. 2010-07-25 20:21:14 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
David Anderson
670d1e14a1 [JAEGER] Place double constants into a literal pool (win on math-spectral-norm). 2010-07-25 19:44:09 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Luke Wagner
618736ad26 Shark says some js::Vector ops were not being inlined. Fix. (no bug) 2010-07-25 17:17:44 -07:00
Alan Pierce
430a559d48 [JAEGER] Use setNumber instead of setDouble for array lengths (bug 581800, r=dvander). 2010-07-25 16:38:01 -07:00
David Anderson
a8c9f0015c [JAEGER] Fixed type propagation with LOCALINC (bug 581800). 2010-07-25 16:29:15 -07:00
David Anderson
627cf4de83 [JAEGER] Merge. 2010-07-24 23:55:17 -07:00
David Anderson
947e1c2238 [JAEGER] Follow-up fix to bug 580701. 2010-07-24 23:54:16 -07:00
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
David Mandelin
8c885cf46b Bug 580086: fix typos in non-PIC path of NAMEINC, r=dvander 2010-07-19 18:05:19 -07:00
Dimitrios Vardoulakis
b5325aea84 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Tom Austin
31a5964734 Updated and sorted narcissus failures list (bug 579564, r=gal) 2010-07-19 17:02:47 -07:00
David Mandelin
42b61b21ad [JAEGER] Bug 578897: teach property cache about our prototype lookup for JSOP_INSTANCEOF, r=dvander 2010-07-19 16:06:55 -07:00
Jason Orendorff
62b592404f Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal.
--HG--
extra : rebase_source : e063e91c61f159c98ac4f8f0e3bb74eceee069e6
2010-07-19 18:04:50 -05:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
9870b95ead Fix testBug579646.js in opt trace-tests 2010-07-19 16:06:42 -07:00
Luke Wagner
6f0a0727b9 Bug 579646 - Avoid recording when negating double(0) (r=gal) 2010-07-19 14:24:09 -07:00
Andreas Gal
4b4fb2fced Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Jeff Walden
8b99528a95 Bug 568786 - Fix a bad assertion defining an accessor property over a method-valued property. r=brendan
--HG--
extra : rebase_source : 88fc1934f4be3516ace8b006c4296931dfef7a5f
2010-07-19 12:39:57 -05:00
Luke Wagner
015cd3448d Bug 579647 - use canonical nan in js_dmod (r=dvander) 2010-07-19 11:28:13 -07:00
Dan Witte
8c1b9cb83f Remove redundant checks in CClosure::Trace. No bug, r=luke 2010-07-19 11:23:24 -07:00
Tom Austin
2ad03dfa62 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Luke Wagner
a0bece7dbb Forgot to add test case for 26c99d5891c1 2010-07-17 02:10:40 -07:00
Luke Wagner
ea9b4a6d39 Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started 2010-07-17 01:51:07 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Alan Pierce
52ba5c3616 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
0af67efcd9 Bug 579140 - address various minor change requests for fatvals
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Jeff Walden
688bdd2c80 Followup fix for cyclic-proto exception change, r=orange
--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
2010-07-16 16:53:15 -05:00
Luke Wagner
9d7fef353a Bug 579279 - GCC sometimes chooses to use signed < on enumerations whose underlying type is uint32 (r=dmandelin) 2010-07-16 14:00:41 -07:00
Andrew Drake
4e3da79fdc [JAEGER] Add assertion that function JITs. r=dvander, r=jorendorff, b=579145 2010-07-15 14:48:35 -07:00
Sean Stangl
47c29dee6c [JAEGER] Add configure flags to disable MIC/PIC support; (578896; r=dvander).
Specifically: --disable-monoic, --disable-polyic.
2010-07-14 22:56:06 -07:00
David Anderson
35fc464972 [JAEGER] Add NAMEINC; make NAMEINC ops fast (bug 578740). 2010-07-14 21:38:14 -07:00
Jeff Walden
151b088ab6 Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Jeff Walden
e26b5f2fa5 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden
31e6cfd5e7 Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Luke Wagner
cb2a8dd8dc Bug 579273 - Remove JSObject*-to-jsval union-cast in jswrapper.cpp; use CastAsObjectJsval (r=dmandelin) 2010-07-16 11:47:29 -07:00
Luke Wagner
165d33e232 Bug 578015 - desc.getter/setter can be null (r=dmandelin) 2010-07-16 11:14:05 -07:00
Blake Kaplan
6987d9bc17 Bug 579275 - Don't treat null as a primitive this value. r=luke 2010-07-16 00:44:26 -07:00
Jeff Walden
b22a1c4599 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Jason Orendorff
7947f2514c Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC. 2010-07-29 16:25:06 -05:00
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
David Anderson
9f0db4c4ea [JAEGER] Better assert in MonoIC for no fslot sprops in globals. 2010-07-13 15:03:48 -07:00
David Anderson
2c65bd7307 [JAEGER] Make MIC API look more like PICs. 2010-07-13 14:57:16 -07:00
Sean Stangl
0301a8bf15 [JAEGER] Eliminate redundant guard when lhs and rhs have same backing; (578303, r=dvander). 2010-07-13 02:01:54 -07:00
David Mandelin
7111bb72b7 MSVC build fix 2010-07-12 15:13:02 -07:00
David Anderson
26dfe1007f [JAEGER] Remove stores from OOL transitions when not needed (bug 573083). 2010-07-12 15:00:58 -07:00
Jeff Walden
e009ebc027 Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
David Anderson
7404dfe8d3 [JAEGER] Merge. 2010-07-12 13:34:57 -07:00
David Anderson
76a86d4af7 [JAEGER] Fixed bug in declaration of ic::Name. 2010-07-12 13:10:13 -07:00
David Anderson
d5449384ae [JAEGER] Removed more expensive bytecodeanalyzer assertions. 2010-07-12 13:09:04 -07:00
David Anderson
7b0af24a39 [JAEGER] Removed very expensive assertion in BytecodeAnalyzer. 2010-07-12 13:04:35 -07:00
David Anderson
e51a35a5c7 [JAEGER] Added test-case for bug 577705. 2010-07-12 12:31:25 -07:00
David Anderson
610370da50 [JAEGER] Increased another width of bit field to store slow path patch offsets (bug 577705). 2010-07-12 12:31:06 -07:00
David Anderson
0d903a4218 [JAEGER] Increased width of bit field to store slow path patch offsets (bug 577996). 2010-07-12 12:21:07 -07:00
David Anderson
f8a4355a78 [JAEGER] Merge. 2010-07-12 10:46:23 -07:00
David Anderson
a020926861 [JAEGER] Merge from fatval branch. 2010-07-12 10:46:01 -07:00
David Anderson
aec4251d05 [JAEGER] Removed jsops.cpp to merge from fatval. 2010-07-12 10:37:28 -07:00
Sean Stangl
714fefa9b1 [JAEGER] Fast-path boolean for JSOP_IFEQ, JSOP_IFNE; (577973, r=dvander). 2010-07-11 18:48:36 -07:00
Sean Stangl
2cc55ac57e [JAEGER] Reorder js_ValueToBoolean() based on measured frequencies; (575766, r=dvander). 2010-07-11 18:21:41 -07:00
Chris Leary
1834523ed5 Bug 577708: Remove Algol-like display optimization. (r=dvander) 2010-07-11 00:57:13 -07:00
Andrew Drake
7e02a39d0e [JAEGER] Fix crash when calling non-function object. r=dvander, b=577646 2010-07-10 21:19:32 -07:00
David Anderson
60bf1c38e0 [JAEGER] Fixed bug where DEFLOCALFUN didn't emit DEFUPVAR. 2010-07-10 12:26:27 -07:00
David Anderson
4efc453c83 [JAEGER] Added test case for bug 577580. 2010-07-10 12:25:56 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban
f55478a89b Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
David Anderson
d71e2e99b0 [JAEGER] Fixed reference errors causing a crash in name ICs (bug 577580). 2010-07-08 17:42:22 -07:00
Luke Wagner
9fbd3ed3ef Bug 577155 - fix silly error in the fatvalification of Reify 2010-07-07 23:39:50 -07:00
David Anderson
f9aa2e7207 [JAEGER] Remove some stores from slow links. 2010-07-07 18:13:42 -07:00
David Anderson
99c8602803 [JAEGER] Remove unnecessary fast-path stores that are rooted by conservative GC. 2010-07-07 18:13:40 -07:00
Igor Bukanov
246300e968 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Sean Stangl
68723725a7 [JAEGER] Implement boolean guard for JSOP_AND and JSOP_OR; (575766, r=dvander). 2010-07-06 01:10:18 -07:00
Alan Pierce
79e0a74022 [JAEGER] Fix build failure. 2010-07-06 00:57:55 -07:00
Alan Pierce
2772052dcb [JAEGER] Special-case parseInt(double) in num_parseInt. r=dvander b=576934 2010-07-06 00:38:13 -07:00
David Anderson
f61f0ac54c [JAEGER] Fixed mismatched calling convention causing silently bad codegen. 2010-07-06 00:43:05 -07:00
Luke Wagner
94d4737738 Tweak comment to trigger rebuild 2010-07-06 00:28:33 -07:00
David Anderson
3dbfde2a1d [JAEGER] Band-aid for computed this. 2010-07-06 00:01:10 -07:00
Luke Wagner
6c45614fba Merge 2010-07-05 21:53:13 -07:00
Luke Wagner
673d7fe560 Comment change to trigger another build 2010-07-05 21:51:44 -07:00
Leon Sha
c319972048 Bug 575205 - JM: Make JaegerMonkey work on Solaris x86/x64 with Sun Studio 12. r=dvander. 2010-07-06 12:14:58 +08:00
David Anderson
0ddb5ebacc [JAEGER] Unbroke build, merge merge merge. 2010-07-05 20:14:42 -07:00
Luke Wagner
8c317f0f93 Stick jsops.cpp into jsinterp.cpp, where it belongs 2010-07-05 18:28:41 -07:00
Luke Wagner
29555a0cb9 Turn quick-stubbed traceable natives back on 2010-07-05 18:28:15 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
6a7978aebd Merge from TM 2010-07-05 14:08:20 -07:00
Luke Wagner
4859d6f3af Fix build bust. Remove upper/lower case diagnostic in xpconnect 2010-07-05 14:02:41 -07:00
David Anderson
c9b2aacfe3 [JAEGER] PIC for writes to escaped call objects. 2010-07-05 13:56:56 -07:00
Luke Wagner
e501d7e0b5 Remove lowercase/uppercase name check 2010-07-05 13:56:20 -07:00
Luke Wagner
97d36215fd Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
David Anderson
14c9baf4e0 [JAEGER] Added PIC for reads from an escaped call object. 2010-07-05 13:44:01 -07:00
Wes Garland
c0cab6c84e Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Luke Wagner
a8bbd6e292 Change the type of jsid in release builds so that it is always different than jsval 2010-07-05 04:22:37 -07:00
Luke Wagner
86eab7cd9a For some wacky reason, jsuint gets assigned different types in TabParent.cpp on MSVC and this gives a linker error 2010-07-05 04:11:33 -07:00
Luke Wagner
549c391960 Fix bug involving JSVAL_IS_GCTHING's inclusion of null 2010-07-05 02:33:34 -07:00
Luke Wagner
d71c690795 Change default-constructor of Value to initialize to 0. This avoids some warnings when using Value in a HashTable and a few other cases and seems to have no measurable effect. 2010-07-05 01:59:49 -07:00
Luke Wagner
477aedc0ff Tweak jsapi.h/jspubtd.h/jsdbgapi.h 2010-07-05 01:50:08 -07:00
Luke Wagner
b6c66a4c30 Forgot to teach conservative GC about jsid type 2010-07-05 01:41:42 -07:00
Luke Wagner
4dc169abc2 Set argv[-1] to null instead of 0x0 (double) to satisfy the argv[-1] assertion in LeaveTree 2010-07-05 01:14:39 -07:00
David Anderson
fa56975c91 [JAEGER] PIC for JSOP_BINDNAME. 2010-07-05 01:12:18 -07:00
Luke Wagner
d95c06a050 Disable quickstub generation in a different way so as to not fail tests horribly 2010-07-05 00:52:38 -07:00
Luke Wagner
ae4ce7e082 Merge from TM 2010-07-04 23:17:03 -07:00
Nicholas Nethercote
ecd4996a85 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Luke Wagner
78ef13ef62 Avoid crazy JS_STATIC_ASSERT decl conflict on OS X by removing C linkage from jsscript.h 2010-07-04 19:55:05 -07:00
Nicholas Nethercote
a267ea146c Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Luke Wagner
b77253dee8 Fix browser bustage from merge 2010-07-04 19:48:36 -07:00
Nicholas Nethercote
588cb18fca Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00