Optimize vector, esprima_cpp, bytecode generating (#170)

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
김승현/Tizen Platform Lab(SR)/Engineer/삼성전자 2018-12-07 14:21:38 +09:00 committed by 최영일/Tizen Platform Lab(SR)/Principal Engineer/삼성전자
commit 70afb08b5a
18 changed files with 931 additions and 632 deletions

View file

@ -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;