Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 13703) |
| +++ runtime/vm/object.h (working copy) |
| @@ -1269,7 +1269,7 @@ |
| void set_is_abstract(bool value) const; |
| bool is_inlinable() const { |
| - return InlinableBit::decode(raw_ptr()->kind_tag_); |
| + return InlinableBit::decode(raw_ptr()->kind_tag_) && HasCode(); |
| } |
| void set_is_inlinable(bool value) const; |