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

Unified Diff: runtime/vm/raw_object.h

Issue 10824209: - Allow patching of top-level methods and accessors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/parser.cc ('k') | tests/language/patch_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 10353)
+++ runtime/vm/raw_object.h (working copy)
@@ -558,13 +558,13 @@
enum KindTagBits {
kStaticBit = 1,
- kConstBit = 2,
- kOptimizableBit = 3,
- kHasFinallyBit = 4,
- kNativeBit = 5,
- kAbstractBit = 6,
- kExternalBit = 6,
- kKindTagBit = 7,
+ kConstBit,
+ kOptimizableBit,
+ kHasFinallyBit,
+ kNativeBit,
+ kAbstractBit,
+ kExternalBit,
+ kKindTagBit,
kKindTagSize = 4,
};
class StaticBit : public BitField<bool, kStaticBit, 1> {};
@@ -719,7 +719,8 @@
enum Kind {
kScriptTag = 0,
kLibraryTag,
- kSourceTag
+ kSourceTag,
+ kPatchTag,
};
private:
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/language/patch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698