Commit Graph

242065 Commits

Author SHA1 Message Date
Jan de Mooij
449130599d [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
25a7038588 [INFER] Fixes for crashtest and jstestbrowser. 2011-04-04 13:06:38 -07:00
Brian Hackett
61e5d061c3 [INFER] Maybe fix build breaks. 2011-04-03 19:54:19 -07:00
Brian Hackett
e5852578a6 [INFER] Fix build break. 2011-04-03 17:05:21 -07:00
Brian Hackett
98e45d3ad8 [INFER] Fix build break for uses of C++ constructs in jsarena.h 2011-04-03 16:19:05 -07:00
Brian Hackett
2ebe234c2d [INFER] Watch for recompilation triggered by ValueToObject, bug 647183. 2011-04-03 16:11:46 -07:00
Brian Hackett
42585b287d [INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524. 2011-04-03 15:56:37 -07:00
Brian Hackett
51a517205d [INFER] Check VMFrame return addresses against inlined call sites when expanding frames, bug 647199. 2011-04-03 15:29:01 -07:00
Brian Hackett
59fecbb0a0 [INFER] Don't discard JIT code for the topmost frame while recompiling, bug 647424. 2011-04-03 14:37:50 -07:00
Brian Hackett
24e4742a90 [INFER] Fix bogus assert, bug 647428. 2011-04-03 13:52:27 -07:00
Brian Hackett
0aa5b9086e [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
1e01fd5422 [INFER] Define static functions after defining the class for Number, String, bug 647537. 2011-04-03 13:14:38 -07:00
Brian Hackett
f673128fdb [INFER] Bail from GetProperty IC if js_FindProperty triggered recompilation, bug 647547. 2011-04-03 12:25:16 -07:00
Brian Hackett
138f07e7f0 [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
efd1ca29b8 [INFER] DefineConstructorAndPrototype should update types before adding global property, bug 647464. 2011-04-03 11:34:31 -07:00
Brian Hackett
9e09568d32 [INFER] Use defineProperty when initializing singleton arrays, bug 647463. 2011-04-03 11:25:54 -07:00
Brian Hackett
1b00a17eb5 [INFER] Always emit jsop_getprop stub calls for rejoining in JSOP_INSTANCEOF, bug 647532. 2011-04-03 11:16:44 -07:00
Brian Hackett
f041f52a4a Merge TM -> JM 2011-04-01 19:57:28 -07:00
Brian Hackett
7adbe26370 [INFER] More fixes for stock JM behavior, bug 647048. 2011-04-01 17:26:34 -07:00
Chris Leary
ece20cbdb6 Bug 627632: Avoid unnecessary realloc in StringBuffer::finishString(). (r=luke) 2011-04-01 16:33:41 -07:00
Chris Leary
589237a7e3 Bug 644753: Turn ILLEGAL_RANGE NS_ASSERTIONs to warnings. (r=mrbkap) 2011-04-01 12:07:39 -07:00
Paul Biggar
a6c28a1df8 Fix minor typo, followup to bug 634155 (no review) 2011-03-31 19:34:14 -07:00
Brian Hackett
164affc87d [INFER] Restore stock JM behavior with inference off, bug 647048. 2011-03-31 18:11:41 -07:00
Luke Wagner
4d367fd8c8 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
8c0d9d3fb1 Bug 639883 - rm js_FinalizeStringRT (r=igor)
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Brian Hackett
9a5886bec4 [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
d10dd82d33 [INFER] Fix broken DefineConstructorAndPrototype logic, make jstype unsigned. 2011-03-31 03:26:10 -07:00
Brian Hackett
b068b3156e [INFER] Move containingSegment to StackSpace, fix uninitialized field, bug 646660. 2011-03-30 17:24:34 -07:00
Brian Hackett
7748b65371 [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
c90193f635 [INFER] Always mark overflows for slowpath incops, bug 646594. 2011-03-30 15:01:31 -07:00
Brian Hackett
4f62e397b9 [INFER] Track currently compiled script on the TypeCompartment, 646587. 2011-03-30 14:10:16 -07:00
Brian Hackett
504267d584 [INFER] Disallow reentrant recompilation, inlining during recompilation from an active call IC, bug 646480. 2011-03-30 13:10:23 -07:00
Brian Hackett
241e029c16 [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
3c98616695 [INFER] Don't track type sets of values pushed by opcode fusions, bug 646411. 2011-03-30 11:30:23 -07:00
Brian Hackett
82583dabb9 [INFER] Cache standard class objects earlier to avoid reentrant class construction, bug 646393. 2011-03-30 07:08:58 -07:00
Brian Hackett
fa538c39ec [INFER] Fix fallout from bug 642307 commit. 2011-03-29 22:26:21 -07:00
Brian Hackett
1549b272f6 [INFER] Allow known integers to be copies of doubles, bug 645657. 2011-03-29 22:17:23 -07:00
Brian Hackett
f9488cbaad [INFER] Don't try to trigger lazy standard class initialization during inference, bug 642307. 2011-03-29 21:49:38 -07:00
Brian Hackett
b84a6927ea [INFER] Tolerate scripts whose JIT code has already been destroyed when recompiling, bug 646215. 2011-03-29 21:20:09 -07:00
Brian Hackett
f6263a29f7 [INFER] RegisterAllocation::synced should account for parentRegs, bug 646060. 2011-03-29 21:15:51 -07:00
Brian Hackett
c4ce815d34 [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
173fbcdb0c [INFER] Reserve and check extra space when inlining frames, bug 646004. 2011-03-29 17:45:14 -07:00
Brian Hackett
ea9909acc8 [INFER] Evict as necessary when restoring parent registers before branching, bug 646001. 2011-03-29 16:36:06 -07:00
Brian Hackett
7363b6d023 [INFER] Add object test when statically walking the prototype chain for CALLPROP, bug 645985. 2011-03-29 15:57:38 -07:00
Brian Hackett
c66bf02090 [INFER] Ensure that inlined scripts always have JIT code for expanding, bug 645666. 2011-03-29 08:30:05 -07:00
Brian Hackett
47ce6dc363 [INFER] Check for heavyweight functions when deciding to inline, bug 645645. 2011-03-29 06:39:09 -07:00
Brian Hackett
70d3061e37 [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
df714e7b6b [INFER] Always monitor accesses on __proto__ and similar properties, bug 645044. 2011-03-29 06:18:44 -07:00
Jan de Mooij
faa1376c7d [INFER] Load atom pointer for CallProp stub call, bug 645629. r=bhackett 2011-03-29 05:55:49 -07:00
Brian Hackett
b827428a7a [INFER] Fix x64 build break. 2011-03-28 19:16:36 -07:00