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

Unified Diff: runtime/vm/raw_object.h

Issue 362153002: Transform functions marked as async (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: first round of comments 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index e634f20f8d964eabd3c02c00c47da74e487ca6ad..34144c01ceb8817e4f55bedae3e2a2e48cc18128 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -610,6 +610,11 @@ class RawFunction : public RawObject {
kInvokeFieldDispatcher, // invokes a field as a closure.
};
+ enum Modifier {
hausner 2014/07/12 00:05:24 Maybe give this a more specific name, e.g. AsyncMo
Michael Lippautz (Google) 2014/07/14 20:22:48 Done.
+ kNoModifier,
+ kAsync,
+ };
+
private:
// So that the MarkingVisitor::DetachCode can null out the code fields.
friend class MarkingVisitor;
@@ -645,7 +650,7 @@ class RawFunction : public RawObject {
int16_t num_fixed_parameters_;
int16_t num_optional_parameters_; // > 0: positional; < 0: named.
int16_t deoptimization_counter_;
- uint16_t kind_tag_; // See Function::KindTagBits.
+ uint32_t kind_tag_; // See Function::KindTagBits.
uint16_t optimized_instruction_count_;
uint16_t optimized_call_site_count_;
};

Powered by Google App Engine
This is Rietveld 408576698