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

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

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

revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC revision 875 by zherczeg, Sat Jan 14 17:05:53 2012 UTC
# Line 890  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_ Line 890  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_
890          compiler->local_size = local_size;          compiler->local_size = local_size;
891  }  }
892    
893  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)
894  {  {
895          sljit_uw pop;          sljit_uw pop;
896    
897          CHECK_ERROR();          CHECK_ERROR();
898          check_sljit_emit_return(compiler, src, srcw);          check_sljit_emit_return(compiler, op, src, srcw);
899    
900          if (src != SLJIT_UNUSED && src != SLJIT_RETURN_REG)          FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
                 FAIL_IF(emit_op(compiler, SLJIT_MOV, ALLOW_ANY_IMM, SLJIT_RETURN_REG, 0, TMP_REG1, 0, src, srcw));  
901    
902          if (compiler->local_size > 0)          if (compiler->local_size > 0)
903                  FAIL_IF(emit_op(compiler, SLJIT_ADD, ALLOW_IMM, SLJIT_LOCALS_REG, 0, SLJIT_LOCALS_REG, 0, SLJIT_IMM, compiler->local_size));                  FAIL_IF(emit_op(compiler, SLJIT_ADD, ALLOW_IMM, SLJIT_LOCALS_REG, 0, SLJIT_LOCALS_REG, 0, SLJIT_IMM, compiler->local_size));

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

  ViewVC Help
Powered by ViewVC 1.1.5