Commit Graph

14409 Commits

Author SHA1 Message Date
Jason Orendorff
fcc0bf1635 Bug 646807 - Remove extra RHS checking in CheckDestructuring. r=brendan.
--HG--
extra : rebase_source : 5cee26017a887df666bf272bec8cb3308919b97b
2011-04-18 12:47:55 -05:00
Gregor Wagner
d08cc80190 Bug 650855 - Followup for bug 627200. r=gal 2011-04-18 10:55:47 -07:00
Gary Kwong
6ce5a9d22e Bug 650621 - Fix boundary failure in string object length assertion. rs=Waldo 2011-04-18 12:03:12 +08:00
Nicholas Nethercote
66672b2c61 Update nanojit-import-rev stamp. 2011-04-17 17:21:14 -07:00
Bill McCloskey
b0ccb806b6 Fix off-by-one error in Containers.cpp:BitSet::grow(). r=nnethercote.
--HG--
extra : convert_revision : 74e1b2344f722020fb10e11d7b115373c43c37b6
2011-04-17 17:07:51 -07:00
Nicholas Nethercote
3d26d4379e Remove debugging printf left behind by patch for bug 643969 that was causing test failures.
--HG--
extra : convert_revision : 8202c5872474e0e87717082d5167b35c52d55236
2011-04-17 17:02:27 -07:00
Brian Hackett
ec11db0996 [INFER] Fix disabled hoisting on x.length checks. 2011-04-17 07:36:55 -07:00
Brian Hackett
ac435c47ed [INFER] Hoist bounds checks for variables in linear relationships with loop test, bug 650496. 2011-04-17 06:51:10 -07:00
Brian Hackett
06a24a58ed [INFER] LICM and bounds check hoisting for x.length, bug 649693. 2011-04-16 06:54:01 -07:00
Bill McCloskey
3c0cd83aa3 Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Luke Wagner
48985f251e Bug 650617 - Fix AssertInnerizedScopeChain typo from 602994 (r=mrbkap) 2011-04-18 10:24:21 -07:00
Brian Hackett
bfd23b5265 [INFER] Don't optimize slot accesses for non-global scope objects. 2011-04-15 08:36:03 -07:00
Brian Hackett
eaf164a1c9 [INFER] Retest hoisted bounds checks after stub calls, bug 649693. 2011-04-14 21:59:32 -07:00
Brian Hackett
eddc285117 [INFER] Kludge for recompilation thrashing in sunspider-crypto-md5. 2011-04-14 17:28:04 -07:00
Brian Hackett
ee9af35798 [INFER] Watch for global slots reallocation during compilation, bug 650076, always handle overflowing inclocal/arg/global regardless of pushed type, bug 650148. 2011-04-14 16:33:28 -07:00
Brian Hackett
bdbe8ac1c6 [INFER] Call stubcc.leave() on negative zero in JSOP_MOD, bug 649973. 2011-04-14 15:46:47 -07:00
Brian Hackett
8cd051ac8e [INFER] Avoid IC when fetching the length of a known array. 2011-04-14 13:03:21 -07:00
Brian Hackett
acefe4f0df [INFER] Don't add undefined type to arrays which holes were read from. 2011-04-14 06:56:43 -07:00
Landry Breuil
94441e2879 Bug 633857 - missing #include for OpenBSD (nanojit part). r=dvander
--HG--
extra : convert_revision : 05d5e4afb6e4ed366d2d994785b6b2d326d5aa55
2011-04-14 14:13:26 +09:00
Brian Hackett
0ae73e12fa [INFER] Don't hoist accesses that could underflow the array, bug 649775. 2011-04-13 15:18:15 -07:00
Brian Hackett
42fa6e5949 [INFER] Mark unexpected result when RegExp returns its own argument, bug 649771. 2011-04-13 14:57:12 -07:00
Brian Hackett
d26702c226 [INFER] Don't try to fixup doubles on adjusted frame in call path, bug 649769. 2011-04-13 14:45:25 -07:00
Jan de Mooij
5839315f83 [INFER] Don't clobber address register in FrameState::storeTo, bug 649689. r=bhackett 2011-04-13 12:38:23 -07:00
Brian Hackett
40a0021182 [INFER] Use ebx as a general purpose register on x86, bug 638506. 2011-04-13 12:09:31 -07:00
Brian Hackett
8d6da2ebd6 [INFER] Fix busted jstests. 2011-04-13 10:20:48 -07:00
Brian Hackett
b42d909b23 [INFER] Set standard class slots before updating type info, bug 649439. 2011-04-13 07:09:21 -07:00
Brian Hackett
d8c95f63d9 [INFER] Don't check newly pushed StackSegments in StackSpace::containingSegment, bug 649477. 2011-04-13 06:53:46 -07:00
Brian Hackett
fc65b95530 Merge TM -> JM 2011-04-13 06:45:06 -07:00
Jan de Mooij
601e26f3b1 [INFER] Fix SetName stub call in jsop_setprop, bug 649593. r=bhackett 2011-04-13 06:14:27 -07:00
Brian Hackett
21fd2d8254 [INFER] Direct instance property accesses, bug 649376. 2011-04-12 20:39:16 -07:00
Chris Leary
59f814562b Merge mozilla-central to tracemonkey. 2011-04-12 20:28:42 -07:00
Robert Strong
0c4cae96de followup fix to sync config.mk - Bug 649428 - l10n repacks broken on all platforms on mozilla-central (probably aurora, too). r=bustagefix 2011-04-12 18:16:32 -07:00
Blake Kaplan
d7c603eab8 Bug 618176 - Skip multiple wrappers when deciding whether this object is an array. r=gal 2011-04-12 15:56:45 -07:00
Brian Hackett
793bec3ed6 [INFER] Add dependency on type of pushed value in JSOP_GETGNAME, bug 649261, mark properties redefined with getters/setters as configured, bug 649272. 2011-04-12 08:33:48 -07:00
Brian Hackett
83e8f1e4ab Merge TM -> JM 2011-04-12 07:04:45 -07:00
Brian Hackett
bee0fa2c86 [INFER] Don't propagate type sets for 'new' type objects along prototype chain. 2011-04-11 21:32:46 -07:00
Brian Hackett
2c80c88ba3 [INFER] Direct global name accesses, bug 648994. 2011-04-11 20:10:46 -07:00
Brian Hackett
6c6b5d6f3a [INFER] Always ensure XDR'd scripts have a shape, bug 649103. 2011-04-11 16:39:29 -07:00
Brian Hackett
be364cb797 [INFER] Rejoin from FlatLambda, fix broken forgetMismatchedObject, bug 648992, bug 648999. 2011-04-11 08:30:01 -07:00
Brian Hackett
e4deebb68d Merge TM -> JM 2011-04-11 07:33:47 -07:00
Brian Hackett
7fc4e4971f [INFER] Clear initialized length when changing clasp during array slowification, bug 648773. 2011-04-11 06:52:23 -07:00
Brian Hackett
954651b3a0 [INFER] Make stubcall before adjusting stack in singleton CALLPROP, bug 648708. 2011-04-11 06:39:14 -07:00
Brian Hackett
2f716094fe [INFER] Add call site for scripted call made in call rejoin path, bug 648966. 2011-04-11 06:14:58 -07:00
Christian Legnitto
197347cdba Version bump to 6.0a1. Merge to mozilla-aurora. r=bsmedberg, a=LegNeato. 2011-04-12 06:51:00 -07:00
Brian Hackett
3ebc87699f [INFER] Coalesce rejoin sites for call ops, bug 648843. 2011-04-10 21:43:35 -07:00
Andreas Gal
ba0ea508c2 CallJSPropertyOp incorrectly called with obj instead of receiver in Shape::get (bug 648919, r=jorendorff). 2011-04-10 17:49:59 -07:00
Brian Hackett
3ba5f32195 [INFER] Separate call sites from rejoin sites in JITScript, reconstruct doubles on each rejoin, bug 647991. 2011-04-10 16:09:01 -07:00
Phil Ringnalda
20ed667819 Bug 648870 - Stop trying to package the tests in proxies/, since those tests are actually in js1_8_5/extensions/, r=bc
--HG--
extra : rebase_source : d7e63571c7ae91ece3fdc310b1a4264fb0b34d3d
2011-04-10 13:35:38 -07:00
Ed Morley
90a849de12 Bug 647389 - Remove WINCE stuff from Spidermonkey (r=jorendorff) 2011-04-09 20:17:53 +01:00
Gregor Wagner
63e89ff1d0 Bug 648786 - Fix checkArenaListsForThing (r=gal) 2011-04-09 17:26:58 -07:00
Brian Hackett
3756228559 [INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321. 2011-04-08 19:51:40 -07:00
Brian Hackett
012e3b1119 Merge TM -> JM 2011-04-08 19:27:14 -07:00
Brian Hackett
4cdca73e55 [INFER] Preserve VMFrame registers while tracer is running, bug 648586. 2011-04-08 18:48:09 -07:00
Brian Hackett
30b794a8a2 [INFER] Patch unsynced local types when expanding inline frames, bug 648567. 2011-04-08 17:57:58 -07:00
Brian Hackett
1411ab0bed [INFER] Fix bogus assert, bug 648499. 2011-04-08 16:04:44 -07:00
Brian Hackett
6105beca85 [INFER] Don't inspect invalidated fe when converting to double, bug 648498. 2011-04-08 15:56:34 -07:00
Jeff Walden
1c76488210 Bug 648355 - Disable a fragile JSAPI test that seems to have been kicked into failure likely by compiler-determined optimizations, or something similarly undefined and maybe now impossible to rely upon -- but we'll see. For now, just return to green and really deal with it later. r=orange 2011-04-08 15:24:00 -07:00
Dave Herman
829e7dc189 added missing JS_HAS_GENERATORS #if/#endif (r=gal) 2011-04-08 13:46:19 -07:00
Dave Herman
98fe02ea81 Function.isGenerator (bug 648355, r=brendan) 2011-04-08 13:31:14 -07:00
Brian Hackett
8186cc1e21 [INFER] Don't evict register from incomplete frame entry, bug 618692. 2011-04-07 17:43:36 -07:00
Brian Hackett
cd69e136e6 Merge. 2011-04-07 17:15:43 -07:00
Brian Hackett
814665de9f [INFER] Fix cases where dense arrays have initialized length < capacity with disabled inference, bug 648357. 2011-04-07 17:14:15 -07:00
Brian Hackett
52950bca44 [INFER] Loop invariant code motion for array slot pointers, bug 618692. 2011-04-07 16:12:37 -07:00
Brian Hackett
db0b3cac1b [INFER] Don't try to inline known-unjittable scripts, use pushed type set instead of type tag when storing double result in JSOP_DIV, bug 648230. 2011-04-07 12:35:01 -07:00
Brian Hackett
c1666a63cd [INFER] Fix Kraken benchmark bustage. 2011-04-06 16:49:22 -07:00
Brian Hackett
ac1a9b0c9c [INFER] Always track active loop in liveness analysis, bug 643829. 2011-04-06 14:04:24 -07:00
Brian Hackett
40cc39a621 [INFER] Don't add stale unsynced entries to inline frame info, bug 647973. 2011-04-06 12:24:17 -07:00
Brian Hackett
32fcec93dd [INFER] Don't optimize calls to Array in non-compileAndGo scripts, bug 647657. 2011-04-06 10:56:38 -07:00
Jan de Mooij
68f8b8cc06 [INFER] Avoid accessing CallProp IC after recompilation, bug 648004. r=bhackett 2011-04-06 10:50:31 -07:00
Brian Hackett
4226ea1e6e [INFER] Array bounds check hoisting, cleanup, bug 618690. 2011-04-05 18:12:03 -07:00
Jan de Mooij
80ef2ee888 [INFER] Don't let known types influence whether jsop_not pushes a constant value, bug 647785. r=bhackett 2011-04-05 13:51:56 -07:00
Brian Hackett
406ea98001 [INFER] Fixes for crashtest and jstestbrowser. 2011-04-04 13:06:38 -07:00
Steven Johnson
474f15c5ca Bug 643969 - LIR_jf can generate jump-to-location-zero code on i386 and x64 (r=rreitmai)
--HG--
extra : convert_revision : 3b0667d8dc545c74a903d2b63e2116b407f035d7
2011-04-04 12:20:54 -07:00
Brian Hackett
dac20a37f4 [INFER] Maybe fix build breaks. 2011-04-03 19:54:19 -07:00
Brian Hackett
7b79426ab3 [INFER] Fix build break. 2011-04-03 17:05:21 -07:00
Brian Hackett
8a8647455c [INFER] Fix build break for uses of C++ constructs in jsarena.h 2011-04-03 16:19:05 -07:00
Brian Hackett
1ddb3c2c55 [INFER] Watch for recompilation triggered by ValueToObject, bug 647183. 2011-04-03 16:11:46 -07:00
Brian Hackett
6e57f07678 [INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524. 2011-04-03 15:56:37 -07:00
Brian Hackett
c6dc64b0ba [INFER] Check VMFrame return addresses against inlined call sites when expanding frames, bug 647199. 2011-04-03 15:29:01 -07:00
Brian Hackett
55790989cb [INFER] Don't discard JIT code for the topmost frame while recompiling, bug 647424. 2011-04-03 14:37:50 -07:00
Brian Hackett
54470b0628 [INFER] Fix bogus assert, bug 647428. 2011-04-03 13:52:27 -07:00
Brian Hackett
79871712b2 [INFER] Make sure the operands in bitops are not copies of one another, bug 647440. 2011-04-03 13:47:46 -07:00
Brian Hackett
e90a588261 [INFER] Define static functions after defining the class for Number, String, bug 647537. 2011-04-03 13:14:38 -07:00
Brian Hackett
2390894c39 [INFER] Bail from GetProperty IC if js_FindProperty triggered recompilation, bug 647547. 2011-04-03 12:25:16 -07:00
Brian Hackett
90dcf54737 [INFER] Fix (again) use of CALLPROP ic after it may have been destroyed, bug 647559. 2011-04-03 12:14:15 -07:00
Brian Hackett
4d147d073e [INFER] DefineConstructorAndPrototype should update types before adding global property, bug 647464. 2011-04-03 11:34:31 -07:00
Brian Hackett
a583740626 [INFER] Use defineProperty when initializing singleton arrays, bug 647463. 2011-04-03 11:25:54 -07:00
Brian Hackett
1ed19456f6 [INFER] Always emit jsop_getprop stub calls for rejoining in JSOP_INSTANCEOF, bug 647532. 2011-04-03 11:16:44 -07:00
Jeff Walden
af6649155f Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00
Brian Hackett
8b7888dd66 Merge TM -> JM 2011-04-01 19:57:28 -07:00
Brian Hackett
a1f196a052 [INFER] More fixes for stock JM behavior, bug 647048. 2011-04-01 17:26:34 -07:00
Chris Leary
220936793d Bug 627632: Avoid unnecessary realloc in StringBuffer::finishString(). (r=luke) 2011-04-01 16:33:41 -07:00
Chris Leary
7863ab591f Bug 644753: Turn ILLEGAL_RANGE NS_ASSERTIONs to warnings. (r=mrbkap) 2011-04-01 12:07:39 -07:00
Steven Johnson
d5ee3b9a2c Bug 644473 - lirasm does not support backwards jump (r=njn)
--HG--
extra : convert_revision : 1efd735757e4a32a8d451007400319c4ad2d9238
2011-04-01 08:57:26 -07:00
Paul Biggar
59c1af50d3 Fix minor typo, followup to bug 634155 (no review) 2011-03-31 19:34:14 -07:00
Brian Hackett
b447aaf9bb [INFER] Restore stock JM behavior with inference off, bug 647048. 2011-03-31 18:11:41 -07:00
Luke Wagner
1913b99eb0 Bug 639883 - Use JSString (not JSShortString) for inline really short inline strings (r=njn)
--HG--
extra : rebase_source : 5d18f67f841864064e032836014978cf51b52f5c
2011-03-31 16:07:21 -07:00
Luke Wagner
53aca4319a Bug 639883 - rm js_FinalizeStringRT (r=igor)
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Brian Hackett
1053f5510c [INFER] Make ReleaseScriptCode specify which JIT to destroy, fix inline code invariant logic, bug 619433. 2011-03-31 07:39:30 -07:00
Brian Hackett
41b3f4b682 [INFER] Fix broken DefineConstructorAndPrototype logic, make jstype unsigned. 2011-03-31 03:26:10 -07:00