blob: a012c715e8e55917773b9a4a721e1c1dd042b3e0 [file] [log] [blame]
Brian Carlstrom7e49dca2011-07-22 18:07:34 -07001// Copyright 2011 Google Inc. All Rights Reserved.
2
Brian Carlstrom9ea1cb12011-08-24 23:18:18 -07003#include "class_linker.h"
Brian Carlstrom7e49dca2011-07-22 18:07:34 -07004#include "dex_cache.h"
5#include "heap.h"
6#include "globals.h"
7#include "logging.h"
8#include "object.h"
9
10namespace art {
11
Brian Carlstroma663ea52011-08-19 23:33:41 -070012void DexCache::Init(String* location,
13 ObjectArray<String>* strings,
Brian Carlstrom9ea1cb12011-08-24 23:18:18 -070014 ObjectArray<Class>* types,
Brian Carlstrom4a96b602011-07-26 16:40:23 -070015 ObjectArray<Method>* methods,
16 ObjectArray<Field>* fields) {
Brian Carlstroma663ea52011-08-19 23:33:41 -070017 Set(kLocation, location);
18 Set(kStrings, strings);
Brian Carlstrom9ea1cb12011-08-24 23:18:18 -070019 Set(kTypes, types);
Brian Carlstroma663ea52011-08-19 23:33:41 -070020 Set(kMethods, methods);
21 Set(kFields, fields);
Brian Carlstrom7e49dca2011-07-22 18:07:34 -070022}
23
24} // namespace art