mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
fix function name binding bug
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
d76b19b8d5
commit
a644f0befe
3 changed files with 11 additions and 11 deletions
|
|
@ -150,14 +150,14 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
|
|||
}
|
||||
|
||||
PRINT_TAB()
|
||||
printf("CodeBlock %s (%d:%d -> %d:%d)(%s, %s) (E:%d, W:%d, C:%d, Y:%d)\n", cb->m_functionName.string()->toUTF8StringData().data(),
|
||||
printf("CodeBlock %s (%d:%d -> %d:%d)(%s, %s) (E:%d, W:%d, C:%d, Y:%d) Name:%d\n", cb->m_functionName.string()->toUTF8StringData().data(),
|
||||
(int)cb->m_locStart.line,
|
||||
(int)cb->m_locStart.column,
|
||||
(int)cb->m_locEnd.line,
|
||||
(int)cb->m_locEnd.column,
|
||||
cb->m_canAllocateEnvironmentOnStack ? "Stack" : "Heap",
|
||||
cb->m_canUseIndexedVariableStorage ? "Indexed" : "Named",
|
||||
(int)cb->m_hasEval, (int)cb->m_hasWith, (int)cb->m_hasCatch, (int)cb->m_hasYield);
|
||||
(int)cb->m_hasEval, (int)cb->m_hasWith, (int)cb->m_hasCatch, (int)cb->m_hasYield, (int)cb->m_functionNameIndex);
|
||||
|
||||
PRINT_TAB()
|
||||
printf("Names: ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue