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

Unified Diff: runtime/vm/snapshot.h

Issue 1644223006: Fix some more shorten-64-to-32 warnings: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 4 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/vm/raw_object.h ('k') | runtime/vm/thread.h » ('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 f63561806c5d5b01bf4abb635a7d053c85db5caa..b1071d61da35dab764cb1388b7546508371e659f 100644
--- a/runtime/vm/snapshot.h
+++ b/runtime/vm/snapshot.h
@@ -121,16 +121,12 @@ static const bool kAsInlinedObject = false;
static const intptr_t kInvalidPatchIndex = -1;
-class SerializedHeaderTag : public BitField<enum SerializedHeaderType,
- 0,
- kHeaderTagBits> {
-};
+class SerializedHeaderTag :
+ public BitField<intptr_t, enum SerializedHeaderType, 0, kHeaderTagBits> {};
-class SerializedHeaderData : public BitField<intptr_t,
- kHeaderTagBits,
- kObjectIdBits> {
-};
+class SerializedHeaderData :
+ public BitField<intptr_t, intptr_t, kHeaderTagBits, kObjectIdBits> {};
enum DeserializeState {
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698