mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix serializer_remove_bytecode_data.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
parent
a88608a1c0
commit
f2c54fbe39
@ -328,6 +328,7 @@ serializer_remove_bytecode_data (const bytecode_data_header_t *bytecode_data_p)
|
||||
}
|
||||
|
||||
prev_header = cur_header_p;
|
||||
cur_header_p = MEM_CP_GET_POINTER (bytecode_data_header_t, cur_header_p->next_header_cp);
|
||||
}
|
||||
} /* serializer_remove_instructions */
|
||||
|
||||
|
||||
@ -117,3 +117,8 @@ catch(e)
|
||||
{
|
||||
assert (e instanceof SyntaxError);
|
||||
}
|
||||
|
||||
// nested eval with function expressions
|
||||
code = 'eval("(function (){})")';
|
||||
code = "eval ('" + code + "')";
|
||||
eval (code);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user