• sgjesse@chromium.org's avatar
    ARM: Add type-feedback recording for compare · dabc5905
    sgjesse@chromium.org authored
    Change the comparison in the full code generator to use CompareIC instead of the CompareStub to record the types. This also implements the patching in the full code generator where the inlined smi code is de-activated by default to call the CompareIC once and then activating the inlined smi code by patching the code.
    
    Fixed the smi comparison in the ICCompareStub.
    
    Fixed ToBooleanStub to ensure that the scratch register used is not the input. Use r9 as default as that will never be input with Crankshaft.
    
    Implemented lithium instruction CmpTAndBranch.
    
    Make sure that the lithium instruction CmpID have operands in registrers as the current optimized code expects that.
    Review URL: http://codereview.chromium.org/6461017
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    dabc5905
constants-arm.h 25.3 KB