Changeset 167313 in webkit for trunk/Source/JavaScriptCore/runtime/CodeCache.cpp
- Timestamp:
- Apr 15, 2014, 10:46:42 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/CodeCache.cpp
r167199 r167313 93 93 94 94 typedef typename CacheTypes<UnlinkedCodeBlockType>::RootNode RootNode; 95 RefPtr<RootNode> rootNode = parse<RootNode>(&vm, source, 0, Identifier(), strictness, JSParseProgramCode, JSNotFunctionKind,error);95 RefPtr<RootNode> rootNode = parse<RootNode>(&vm, source, 0, Identifier(), strictness, JSParseProgramCode, error); 96 96 if (!rootNode) { 97 97 m_sourceCode.remove(addResult.iterator); … … 143 143 144 144 JSTextPosition positionBeforeLastNewline; 145 RefPtr<ProgramNode> program = parse<ProgramNode>(&vm, source, 0, Identifier(), JSParseNormal, JSParseProgramCode, JSNotFunctionKind,error, &positionBeforeLastNewline);145 RefPtr<ProgramNode> program = parse<ProgramNode>(&vm, source, 0, Identifier(), JSParseNormal, JSParseProgramCode, error, &positionBeforeLastNewline); 146 146 if (!program) { 147 147 RELEASE_ASSERT(error.m_type != ParserError::ErrorNone);
Note:
See TracChangeset
for help on using the changeset viewer.