mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Should treat state of async, * correctly for class method, object method
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
ae4b3ee589
commit
1a1078a462
3 changed files with 7 additions and 523 deletions
|
|
@ -476,8 +476,10 @@ void ScriptParser::dumpCodeBlockTree(InterpretedCodeBlock* topCodeBlock)
|
|||
printf(" ");
|
||||
|
||||
PRINT_TAB()
|
||||
printf("CodeBlock %p %s %s(%d:%d -> %d:%d, block %d, body %d)(%s, %s) (E:%d, W:%d, A:%d)\n", cb, cb->m_functionName.string()->toUTF8StringData().data(),
|
||||
cb->m_isStrict ? "Strict" : "",
|
||||
printf("CodeBlock %p %s %s%s%s(%d:%d -> %d:%d, block %d, body %d)(%s, %s) (E:%d, W:%d, A:%d)\n", cb, cb->m_functionName.string()->toUTF8StringData().data(),
|
||||
cb->m_isStrict ? "Strict " : "",
|
||||
cb->m_isGenerator ? "Generator " : "",
|
||||
cb->m_isAsync ? "Async" : "",
|
||||
(int)cb->m_functionStart.line,
|
||||
(int)cb->m_functionStart.column,
|
||||
(int)cb->m_bodyEndLOC.line,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue