Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 69f8477f89763c57c2c33bf3c975023f24966f30..ba77b21c6033d01b8d629f367849e1aa014d8efb 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -32,7 +32,6 @@ |
#include "factory.h" |
#include "gdb-jit.h" |
#include "macro-assembler.h" |
-#include "oprofile-agent.h" |
namespace v8 { |
namespace internal { |
@@ -63,9 +62,6 @@ void CodeStub::GenerateCode(MacroAssembler* masm) { |
void CodeStub::RecordCodeGeneration(Code* code, MacroAssembler* masm) { |
code->set_major_key(MajorKey()); |
- OPROFILE(CreateNativeCodeRegion(GetName(), |
- code->instruction_start(), |
- code->instruction_size())); |
PROFILE(CodeCreateEvent(Logger::STUB_TAG, code, GetName())); |
GDBJIT(AddCode(GDBJITInterface::STUB, GetName(), code)); |
Counters::total_stubs_code_size.Increment(code->instruction_size()); |