diff options
| author | 2011-08-06 15:47:38 -0700 | |
|---|---|---|
| committer | 2011-08-06 15:47:38 -0700 | |
| commit | f88c95285b2d105a504d18736fe477f74c8c5b45 (patch) | |
| tree | f8ee2b7dd84e77b2d5deb9bb7d730797101ae6f9 /src/class_linker.cc | |
| parent | a85f2487db248c9764ccf053aa3ac0807deae35c (diff) | |
Minor clean-ups.
Standardize on DISALLOW_IMPLICIT_CONSTRUCTORS to avoid assignments and
construction of mirror objects.
Normalize some whitespace usage and wrap a long line.
Remove the obsolete and commented out class Size method.
Change-Id: I60b1929087e9be1d84d4ecae20988dce90a7f8be
Diffstat (limited to 'src/class_linker.cc')
| -rw-r--r-- | src/class_linker.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/class_linker.cc b/src/class_linker.cc index 89c96b4fe8..206a1773d4 100644 --- a/src/class_linker.cc +++ b/src/class_linker.cc @@ -150,8 +150,6 @@ void ClassLinker::Init(const std::vector<DexFile*>& boot_class_path) { // supers as well. These interfaces don't have any methods, so we // don't have to worry about the ifviPool either. array_iftable_ = new InterfaceEntry[2]; - CHECK(array_iftable_ != NULL); - memset(array_iftable_, 0, sizeof(InterfaceEntry) * 2); array_iftable_[0].SetClass(array_interfaces_->Get(0)); array_iftable_[1].SetClass(array_interfaces_->Get(1)); // now FindClass can be used for non-primitive array classes |