summaryrefslogtreecommitdiffstats
path: root/compiler/image_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/image_test.cc')
-rw-r--r--compiler/image_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc
index dcafc193d..106ef9ac8 100644
--- a/compiler/image_test.cc
+++ b/compiler/image_test.cc
@@ -152,7 +152,7 @@ TEST_F(ImageTest, WriteRead) {
// non image classes should be in a space after the image.
EXPECT_GT(reinterpret_cast<byte*>(klass), image_end) << descriptor;
}
- EXPECT_EQ(*klass->GetRawLockWordAddress(), 0); // address should have been removed from monitor
+ EXPECT_TRUE(Monitor::IsValidLockWord(*klass->GetRawLockWordAddress()));
}
}