Chromium Code Reviews| Index: src/assembler.cc |
| =================================================================== |
| --- src/assembler.cc (revision 12182) |
| +++ src/assembler.cc (working copy) |
| @@ -1330,6 +1330,15 @@ |
| gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, false); |
| } |
| #endif |
| +#ifdef ENABLE_VTUNE_JIT_INTERFACE |
| + if (VTUNERUNNING) { |
| + if (vtunejit_lineinfo_ != NULL) { |
| + vtunejit_lineinfo_->AddLineInfo( |
|
danno
2012/08/02 12:38:11
This should trigger an event callback in the API r
|
| + assembler_->pc_offset(), |
| + pos); |
| + } |
| + } |
| +#endif |
| } |
| @@ -1342,6 +1351,14 @@ |
| gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, true); |
| } |
| #endif |
| +#ifdef ENABLE_VTUNE_JIT_INTERFACE |
| + if (VTUNERUNNING) |
| + if (vtunejit_lineinfo_ != NULL) { |
| + vtunejit_lineinfo_->AddLineInfo( |
| + assembler_->pc_offset(), |
| + pos); |
| + } |
| +#endif |
| } |