mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. implement indexed Storages for function
2. implement function call Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
a545adebf5
commit
d587becaf3
25 changed files with 817 additions and 59 deletions
|
|
@ -24,7 +24,7 @@ Script::ScriptExecuteResult Script::execute(Context* ctx)
|
|||
ExecutionState stateForInit(ctx);
|
||||
LexicalEnvironment* globalEnvironment = new LexicalEnvironment(new GlobalEnvironmentRecord(stateForInit, m_topCodeBlock, ctx->globalObject()), nullptr);
|
||||
|
||||
ExecutionContext ec(ctx, globalEnvironment);
|
||||
ExecutionContext ec(ctx, globalEnvironment, m_topCodeBlock->isStrict());
|
||||
Value resultValue;
|
||||
ExecutionState state(ctx, &ec, &resultValue);
|
||||
ByteCodeIntrepreter::interpret(state, m_topCodeBlock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue