| Brian Carlstrom | 7e49dca | 2011-07-22 18:07:34 -0700 | [diff] [blame] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 | |||||
| 3 | #include "dex_cache.h" | ||||
| 4 | #include "heap.h" | ||||
| 5 | #include "globals.h" | ||||
| 6 | #include "logging.h" | ||||
| 7 | #include "object.h" | ||||
| 8 | |||||
| 9 | namespace art { | ||||
| 10 | |||||
| 11 | void DexCache::Init(ObjectArray* strings, | ||||
| 12 | ObjectArray* classes, | ||||
| 13 | ObjectArray* methods, | ||||
| 14 | ObjectArray* fields) { | ||||
| 15 | Set(kStrings, strings); | ||||
| 16 | Set(kClasses, classes); | ||||
| 17 | Set(kMethods, methods); | ||||
| 18 | Set(kFields, fields); | ||||
| 19 | } | ||||
| 20 | |||||
| 21 | } // namespace art | ||||