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

Unified Diff: runtime/vm/profiler.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/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.h
diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
index c7558904d000716d5351091ca894ba9240ee171a..e4f6c8d81dab03c89ebae9692c1a4378f57555e0 100644
--- a/runtime/vm/profiler.h
+++ b/runtime/vm/profiler.h
@@ -340,17 +340,19 @@ class Sample {
kClassAllocationSampleBit = 6,
kContinuationSampleBit = 7,
};
- class HeadSampleBit : public BitField<bool, kHeadSampleBit, 1> {};
- class LeafFrameIsDart : public BitField<bool, kLeafFrameIsDartBit, 1> {};
- class IgnoreBit : public BitField<bool, kIgnoreBit, 1> {};
- class ExitFrameBit : public BitField<bool, kExitFrameBit, 1> {};
+ class HeadSampleBit : public BitField<uword, bool, kHeadSampleBit, 1> {};
+ class LeafFrameIsDart :
+ public BitField<uword, bool, kLeafFrameIsDartBit, 1> {};
+ class IgnoreBit : public BitField<uword, bool, kIgnoreBit, 1> {};
+ class ExitFrameBit : public BitField<uword, bool, kExitFrameBit, 1> {};
class MissingFrameInsertedBit
- : public BitField<bool, kMissingFrameInsertedBit, 1> {};
- class TruncatedTraceBit : public BitField<bool, kTruncatedTraceBit, 1> {};
+ : public BitField<uword, bool, kMissingFrameInsertedBit, 1> {};
+ class TruncatedTraceBit :
+ public BitField<uword, bool, kTruncatedTraceBit, 1> {};
class ClassAllocationSampleBit
- : public BitField<bool, kClassAllocationSampleBit, 1> {};
+ : public BitField<uword, bool, kClassAllocationSampleBit, 1> {};
class ContinuationSampleBit
- : public BitField<bool, kContinuationSampleBit, 1> {};
+ : public BitField<uword, bool, kContinuationSampleBit, 1> {};
int64_t timestamp_;
ThreadId tid_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698