mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Optimize vector, esprima_cpp, bytecode generating (#170)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
daaf4ac5d9
commit
70afb08b5a
18 changed files with 931 additions and 632 deletions
|
|
@ -182,8 +182,6 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
|
|||
ScriptParseError* error = nullptr;
|
||||
|
||||
GC_disable();
|
||||
// int orgFreeSpaceDivisor = GC_get_free_space_divisor();
|
||||
// GC_set_free_space_divisor(1);
|
||||
|
||||
try {
|
||||
m_context->vmInstance()->m_parsedSourceCodes.push_back(scriptSource.string());
|
||||
|
|
@ -272,7 +270,6 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
|
|||
}
|
||||
|
||||
GC_enable();
|
||||
// GC_set_free_space_divisor(orgFreeSpaceDivisor);
|
||||
|
||||
ScriptParser::ScriptParserResult result(script, error);
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue