Commit Graph

14619 Commits

Author SHA1 Message Date
Brian Hackett
f1b91c8773 [INFER] Analysis and compiler improvements for polymorphic call sites, bug 653962. 2011-05-20 19:33:06 -07:00
Jan de Mooij
d14970c9fe [INFER] Release GC lock after printing inference results to prevent deadlocks, bug 658623. r=bhackett 2011-05-20 22:02:54 +02:00
Jacob Bramley
b8e8e65e42 [INFER] Add missing storeDouble/loadDouble implementations to the ARM back-end. [bug 658239] [r=bhackett] 2011-05-20 11:37:22 +01:00
Brian Hackett
d36fe23da0 [INFER] Update possible types when generating IC for GETXPROP, bug 658240. 2011-05-19 16:00:25 -07:00
Brian Hackett
000a0c884c [INFER] Add missing typeMonitor calls when stubbing GETELEM and CALLELEM, bug 658294. 2011-05-19 15:32:11 -07:00
Brian Hackett
aee058456f [INFER] Restrict tracked loop test information to known integers, bug 658290. 2011-05-19 15:02:36 -07:00
Brian Hackett
b87d5cbe5d [INFER] Recompile inline parents of scripts when adding type barriers at new sites, bug 658211. 2011-05-19 13:56:11 -07:00
Brian Hackett
41d56c0bb1 [INFER] Leave analysis before possibly reentering the interpreter while finishing incops, bug 658209. 2011-05-19 12:33:12 -07:00
Brian Hackett
79674e33bc [INFER] Audit uses of PC in analysis and inference for UntrapOpcode, bug 657975, bug 657979, bug 657984. 2011-05-19 10:09:17 -07:00
Brian Hackett
14097cb845 [INFER] Remove cx->newTypeObject, bug 657412. 2011-05-19 09:15:12 -07:00
Brian Hackett
ea07081537 [INFER] Fixes for OOM handling, bug 657633. 2011-05-18 13:15:38 -07:00
Brian Hackett
131bcf7ab2 [INFER] Disable inference and infallibly discard jitcode on OOM, bug 637674. 2011-05-18 12:34:17 -07:00
Brian Hackett
7efba20ba5 [INFER] Add WithType variation for nativeSetSlot, fix gaps in type barriers, bug 657901. 2011-05-18 10:43:08 -07:00
Brian Hackett
3686205693 [INFER] Block repeated recursive EnterMethodJIT on the same stack frame from loop backedges, bug 657890. 2011-05-18 10:12:06 -07:00
Brian Hackett
534fc1b409 [INFER] Block recursion in AnalyzeNewScriptProperties, bug 657624. 2011-05-18 09:21:13 -07:00
Brian Hackett
e10c9c51e3 [INFER] x64 fixes, bug 656920. 2011-05-18 09:06:56 -07:00
Brian Hackett
61c6f0cd96 Read barriers for property accesses, bug 656920. 2011-05-17 20:29:41 -07:00
Brian Hackett
96bb507e91 [INFER] Update type information in DefineNativeProperty when defining method properties, bug 657586. 2011-05-17 06:32:20 -07:00
Jan de Mooij
a5391cf52b [INFER] Fix jsop_relational_double to sync rhs correctly if lhs is not a number, bug 657120. r=bhackett 2011-05-17 14:09:08 +02:00
Brian Hackett
4cb0c5c5ef [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Brian Hackett
98763bc2cb [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Brian Hackett
c3e5ec9390 [INFER] Restore known type of tracked vars at access points, not join points, bug 657304. 2011-05-16 10:22:41 -07:00
Brian Hackett
7c0d886caf [INFER] Make sure Interpret finishes the frame when rejoining from the interpoline, bu 657288. 2011-05-16 07:46:47 -07:00
Brian Hackett
83b1ef1e45 [INFER] Don't run same-compartment assertions for GETLOCAL followed by POP, bug 657287. 2011-05-16 06:59:37 -07:00
Jan de Mooij
d6fcfe5e43 [INFER] Revert 118fb707c569, just initialize varTypes to NULL in ActiveFrame constructor. 2011-05-16 11:02:18 +02:00
Jan de Mooij
cd0e91e189 [INFER] Set varTypes to NULL with inference disabled to prevent crashes. r=orange 2011-05-16 10:27:50 +02:00
Brian Hackett
4b32973a89 [INFER] Fix memory leaks. 2011-05-15 23:32:21 -07:00
Brian Hackett
2eed6ef8b1 [INFER] Allow for scripts with no reachable return statement when analyzing 'new' script properties, bug 657197. 2011-05-15 22:58:53 -07:00
Brian Hackett
98223df216 [INFER] Object.toLocaleString is not guaranteed to produce a string, bug 657225. 2011-05-15 22:46:19 -07:00
Brian Hackett
309753c03d [INFER] Fix bogus assert in array_pop_dense, bug 657245. 2011-05-15 22:08:10 -07:00
Brian Hackett
9074d3578c [INFER] Match js_StringIsIndex in termination condition for MakeTypeId, bug 657247. 2011-05-15 21:27:12 -07:00
Brian Hackett
afdce01248 Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
2cc64eaaa8 [INFER] Treat NEWOBJECT like NEWINIT in scripts marked as compileAndGo but with no associated global object, bug 619433. 2011-05-15 09:33:40 -07:00
Brian Hackett
2e877ba43c [INFER] Use script->global instead of compileAndGo bit in Compiler, bug 619433. 2011-05-15 08:38:09 -07:00
Brian Hackett
be175c7037 [INFER] Allow ValueRemat to contain FP registers, don't break doubles in setelem_dense and Array.push, bug 657220. 2011-05-15 08:17:36 -07:00
Brian Hackett
08cadd8652 [INFER] Release reference on orphaned natives if the native throws an exception, bug 656753. 2011-05-14 14:25:34 -07:00
Brian Hackett
bef7d712ac [INFER] Coerce locals/args inferred as doubles to doubles after all writes, not just SET ops, bug 656748. 2011-05-14 10:38:51 -07:00
Brian Hackett
42716ba5f6 [INFER] Don't learn types for dead entries at join points, bug 656591, learn argument types at script entry and mark monitored call ICs, bug 656920. 2011-05-14 10:30:03 -07:00
Brian Hackett
995cf02ec7 [INFER] Check types->unknown() before inspecting other contents in testSingletonPropertyTypes, bug 656411. 2011-05-14 08:02:25 -07:00
Brian Hackett
9d91cd346a [INFER] Use initialized length instead of capacity in Array.join optimization, bug 655769. 2011-05-14 07:39:42 -07:00
Brian Hackett
0ef82b3c5b [INFER] Always ensure interpreted scripts have a type set array, bug 656920. 2011-05-14 07:12:19 -07:00
Brian Hackett
2d27a22974 [INFER] Allow read barriers at property accesses and call sites, bug 656920. 2011-05-14 05:45:13 -07:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Brian Hackett
bf0fc70c41 [INFER] Handle premature returns and uses of 'this' in conditional code when analyzing 'new' script properties, bug 656914. 2011-05-13 07:53:51 -07:00
Brian Hackett
f4e191294e [INFER] Improved robustness and tracking of 'new' object properties across scripts, bug 653962. 2011-05-12 20:07:23 -07:00
Brian Hackett
543a5fc8ef [INFER] Don't analyze types in compileAndGo scripts with a cleared global, bug 619433. 2011-05-12 17:59:28 -07:00
Luke Wagner
b1faffbccb Bug 655435 - Fix leak in Atomize (r=njn,cdleary) 2011-05-12 13:15:36 -07:00
Luke Wagner
4a10088b08 Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, this time with hacks to fix xpcshell hacks (r=mrbkap) 2011-05-12 12:12:50 -07:00
Ed Morley
c9aaef67a9 Bug 652731 - Remove check for ZIP in js/src configure, since spidermonkey does not require it; r=jimb 2011-05-13 06:59:56 -07:00
Brian Hackett
dfb0289b0e [INFER] Build and jit-tests fixes for Windows, bug 619433. 2011-05-12 09:49:04 -07:00