Fix Object::IsSoftReference
Also changed -Xzygote to default boot.art and log arguments
Finally Makefile work:
- separate out test dependencies
- changed zygote with art to work by replacing libdvm with libart[d]
- changed Makefile defines to name and error check their arguments
This was to fix bug in generating ART_TARGET_EXECUTABLES
where we used $(1) when we meant $(3)
Change-Id: I7ef6008eff1fe99b59d151b6793e8fd8ea5304d4
diff --git a/src/object.h b/src/object.h
index 4a7d4bb..c8f4375 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1369,7 +1369,7 @@
}
bool IsSoftReferenceClass() const {
- return (GetAccessFlags() & ~kAccReferenceFlagsMask) == kAccClassIsReference;
+ return (GetAccessFlags() & kAccReferenceFlagsMask) == kAccClassIsReference;
}
bool IsFinalizerReferenceClass() const {