Fix jmp_buf size to fix assert in arm-linux

Related issue: #296

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
This commit is contained in:
SaeHie Park 2015-07-03 11:07:42 +09:00
parent ae3eea8ae8
commit 93e3cb13dd

View File

@ -47,14 +47,14 @@
* - return address (to jump to upon longjmp)
* - x87 control word
*
* ARMv7 (8 * 4 + 16 * 4 bytes):
* - r4 - r11
* ARMv7 (10 * 4 + 16 * 4 bytes):
* - r4 - r11, sp, lr
* - s16 - s31 (if hardfp enabled)
*
* See also:
* setjmp, longjmp
*/
typedef uint64_t jmp_buf[12];
typedef uint64_t jmp_buf[14];
extern EXTERN_C int setjmp (jmp_buf env);
extern EXTERN_C void longjmp (jmp_buf env, int val);