Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 16ccfa0cf4122b3dbae6f5f864e1501eb73e0af4..21cbe849d4ab027e411b65bcf7355594840c2aea 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -321,7 +321,7 @@ static bool GenerateCode(CompilationInfo* info) { |
} |
-static bool MakeCode(CompilationInfo* info) { |
+bool Compiler::MakeCode(CompilationInfo* info) { |
// Precondition: code has been parsed. Postcondition: the code field in |
// the compilation info is set if compilation succeeded. |
ASSERT(info->function() != NULL); |
@@ -397,7 +397,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { |
// Compile the code. |
FunctionLiteral* lit = info->function(); |
LiveEditFunctionTracker live_edit_tracker(isolate, lit); |
- if (!MakeCode(info)) { |
+ if (!Compiler::MakeCode(info)) { |
isolate->StackOverflow(); |
return Handle<SharedFunctionInfo>::null(); |
} |