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

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

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

revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC revision 839 by zherczeg, Fri Dec 30 13:22:28 2011 UTC
# Line 1412  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 1412  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
1412          return SLJIT_SUCCESS;          return SLJIT_SUCCESS;
1413  }  }
1414    
1415    SLJIT_API_FUNC_ATTRIBUTE int sljit_get_register_index(int reg)
1416    {
1417            check_sljit_get_register_index(reg);
1418            return reg_map[reg];
1419    }
1420    
1421    SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_op_custom(struct sljit_compiler *compiler,
1422            void *instruction, int size)
1423    {
1424            CHECK_ERROR();
1425            check_sljit_emit_op_custom(compiler, instruction, size);
1426            SLJIT_ASSERT(size == 2 || size == 4);
1427    
1428            if (size == 2)
1429                    return push_inst16(compiler, *(sljit_uh*)instruction);
1430            return push_inst32(compiler, *(sljit_ins*)instruction);
1431    }
1432    
1433  /* --------------------------------------------------------------------- */  /* --------------------------------------------------------------------- */
1434  /*  Floating point operators                                             */  /*  Floating point operators                                             */
1435  /* --------------------------------------------------------------------- */  /* --------------------------------------------------------------------- */

Legend:
Removed from v.836  
changed lines
  Added in v.839

  ViewVC Help
Powered by ViewVC 1.1.5