Commit Graph

14608 Commits

Author SHA1 Message Date
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
Jan de Mooij
fb403a239f [INFER] Use AnyRegisterID::fromRaw in peekReg instead of casting to RegisterID, bug 655810. r=bhackett 2011-05-12 15:31:17 +02:00
Brian Hackett
55015fcf39 Merge TM -> JM 2011-05-11 20:37:23 -07:00
Luke Wagner
f537f477d3 Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, for now (r=mrbkap) 2011-05-11 15:57:54 -07:00
Brian Hackett
b0932f1fe6 [INFER] Only carry tracked slots in FP registers across branches, bug 656259. 2011-05-11 10:22:42 -07:00
Brian Hackett
aafdf60b8a [INFER] Don't get type properties from Array.prototype having unknown properties, bug 656252. 2011-05-11 08:31:24 -07:00
Brian Hackett
d76d82846c [INFER] Skip silly FrameEntry cases when inlining Array.{push,pop}, bug 656221. 2011-05-11 07:37:38 -07:00
Jan de Mooij
ad51c2b3b1 [INFER] Cast returnData to uint32 instead of uint64 to fix Linux orange, bug 655950. r=bhackett 2011-05-11 16:32:51 +02:00
Jan de Mooij
481abc13d2 [INFER] Don't use FPConversionTemp in ensureInteger, it does not work without SSE 4.1. r=bhackett 2011-05-11 16:32:01 +02:00
Jacob Bramley
5f4c1cdd45 Add interpoline support to ARM. [bug 655260] [r=bhackett] 2011-05-11 15:16:22 +01:00
Jacob Bramley
70dde7f53e Tweak pushSynced call to fix ARM build. [bug 655260] [r=bhackett] 2011-05-11 15:16:22 +01:00
Jacob Bramley
f6cf2952eb Add absDouble to the MacroAssembler interface, and abstract the 'x & -x' trick away as it is an x86-specific optimization. [bug 655260] [r=bhackett] 2011-05-11 15:16:22 +01:00