| Index: src/compiler.cc | 
| diff --git a/src/compiler.cc b/src/compiler.cc | 
| index 77111a842e7d55e6aa4a7ea8dfa02635ee431f3c..5ce5045944ac88f504e19be0eeba851d66e89a12 100755 | 
| --- a/src/compiler.cc | 
| +++ b/src/compiler.cc | 
| @@ -39,7 +39,6 @@ | 
| #include "hydrogen.h" | 
| #include "lithium.h" | 
| #include "liveedit.h" | 
| -#include "oprofile-agent.h" | 
| #include "parser.h" | 
| #include "rewriter.h" | 
| #include "runtime-profiler.h" | 
| @@ -419,9 +418,6 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { | 
| : Logger::ToNativeByScript(Logger::SCRIPT_TAG, *script), | 
| *info->code(), | 
| String::cast(script->name()))); | 
| -    OPROFILE(CreateNativeCodeRegion(String::cast(script->name()), | 
| -                                    info->code()->instruction_start(), | 
| -                                    info->code()->instruction_size())); | 
| GDBJIT(AddCode(Handle<String>(String::cast(script->name())), | 
| script, | 
| info->code())); | 
| @@ -432,9 +428,6 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { | 
| : Logger::ToNativeByScript(Logger::SCRIPT_TAG, *script), | 
| *info->code(), | 
| "")); | 
| -    OPROFILE(CreateNativeCodeRegion(info->is_eval() ? "Eval" : "Script", | 
| -                                    info->code()->instruction_start(), | 
| -                                    info->code()->instruction_size())); | 
| GDBJIT(AddCode(Handle<String>(), script, info->code())); | 
| } | 
|  | 
| @@ -783,7 +776,6 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, | 
| // script name and line number. Check explicitly whether logging is | 
| // enabled as finding the line number is not free. | 
| if (Logger::is_logging() || | 
| -      OProfileAgent::is_enabled() || | 
| CpuProfiler::is_profiling()) { | 
| Handle<Script> script = info->script(); | 
| Handle<Code> code = info->code(); | 
| @@ -795,18 +787,10 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, | 
| *name, | 
| String::cast(script->name()), | 
| line_num)); | 
| -      OPROFILE(CreateNativeCodeRegion(*name, | 
| -                                      String::cast(script->name()), | 
| -                                      line_num, | 
| -                                      code->instruction_start(), | 
| -                                      code->instruction_size())); | 
| } else { | 
| PROFILE(CodeCreateEvent(Logger::ToNativeByScript(tag, *script), | 
| *code, | 
| *name)); | 
| -      OPROFILE(CreateNativeCodeRegion(*name, | 
| -                                      code->instruction_start(), | 
| -                                      code->instruction_size())); | 
| } | 
| } | 
|  | 
|  |