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

Unified Diff: runtime/vm/snapshot.h

Issue 9159066: Allocate a Dart_CMessage structure when decoding a message into C structures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from asiva@ Created 8 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 | « runtime/include/dart_api.h ('k') | 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
diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
index a71e8cae03560e6b52c5a206e4c06f95d09ca168..166ea06ee89e899b0714b4203faf0dee7705f29d 100644
--- a/runtime/vm/snapshot.h
+++ b/runtime/vm/snapshot.h
@@ -424,7 +424,7 @@ class CMessageReader : public BaseReader {
CMessageReader(const uint8_t* buffer, intptr_t length, ReAlloc alloc);
~CMessageReader() { }
- Dart_CObject* ReadObject();
+ Dart_CMessage* ReadMessage();
private:
// Allocates a Dart_CObject object on the C heap.
@@ -448,6 +448,7 @@ class CMessageReader : public BaseReader {
Dart_CObject* ReadInlinedObject(intptr_t object_id);
Dart_CObject* ReadObjectImpl(intptr_t header);
Dart_CObject* ReadIndexedObject(intptr_t object_id);
+ Dart_CObject* ReadObject();
// Add object to backward references.
void AddBackwardReference(intptr_t id, Dart_CObject* obj);
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698