-
msaboff@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=112609 Reviewed by Geoffrey Garen. Created local valueFPR and scratchFPR and filled them with valueOp.fpr() and scratch.fpr() respectively so that if valueOp.fpr() causes a spill during allocation, it occurs before the branch and also to follow convention. Added register allocation checks to FPRTemporary. Cleaned up a couple of other places to follow the "AllocatVirtualRegType foo, get machine reg from foo" pattern. * dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray): * dfg/DFGSpeculativeJIT.h: (JSC::DFG::SpeculativeJIT::fprAllocate): * dfg/DFGSpeculativeJIT32_64.cpp: (JSC::DFG::SpeculativeJIT::convertToDouble): (JSC::DFG::SpeculativeJIT::compile): * dfg/DFGSpeculativeJIT64.cpp: (JSC::DFG::SpeculativeJIT::compile): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e41d7f5d