| Brian Carlstrom | 0755ec5 | 2012-01-11 15:19:46 -0800 | [diff] [blame] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. | 
 | 2 |  | 
 | 3 | #ifndef ART_SRC_COMPILED_CLASS_H_ | 
 | 4 | #define ART_SRC_COMPILED_CLASS_H_ | 
 | 5 |  | 
 | 6 | #include "object.h" | 
 | 7 |  | 
 | 8 | namespace art { | 
 | 9 |  | 
 | 10 | class CompiledClass { | 
 | 11 |  public: | 
| Elliott Hughes | ff17f1f | 2012-01-24 18:12:29 -0800 | [diff] [blame^] | 12 |   explicit CompiledClass(Class::Status status) : status_(status) {} | 
 | 13 |   ~CompiledClass() {} | 
| Brian Carlstrom | 0755ec5 | 2012-01-11 15:19:46 -0800 | [diff] [blame] | 14 |   Class::Status GetStatus() const { | 
 | 15 |     return status_; | 
 | 16 |   } | 
 | 17 |  private: | 
 | 18 |   const Class::Status status_; | 
 | 19 | }; | 
 | 20 |  | 
 | 21 | }  // namespace art | 
 | 22 |  | 
 | 23 | #endif  // ART_SRC_COMPILED_CLASS_H_ |