Commit Graph

64529 Commits

Author SHA1 Message Date
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
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
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
Brian Hackett
7b1f08d78a [INFER] Bail out from IC code on any recompilation/expansion change in the compartment, bug 646006. 2011-03-29 18:51:15 -07:00
Brian Hackett
ed887865ed [INFER] Reserve and check extra space when inlining frames, bug 646004. 2011-03-29 17:45:14 -07:00
Brian Hackett
14684c4e4b [INFER] Evict as necessary when restoring parent registers before branching, bug 646001. 2011-03-29 16:36:06 -07:00
Brian Hackett
d7434b87f6 [INFER] Add object test when statically walking the prototype chain for CALLPROP, bug 645985. 2011-03-29 15:57:38 -07:00
Brian Hackett
1f1a4d216c [INFER] Ensure that inlined scripts always have JIT code for expanding, bug 645666. 2011-03-29 08:30:05 -07:00
Brian Hackett
aa6b5e0e2f [INFER] Check for heavyweight functions when deciding to inline, bug 645645. 2011-03-29 06:39:09 -07:00
Brian Hackett
20901cf7b7 [INFER] Don't notify constraints of new TypeResults on functions with unknown properties, bug 645632. 2011-03-29 06:28:54 -07:00
Brian Hackett
6583f29906 [INFER] Always monitor accesses on __proto__ and similar properties, bug 645044. 2011-03-29 06:18:44 -07:00
Jan de Mooij
e8661b558f [INFER] Load atom pointer for CallProp stub call, bug 645629. r=bhackett 2011-03-29 05:55:49 -07:00
Brian Hackett
a3134a913f [INFER] Fix x64 build break. 2011-03-28 19:16:36 -07:00
Makoto Kato
7a5360fad1 Bug 636296 - Fix forceReturn trampoline on Win64/Solaris (r=dvander)
--HG--
extra : rebase_source : 85846343b38031931adafb7e44bc8983fdd3472c
2011-03-28 17:33:53 -07:00
Phil Ringnalda
8d4385b7fe Back out bd821ea0ad41 (638324) for mochitest-chrome crashes 2011-03-31 19:55:10 -07:00
Steve Fink
3b49dbe49e Backout bogus part of c46b4248ee36 (--rebase deleted a random file; thanks) (r=flames) 2011-03-31 15:48:25 -07:00
Andreas Gal
e69500d1bc Maintain a list of IdArrays as we hand them out via JS API (638324, r=brendan). 2011-03-31 14:42:33 -07:00
Jan de Mooij
759437fbc3 [INFER] Refactor RegExp.exec -> RegExp.test optimization, use in both TM and JM. 2011-03-28 17:06:49 -07:00
Jan de Mooij
465c36c7ff [INFER] Handle jsop_binary overflow in inc/dec ops, bug 644970. r=bhackett 2011-03-28 15:44:30 -07:00
Brian Hackett
977162f22a [INFER] More robust handling of pushed singletons in CALLPROP when the lhs could be null/undefined, bug 639099. 2011-03-27 19:21:59 -07:00
Brian Hackett
dc5232e83a [INFER] Inline callees at polymorphic call sites, bug 639099. 2011-03-27 18:25:05 -07:00
Brian Hackett
02df7e9a1d [INFER] Wait for code to get hot before inlining calls, bug 639099. 2011-03-27 07:48:03 -07:00
Brian Hackett
d31340f90f [INFER] Fix Linux build again. 2011-03-26 20:34:56 -07:00