summaryrefslogtreecommitdiff
path: root/src/dex_cache.cc
blob: 8ab413097127bec17e1fff7b6a155a187c0175c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2011 Google Inc. All Rights Reserved.

#include "dex_cache.h"
#include "heap.h"
#include "globals.h"
#include "logging.h"
#include "object.h"

namespace art {

void DexCache::Init(ObjectArray<String>* strings,
                    ObjectArray<Class>* classes,
                    ObjectArray<Method>* methods,
                    ObjectArray<Field>* fields) {
  Set(kStrings, strings);
  Set(kClasses, classes);
  Set(kMethods, methods);
  Set(kFields,  fields);
}

}  // namespace art