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

Unified Diff: src/serialize.h

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
« no previous file with comments | « src/mksnapshot.cc ('k') | src/serialize.cc » ('j') | src/serialize.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/serialize.h
diff --git a/src/serialize.h b/src/serialize.h
index fcd37230ff7fd91db8fcd621480c125b01a9c9a2..8dd193f5eabd81fe8ebdeeb5878f8989d6aff5a6 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -147,6 +147,8 @@ class SnapshotByteSource {
return position_ == length_;
}
+ const int position() { return position_; }
+
private:
const byte* data_;
int length_;
@@ -294,6 +296,7 @@ class SnapshotByteSink {
Put(byte, description);
}
void PutInt(uintptr_t integer, const char* description);
+ virtual int Position() = 0;
};
« no previous file with comments | « src/mksnapshot.cc ('k') | src/serialize.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698