Index: runtime/vm/parser.h |
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h |
index d6e73758e9587652ce49023b9311c4ce989577b9..615bfbc842be7d3fd39245aa031eca8b38b2618b 100644 |
--- a/runtime/vm/parser.h |
+++ b/runtime/vm/parser.h |
@@ -28,7 +28,7 @@ struct CatchParamDesc; |
struct FieldInitExpression; |
// The class ParsedFunction holds the result of parsing a function. |
-class ParsedFunction : public ValueObject { |
+class ParsedFunction : public ZoneAllocated { |
public: |
static const int kFirstLocalSlotIndex = -2; |