Commit Graph

69526 Commits

Author SHA1 Message Date
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
Masatoshi Kimura
2b9d90ff55 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking
--HG--
extra : transplant_source : %DF%B7%0D%26%87NT%01RU%A3U%97FT%C0%C8%C7%C0V
2011-05-11 11:06:47 -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
Jacob Bramley
d187d1fc87 Adjust VMFrame assertions to fix the ARM build. [bug 655260] [r=bhackett] 2011-05-11 15:16:22 +01:00
Jacob Bramley
53b1980000 Tweak register name calls on ARM to fix the build. [bug 655260] [r=pbiggar] 2011-05-11 15:16:22 +01:00
Brian Hackett
82629392f1 [INFER] Inlined natives for Array.{push,pop}, object flag cleanup, bug 653962. 2011-05-10 23:33:30 -07:00
Masatoshi Kimura
701140f77a Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Tom Schuster
b520ae3309 Bug 656317: add .append back in path reversal r=jorendorff 2011-05-11 18:23:21 +02:00
Jason Orendorff
534773d09a Bug 651030 - When removing a property from an object, add its slot to the freelist only if the slot is not reserved. r=cdleary. 2011-05-11 10:24:57 -05:00
Gregor Wagner
dc5385284e Bug 603916 - unifying GC sheduling. r=igor 2011-05-10 22:37:11 -07:00
Luke Wagner
bb15eadb74 Back out 33d8b418732b for causing Talos dromaeo_css crash 2011-05-10 18:49:27 -07:00
Jeff Walden
79f457610d Apparently DO_NEXT_OP must be passed len, sigh. 2011-05-10 18:23:13 -07:00
Jeff Walden
b763cc1394 Last fix, actually built js/src/ on Windows this time. If this doesn't work, I'm going to be angry. r=final-answer 2011-05-10 17:37:05 -07:00
Jeff Walden
3675f489ec When was it we were dropping support for Windows again? r=hate-hate-hate 2011-05-10 16:27:17 -07:00
Jeff Walden
6006abbff9 More bustage fixing, r=somewhat-less-failtastic-tinderboxen 2011-05-10 16:07:07 -07:00
Jeff Walden
2387589ebc Followup build bustage fixes. r=failtastic-tinderboxen 2011-05-10 15:53:27 -07:00
Jeff Walden
be37c9c02b Remove js_ReparentTypedArrayToScope as it's unused. No bug, r=jorendorff, rs=bent 2011-05-10 14:40:45 -07:00
Brian Hackett
511a786c20 [INFER] Don't incorrectly mark compilation failure on loop bodies with large modsets, bug 656096. 2011-05-10 13:34:23 -07:00
Brian Hackett
efa5cac9d0 [INFER] Don't fold CALLPROP pushed value in SSA analysis, force out entries for popped values when returning from inlined calls, bug 653962. 2011-05-10 13:21:44 -07:00
Brian Hackett
4995d87bb4 [INFER] Don't make a local copy of cx->regs until ready to push a new frame, bug 655991. 2011-05-10 10:07:58 -07:00
Brian Hackett
59b67aa80e Merge. 2011-05-10 07:51:57 -07:00
Brian Hackett
d70c7dce96 [INFER] Get object from right slot when handling overflowing INCPROP, bug 655998. 2011-05-10 07:51:14 -07:00
Brian Hackett
8cbde73ee4 [INFER] Don't assign FP registers in allocation to entries which are currently doubles but not doubles at the target, bug 655990. 2011-05-10 07:40:59 -07:00
Paul Biggar
510afa354d Bug 654668: Add test. 2011-05-10 07:37:32 -07:00
Brian Hackett
b106aecd63 [INFER] Don't inline scripts which use 'this' and could ever be called with a 'this' value needing wrapping, bug 655954. 2011-05-10 07:09:02 -07:00
Brian Hackett
48d3db3956 [INFER] Don't try to immediately recompile scripts in cases of static overflow and compiler-triggered recompilation, bug 655940. 2011-05-10 06:43:43 -07:00
Brian Hackett
29d8f3f7b5 [INFER] Use type barrier for values produced by class getProperty hooks, bug 655938. 2011-05-10 06:17:32 -07:00
Jan de Mooij
f2561647d9 [INFER] Add JSOP_CALLGLOBAL rejoin to interpoline, bug 655949. r=bhackett 2011-05-10 15:06:42 +02:00
Jan de Mooij
e74ca6705c [INFER] Add JSOP_NOTRACE to type inference switch, bug 655708. r=bhackett 2011-05-10 15:06:41 +02:00
Brian Hackett
2423ade3f0 [INFER] Fix broken test for loop invariant slots, bug 655854. 2011-05-09 20:21:34 -07:00
Brian Hackett
769796394d [INFER] Reset use count when recompiling, bug 650163. 2011-05-09 15:11:32 -07:00
Jan de Mooij
42a0a50b2d [INFER] Mark type of JSOP_THIS with type null or undefined as unknown, bug 655711. r=bhackett 2011-05-10 00:01:48 +02:00
Jan de Mooij
a44d225855 [INFER] Don't call fixDoubleTypes twice for the same op, bug 655505. r=bhackett 2011-05-10 00:01:48 +02:00
Brian Hackett
e5027c0d64 [INFER] Perform an indirect jump at the end of native stubs on x64, bug 639967. 2011-05-09 14:00:32 -07:00
Brian Hackett
aae52a8f74 [INFER] Don't use shell bindMethod function on non-compileAndGo scripts, bug 654710. 2011-05-09 13:03:03 -07:00
Brian Hackett
4955efb887 [INFER] Don't mark type as synced after writing known-undefined values to locals, bug 655508. 2011-05-09 10:56:54 -07:00
Brian Hackett
3f7deb9632 [INFER] Need to call ensureVarTypes before slotTypes, bug 653395. 2011-05-09 10:27:18 -07:00
Brian Hackett
93fea1ae90 [INFER] Maybe fix build breaks. 2011-05-09 10:00:29 -07:00
Brian Hackett
c930c3e982 Merge TM -> JM
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Paul Biggar
9c572e750b Bug 652593: Remove compound GET*PROP opcodes, to fix strict warnings (r=bhackett,dao)
The undefined property strict-mode warning was missed under some compound
opcodes. JM had removed those opcodes, and so the warnings appeared. This
ports the opcode remove to TM, fixing the warnings.

Bug 647626 removed the compound opcodes from JM, as they made type-inference
and the JITs more complex, for a minor speed impact (see
https://bugzilla.mozilla.org/show_bug.cgi?id=647626#c6 for benchmarks).

This also fixes the strict mode warnings that appeared in the browser as a
result of the fix.
2011-05-09 07:37:37 -07:00
Brian Hackett
c280d034f7 Merge. 2011-05-09 07:28:32 -07:00
Brian Hackett
417f1e64b9 [INFER] Remove on stack recompilation, allow removed on stack JIT frames to rejoin into the interpreter, bug 650163. 2011-05-09 07:12:47 -07:00