blob: 3bd04eb301d3d6f25cae9bafdbcddf5176825c9c [file] [log] [blame]
Brian Carlstrom7e49dca2011-07-22 18:07:34 -07001// 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
9namespace art {
10
Brian Carlstroma663ea52011-08-19 23:33:41 -070011void DexCache::Init(String* location,
12 ObjectArray<String>* strings,
Brian Carlstrom4a96b602011-07-26 16:40:23 -070013 ObjectArray<Class>* classes,
14 ObjectArray<Method>* methods,
15 ObjectArray<Field>* fields) {
Brian Carlstroma663ea52011-08-19 23:33:41 -070016 Set(kLocation, location);
17 Set(kStrings, strings);
18 Set(kClasses, classes);
19 Set(kMethods, methods);
20 Set(kFields, fields);
Brian Carlstrom7e49dca2011-07-22 18:07:34 -070021}
22
23} // namespace art