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

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

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

revision 874 by zherczeg, Fri Jan 13 13:34:07 2012 UTC revision 875 by zherczeg, Sat Jan 14 17:05:53 2012 UTC
# Line 297  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_ Line 297  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_
297  #endif  #endif
298  }  }
299    
300  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)
301  {  {
302          int size;          int size;
303          sljit_ub *buf;          sljit_ub *buf;
304    
305          CHECK_ERROR();          CHECK_ERROR();
306          check_sljit_emit_return(compiler, src, srcw);          check_sljit_emit_return(compiler, op, src, srcw);
307    
308          compiler->flags_saved = 0;          compiler->flags_saved = 0;
309            FAIL_IF(emit_mov_before_return(compiler, op, src, srcw));
         if (src != SLJIT_UNUSED && src != SLJIT_RETURN_REG) {  
                 compiler->mode32 = 0;  
                 FAIL_IF(emit_mov(compiler, SLJIT_RETURN_REG, 0, src, srcw));  
         }  
310    
311          if (compiler->local_size > 0) {          if (compiler->local_size > 0) {
312                  if (compiler->local_size <= 127) {                  if (compiler->local_size <= 127) {

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

  ViewVC Help
Powered by ViewVC 1.1.5