Commit Graph

14301 Commits

Author SHA1 Message Date
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
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
William Maddox
87f3288bed Bug 644900 - Generate probes for stack expansion when allocating large frames on Windows (r=edwsmith)
Also extend lirasm with --stkskip option to exercise the fix.

--HG--
extra : convert_revision : 670889ebdbca23505e134a116155a2bb2ca41240
2011-03-30 21:45:21 -07:00
Paul Biggar
7a1dbd7c9f Bug 647482 (followup): Fix jstests for directory structure used by SM builds, by actually searching the current path (r=dmandelin) 2011-04-17 17:45:42 +01:00
Andreas Gal
fd2168c3af Implement Harmony weak maps (bug 547941, r=jorendorff). 2011-04-16 21:23:44 -07:00
Andreas Gal
04ee44b4e6 for-in loop on proxy does not suppress properties deleted during enumeration (bug 600702, r=brendan) 2011-04-16 14:51:18 -07:00
Wes Garland
ed8e6d5fcf Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Wes Garland
256dd8ad05 Bug 586016, update JS_GetImplementationVersion. r=jorendorff 2011-04-16 14:16:50 -04:00
Colin Walters
2a0395d63b Bug 648102 - Make shell REPL/snarf/run always take UTF-8 input; add JS_DecodeUTF8; add UTF-8 flag to JS_BufferIsCompilableUnit. r=gal 2011-04-16 14:11:10 -04:00
Wes Garland
fcc7ecf08b Bug 648102 - Add UTF-8 C strings option for shell. r=gal 2011-04-16 13:44:45 -04:00
Dave Yeo
2f806bf292 Bug 648208 - Fix build break on OS/2. r=igor 2011-04-16 12:55:11 -04:00
Luke Wagner
6fcaf8c63f Bug 649531 - tidy up this-computation logic a bit, add some asserts (r=waldo)
--HG--
extra : rebase_source : f01409526e4582b87ced4b9f9d1170254a55373b
2011-04-12 17:16:12 -07:00
Jason Orendorff
28a0d1622a Bug 614714 - Change JS_ClearScope to use the new enumeration code. r=Waldo. 2011-04-14 16:59:26 -07:00
David Anderson
61cc68f032 Fix clang warnings (bug 647280, r=luke). 2011-04-14 13:45:06 -07:00
Brian Hackett
4b2582d94a [INFER] Move containingSegment to StackSpace, fix uninitialized field, bug 646660. 2011-03-30 17:24:34 -07:00
Brian Hackett
740de451bc [INFER] Update the types of existing copies when updating the backing's type in storeTop, bug 646495. 2011-03-30 15:16:25 -07:00
Brian Hackett
47fe3ec386 [INFER] Always mark overflows for slowpath incops, bug 646594. 2011-03-30 15:01:31 -07:00
Brian Hackett
0efc0215e7 [INFER] Track currently compiled script on the TypeCompartment, 646587. 2011-03-30 14:10:16 -07:00
Brian Hackett
a2bbf13b04 [INFER] Disallow reentrant recompilation, inlining during recompilation from an active call IC, bug 646480. 2011-03-30 13:10:23 -07:00
Brian Hackett
221e7c805b [INFER] Don't use a stub call in PROPINC on known non-objects, bug 646429. 2011-03-30 11:47:02 -07:00
Brian Hackett
2d35b04f7f [INFER] Don't track type sets of values pushed by opcode fusions, bug 646411. 2011-03-30 11:30:23 -07:00
Brian Hackett
70ee8fa7f3 [INFER] Cache standard class objects earlier to avoid reentrant class construction, bug 646393. 2011-03-30 07:08:58 -07:00
Brian Hackett
cb84851874 [INFER] Fix fallout from bug 642307 commit. 2011-03-29 22:26:21 -07:00
Brian Hackett
b9d34d8bb2 [INFER] Allow known integers to be copies of doubles, bug 645657. 2011-03-29 22:17:23 -07:00
Brian Hackett
1a69b03a70 [INFER] Don't try to trigger lazy standard class initialization during inference, bug 642307. 2011-03-29 21:49:38 -07:00
Brian Hackett
5b04fe74cd [INFER] Tolerate scripts whose JIT code has already been destroyed when recompiling, bug 646215. 2011-03-29 21:20:09 -07:00
Brian Hackett
643346988b [INFER] RegisterAllocation::synced should account for parentRegs, bug 646060. 2011-03-29 21:15:51 -07:00