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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 8222017: Fix compilation warnings/errors seen with newer versions of gcc compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
===================================================================
--- runtime/vm/snapshot_test.cc (revision 265)
+++ runtime/vm/snapshot_test.cc (working copy)
@@ -50,7 +50,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -69,7 +69,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -88,7 +88,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -107,7 +107,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -128,7 +128,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -147,7 +147,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -186,7 +186,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -223,7 +223,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -249,7 +249,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
@@ -282,7 +282,7 @@
writer.FinalizeBuffer();
// Create a snapshot object using the buffer.
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer);
// Read object back from the snapshot.
Isolate* isolate= Isolate::Current();
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698