[Webkit-unassigned] [Bug 104807] Adds support for fromCharCode intrinsic

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 14:39:53 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=104807





--- Comment #19 from Vahag <vaag at ispras.ru>  2013-04-08 14:38:06 PST ---
(In reply to comment #17)
> (From update of attachment 196949 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=196949&action=review
> 
> > Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2109
> > +    JITCompiler::Jump jmpAfter = m_jit.jump();
> > +
> > +    isNotASCIICharacter.link(&m_jit);
> > +    JITCompiler::Jump jmpSlowCase = m_jit.jump();
> > +    addSlowPathGenerator(slowPathCall(jmpSlowCase, this, operationStringFromCharCode, scratchReg, propertyReg));
> > +
> > +    jmpAfter.link(&m_jit);
> 
> This is wrong.  You should be passing isNotASCIICharacter as the first argument to slowPathCall(), and omitting the jmpAfter thing.
> 
> > Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2110
> > +    speculationCheck(Uncountable, JSValueRegs(), 0, m_jit.branchTest32(MacroAssembler::Zero, scratchReg));
> 
> Why?

Fixed

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list