| 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: |
| 354 |
#endif /* !SLJIT_UNALIGNED */ |
#endif /* !SLJIT_UNALIGNED */ |
| 355 |
|
|
| 356 |
#if (defined SLJIT_EXECUTABLE_ALLOCATOR && SLJIT_EXECUTABLE_ALLOCATOR) |
#if (defined SLJIT_EXECUTABLE_ALLOCATOR && SLJIT_EXECUTABLE_ALLOCATOR) |
| 357 |
void* sljit_malloc_exec(sljit_uw size); |
SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size); |
| 358 |
void sljit_free_exec(void* ptr); |
SLJIT_API_FUNC_ATTRIBUTE void sljit_free_exec(void* ptr); |
| 359 |
#define SLJIT_MALLOC_EXEC(size) sljit_malloc_exec(size) |
#define SLJIT_MALLOC_EXEC(size) sljit_malloc_exec(size) |
| 360 |
#define SLJIT_FREE_EXEC(ptr) sljit_free_exec(ptr) |
#define SLJIT_FREE_EXEC(ptr) sljit_free_exec(ptr) |
| 361 |
#endif |
#endif |