| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 0a8e5cc26b5832eff62cd0b6c454f78dd7c9675f..e9ce5ba17efedbfff03fca45cdb2098e6799290b 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -159,7 +159,7 @@ static Handle<JSFunction> MakeFunction(bool is_global,
|
| #if defined ENABLE_LOGGING_AND_PROFILING || defined ENABLE_OPROFILE_AGENT
|
| // Log the code generation for the script. Check explicit whether logging is
|
| // to avoid allocating when not required.
|
| - if (Logger::is_enabled() || OProfileAgent::is_enabled()) {
|
| + if (Logger::IsEnabled() || OProfileAgent::is_enabled()) {
|
| if (script->name()->IsString()) {
|
| SmartPointer<char> data =
|
| String::cast(script->name())->ToCString(DISALLOW_NULLS);
|
| @@ -356,7 +356,7 @@ bool Compiler::CompileLazy(Handle<SharedFunctionInfo> shared,
|
| // Log the code generation. If source information is available include script
|
| // name and line number. Check explicit whether logging is enabled as finding
|
| // the line number is not for free.
|
| - if (Logger::is_enabled() || OProfileAgent::is_enabled()) {
|
| + if (Logger::IsEnabled() || OProfileAgent::is_enabled()) {
|
| Handle<String> func_name(name->length() > 0 ?
|
| *name : shared->inferred_name());
|
| if (script->name()->IsString()) {
|
|
|