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

Unified Diff: runtime/vm/object.h

Issue 805233002: Fix GCC build by using a intptr_t constant instead of anonymous enum. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 762a06138f0cddd215749bbc95be9d69fbc9d6dd..9d8be3931ade7aba78df700465c20cba2414c23a 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3584,9 +3584,7 @@ class ICData : public Object {
#undef DEFINE_ENUM_LIST
};
- enum {
- kLastRecordedDeoptReason = kDeoptUnknown - 1
- };
+ static const intptr_t kLastRecordedDeoptReason = kDeoptUnknown - 1;
enum DeoptFlags {
// Deoptimization is caused by an optimistically hoisted instruction.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698