/[pcre]/code/trunk/sljit/sljitNativeMIPS_common.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitNativeMIPS_common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 867 by zherczeg, Fri Jan 13 13:34:07 2012 UTC revision 875 by zherczeg, Sat Jan 14 17:05:53 2012 UTC
# Line 527  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_ Line 527  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_
527          compiler->local_size = (local_size + 15) & ~0xf;          compiler->local_size = (local_size + 15) & ~0xf;
528  }  }
529    
530  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_return(struct sljit_compiler *compiler, int src, sljit_w srcw)  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_return(struct sljit_compiler *compiler, int op, int src, sljit_w srcw)
531  {  {
532          int local_size;          int local_size;
533          sljit_ins base;          sljit_ins base;
534    
535          CHECK_ERROR();          CHECK_ERROR();
536          check_sljit_emit_return(compiler, src, srcw);          check_sljit_emit_return(compiler, op, src, srcw);
537    
538          local_size = compiler->local_size;          FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
   
         if (src != SLJIT_UNUSED && src != SLJIT_RETURN_REG)  
                 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, SLJIT_RETURN_REG, 0, TMP_REG1, 0, src, srcw));  
539    
540            local_size = compiler->local_size;
541          if (local_size <= SIMM_MAX)          if (local_size <= SIMM_MAX)
542                  base = S(REAL_STACK_PTR);                  base = S(REAL_STACK_PTR);
543          else {          else {

Legend:
Removed from v.867  
changed lines
  Added in v.875

  ViewVC Help
Powered by ViewVC 1.1.5