Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: src/snapshot-common.cc

Issue 551062: Fix issue 571: display descriptive names for code objects from snapshot. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/serialize.cc ('K') | « src/serialize.cc ('k') | tools/profile.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot-common.cc
diff --git a/src/snapshot-common.cc b/src/snapshot-common.cc
index c01baad79a2c2d85bf865a7a35e9ba173b988e8f..448c3fd7dba1e36c77510d639d0e2b6110c5a567 100644
--- a/src/snapshot-common.cc
+++ b/src/snapshot-common.cc
@@ -79,6 +79,9 @@ class FileByteSink : public SnapshotByteSink {
fputc(byte, fp_);
}
}
+ virtual int Position() {
+ return ftell(fp_);
+ }
private:
FILE* fp_;
« src/serialize.cc ('K') | « src/serialize.cc ('k') | tools/profile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698