Chromium Code Reviews| Index: src/codegen.cc |
| =================================================================== |
| --- src/codegen.cc (revision 6437) |
| +++ src/codegen.cc (working copy) |
| @@ -267,7 +267,7 @@ |
| CodeGenerator::PrintCode(code, info); |
| info->SetCode(code); // May be an empty handle. |
| #ifdef ENABLE_GDB_JIT_INTERFACE |
| - if (!code.is_null()) { |
| + if (FLAG_gdbjit && !code.is_null()) { |
| GDBJITLineInfo* lineinfo = |
| masm.positions_recorder()->DetachGDBJITLineInfo(); |