mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. implement rest of TypedArray builtin functions for octane
2. fix find arguments in typeof expression Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
823689865e
commit
7490ff4a3c
9 changed files with 180 additions and 137 deletions
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
namespace Escargot {
|
||||
|
||||
Value Script::execute(Context* ctx, bool isEvalMode, bool needNewEnv)
|
||||
Value Script::execute(Context* ctx, bool isEvalMode, bool needNewEnv, bool isOnGlobal)
|
||||
{
|
||||
Node* programNode = m_topCodeBlock->cachedASTNode();
|
||||
ASSERT(programNode && programNode->type() == ASTNodeType::Program);
|
||||
|
||||
ByteCodeGenerator g;
|
||||
g.generateByteCode(ctx, m_topCodeBlock, programNode, isEvalMode);
|
||||
g.generateByteCode(ctx, m_topCodeBlock, programNode, isEvalMode, isOnGlobal);
|
||||
|
||||
m_topCodeBlock->m_cachedASTNode = nullptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue