Added new faster compiler based on acorn parser

This commit is contained in:
Martin Carlberg committed 2013-01-07 09:59:10 +01:00
1 parent 140cf0debe
commit 9cb14d6db3
9 files changed
+3111 -30

No files matched your search

+1 -1
View File
@@ -497,7 +497,7 @@ Executable.fileExecutableSearcherForURL = function(/*CFURL*/ referenceURL)
{
if (!aStaticResource)
{
var compilingFileUrl = ObjJCompiler && ObjJCompiler.currentCompileFile ? ObjJCompiler.currentCompileFile : null;
var compilingFileUrl = ObjJCompiler && ObjJCompiler.currentCompileFile ? ObjJCompiler.currentCompileFile : ObjJAcornCompiler ? ObjJAcornCompiler.currentCompileFile : null;
throw new Error("Could not load file at " + aURL + (compilingFileUrl ? " when compiling " + compilingFileUrl : ""));
}