1. implement stack limit in Function::call

2. implement stack limit in escprima
3. replace RELEASE_ASSERT_NOT_REACHED() with throwing parse error in esprima
4. impement size limit of String
5. expose config parameters in Escargot.h

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2017-02-22 15:58:45 +09:00
commit f44a2a00a2
27 changed files with 180 additions and 73 deletions

View file

@ -13,7 +13,7 @@ OpcodeTable g_opcodeTable;
OpcodeTable::OpcodeTable()
{
ExecutionState state(nullptr, nullptr);
ExecutionState state((Context*)nullptr, nullptr);
ByteCodeInterpreter::interpret(state, nullptr, 0, nullptr, nullptr);
}