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

Unified Diff: runtime/vm/snapshot.cc

Issue 2860883002: Rename InstructionsReader to ImageReader for symmetry with ImageWriter. (Closed)
Patch Set: reload for missing reitveld diff Created 3 years, 8 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 | « runtime/vm/snapshot.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index d720d0ef67efd9d017814adfff8599e7f16c44bf..e81340d10d6927798871ab1b6c6ca5746e4e21fd 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -1066,7 +1066,7 @@ void BlobImageWriter::WriteText(WriteStream* clustered_stream, bool vm) {
}
-RawInstructions* InstructionsReader::GetInstructionsAt(int32_t offset) {
+RawInstructions* ImageReader::GetInstructionsAt(int32_t offset) {
ASSERT(Utils::IsAligned(offset, OS::PreferredCodeAlignment()));
RawInstructions* result = reinterpret_cast<RawInstructions*>(
@@ -1078,7 +1078,7 @@ RawInstructions* InstructionsReader::GetInstructionsAt(int32_t offset) {
}
-RawObject* InstructionsReader::GetObjectAt(int32_t offset) {
+RawObject* ImageReader::GetObjectAt(int32_t offset) {
ASSERT(Utils::IsAligned(offset, kWordSize));
RawObject* result = reinterpret_cast<RawObject*>(
« no previous file with comments | « runtime/vm/snapshot.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698