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

Unified Diff: runtime/vm/snapshot.h

Issue 672183002: Simplify SnapshotReader::LookupInternalClass. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | « no previous file | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.h
===================================================================
--- runtime/vm/snapshot.h (revision 41257)
+++ runtime/vm/snapshot.h (working copy)
@@ -361,8 +361,8 @@
// Read an inlined object from the stream.
RawObject* ReadInlinedObject(intptr_t object_id);
- // Based on header field check to see if it is an internal VM class.
- RawClass* LookupInternalClass(intptr_t class_header);
+ // Decode class id from the header field.
+ intptr_t LookupInternalClass(intptr_t class_header);
void ArrayReadFrom(const Array& result, intptr_t len, intptr_t tags);
« no previous file with comments | « no previous file | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698