| Index: src/assembler.cc
|
| ===================================================================
|
| --- src/assembler.cc (revision 6384)
|
| +++ src/assembler.cc (working copy)
|
| @@ -917,6 +917,11 @@
|
| ASSERT(pos != RelocInfo::kNoPosition);
|
| ASSERT(pos >= 0);
|
| state_.current_position = pos;
|
| +#ifdef ENABLE_GDB_JIT_INTERFACE
|
| + if (gdbjit_lineinfo_ != NULL) {
|
| + gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, false);
|
| + }
|
| +#endif
|
| }
|
|
|
|
|
| @@ -924,6 +929,11 @@
|
| ASSERT(pos != RelocInfo::kNoPosition);
|
| ASSERT(pos >= 0);
|
| state_.current_statement_position = pos;
|
| +#ifdef ENABLE_GDB_JIT_INTERFACE
|
| + if (gdbjit_lineinfo_ != NULL) {
|
| + gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, true);
|
| + }
|
| +#endif
|
| }
|
|
|
|
|
|
|