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

Unified Diff: runtime/vm/object.h

Issue 425163002: Resize async function modifier bits (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | « 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 f6f55818e6a13bcee3876ecb312ab38f9439cb5d..d825c4a1424555c41f70bb0071b5160d3e72329a 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2049,7 +2049,7 @@ class Function : public Object {
kExternalBit = 14,
kAllowsHoistingCheckClassBit = 15,
kModifierPos = 16,
- kAsyncClosureBit = 18,
+ kAsyncClosureBit = 17,
};
class KindBits :
public BitField<RawFunction::Kind, kKindTagPos, kKindTagSize> {}; // NOLINT
@@ -2067,7 +2067,7 @@ class Function : public Object {
class AllowsHoistingCheckClassBit :
public BitField<bool, kAllowsHoistingCheckClassBit, 1> {}; // NOLINT
class ModifierBits :
- public BitField<RawFunction::AsyncModifier, kModifierPos, 2> {}; // NOLINT
+ public BitField<RawFunction::AsyncModifier, kModifierPos, 1> {}; // NOLINT
class AsyncClosureBit : public BitField<bool, kAsyncClosureBit, 1> {};
void set_name(const String& value) const;
« 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