| Index: src/codegen.cc
|
| ===================================================================
|
| --- src/codegen.cc (revision 1085)
|
| +++ src/codegen.cc (working copy)
|
| @@ -159,6 +159,8 @@
|
| }
|
|
|
|
|
| +#ifdef ENABLE_LOGGING_AND_PROFILING
|
| +
|
| bool CodeGenerator::ShouldGenerateLog(Expression* type) {
|
| ASSERT(type != NULL);
|
| if (!Logger::is_enabled()) return false;
|
| @@ -171,7 +173,9 @@
|
| return false;
|
| }
|
|
|
| +#endif
|
|
|
| +
|
| // Sets the function info on a function.
|
| // The start_position points to the first '(' character after the function name
|
| // in the full script source. When counting characters in the script source the
|
|
|