| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index 1b0d8b0b6fb8386f1df145cae18d51b33b270fba..d3cf7e737976f8ca470315791e16e1ca53a36c85 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -30,6 +30,7 @@
|
| #include "bootstrapper.h"
|
| #include "code-stubs.h"
|
| #include "factory.h"
|
| +#include "gdbjit.h"
|
| #include "macro-assembler.h"
|
| #include "oprofile-agent.h"
|
|
|
| @@ -64,6 +65,7 @@ void CodeStub::RecordCodeGeneration(Code* code, MacroAssembler* masm) {
|
| 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());
|
|
|
| #ifdef ENABLE_DISASSEMBLER
|
|
|