diff options
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r-- | runtime/debugger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc index 5918c10515..f84e10c628 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -3942,7 +3942,7 @@ void Dbg::ExecuteMethodWithoutPendingException(ScopedObjectAccess& soa, DebugInv << " arg_count=" << pReq->arg_count; CHECK(m != nullptr); - CHECK_EQ(sizeof(jvalue), sizeof(uint64_t)); + static_assert(sizeof(jvalue) == sizeof(uint64_t), "jvalue and uint64_t have different sizes."); // Invoke the method. ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(pReq->receiver.Read())); |