| 1 |
/* |
/* |
| 2 |
* Stack-less Just-In-Time compiler |
* Stack-less Just-In-Time compiler |
| 3 |
* |
* |
| 4 |
* Copyright 2009-2010 Zoltan Herczeg (hzmester@freemail.hu). All rights reserved. |
* Copyright 2009-2012 Zoltan Herczeg (hzmester@freemail.hu). All rights reserved. |
| 5 |
* |
* |
| 6 |
* Redistribution and use in source and binary forms, with or without modification, are |
* Redistribution and use in source and binary forms, with or without modification, are |
| 7 |
* permitted provided that the following conditions are met: |
* permitted provided that the following conditions are met: |
| 416 |
|
|
| 417 |
SLJIT_CACHE_FLUSH(code, code_ptr); |
SLJIT_CACHE_FLUSH(code, code_ptr); |
| 418 |
compiler->error = SLJIT_ERR_COMPILED; |
compiler->error = SLJIT_ERR_COMPILED; |
| 419 |
|
compiler->executable_size = compiler->size * sizeof(sljit_uh); |
| 420 |
/* Set thumb mode flag. */ |
/* Set thumb mode flag. */ |
| 421 |
return (void*)((sljit_uw)code | 0x1); |
return (void*)((sljit_uw)code | 0x1); |
| 422 |
} |
} |