Chromium Code Reviews| 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_; |
| }; |