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 | |
Brian Carlstrom | a663ea5 | 2011-08-19 23:33:41 -0700 | [diff] [blame^] | 11 | void DexCache::Init(String* location, |
| 12 | ObjectArray<String>* strings, |
Brian Carlstrom | 4a96b60 | 2011-07-26 16:40:23 -0700 | [diff] [blame] | 13 | ObjectArray<Class>* classes, |
| 14 | ObjectArray<Method>* methods, |
| 15 | ObjectArray<Field>* fields) { |
Brian Carlstrom | a663ea5 | 2011-08-19 23:33:41 -0700 | [diff] [blame^] | 16 | Set(kLocation, location); |
| 17 | Set(kStrings, strings); |
| 18 | Set(kClasses, classes); |
| 19 | Set(kMethods, methods); |
| 20 | Set(kFields, fields); |
Brian Carlstrom | 7e49dca | 2011-07-22 18:07:34 -0700 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | } // namespace art |