Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 2a3aafc1f1daa355d817f3d0031315844a4d748f..dc7d4b157d01ec1a9b405e36d8ed5373ac87a091 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -1287,7 +1287,9 @@ static Handle<Code> PatchPositionsInCode( |
continue; |
} |
} |
- buffer_writer.Write(it.rinfo()); |
+ if (RelocInfo::IsRealRelocMode(rinfo->rmode())) { |
+ buffer_writer.Write(it.rinfo()); |
+ } |
} |
} |