Changeset 43586

Show
Ignore:
Timestamp:
05/12/09 14:07:42 (10 months ago)
Author:
weinig@apple.com
Message:

2009-05-12 Sam Weinig < sam@webkit.org>

Reviewed by Geoffrey Garen.

Add slow cases for op_jnless or emit_op_jnlesseq.

  • jit/JITArithmetic.cpp: (JSC::JIT::emitSlow_op_jnless): (JSC::JIT::emitSlow_op_jnlesseq):
Location:
branches/nitro-extreme/JavaScriptCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/nitro-extreme/JavaScriptCore/ChangeLog

    r43585 r43586  
     12009-05-12  Sam Weinig  <sam@webkit.org> 
     2 
     3        Reviewed by Geoffrey Garen. 
     4 
     5        Add slow cases for op_jnless or emit_op_jnlesseq. 
     6 
     7        * jit/JITArithmetic.cpp: 
     8        (JSC::JIT::emitSlow_op_jnless): 
     9        (JSC::JIT::emitSlow_op_jnlesseq): 
     10 
    1112009-05-12  Sam Weinig  <sam@webkit.org> 
    212 
  • branches/nitro-extreme/JavaScriptCore/jit/JITArithmetic.cpp

    r43585 r43586  
    8383    linkSlowCase(iter); // int32 check 
    8484 
    85     // FIXME: Implement slow case. 
    86     breakpoint(); 
    87     UNUSED_PARAM(target); 
     85    JITStubCall stubCall(this, JITStubs::cti_op_jless); 
     86    stubCall.addArgument(op1); 
     87    stubCall.addArgument(op2); 
     88    stubCall.call(); 
     89    emitJumpSlowToHot(branchTest32(Zero, regT0), target + 3); 
    8890} 
    8991 
     
    123125    linkSlowCase(iter); // int32 check 
    124126 
    125     // FIXME: Implement slow case. 
    126     breakpoint(); 
    127     UNUSED_PARAM(target); 
     127    JITStubCall stubCall(this, JITStubs::cti_op_jlesseq); 
     128    stubCall.addArgument(op1); 
     129    stubCall.addArgument(op2); 
     130    stubCall.call(); 
     131    emitJumpSlowToHot(branchTest32(Zero, regT0), target + 3); 
    128132} 
    129133