summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread.h b/src/thread.h
index e8f69dba4f..ea499600fe 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -289,8 +289,7 @@ class PACKED(4) Thread {
}
bool HasPeer() const {
- CHECK(jpeer_ == NULL);
- return opeer_ != NULL;
+ return jpeer_ != NULL || opeer_ != NULL;
}
RuntimeStats* GetStats() {