summaryrefslogtreecommitdiff
path: root/runtime/reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reflection.h')
-rw-r--r--runtime/reflection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/reflection.h b/runtime/reflection.h
index 6e5ef712a7..f2652fd4b6 100644
--- a/runtime/reflection.h
+++ b/runtime/reflection.h
@@ -47,6 +47,12 @@ bool UnboxPrimitiveForResult(ObjPtr<mirror::Object> o,
JValue* unboxed_value)
REQUIRES_SHARED(Locks::mutator_lock_);
+ALWAYS_INLINE bool ConvertPrimitiveValueNoThrow(Primitive::Type src_class,
+ Primitive::Type dst_class,
+ const JValue& src,
+ JValue* dst)
+ REQUIRES_SHARED(Locks::mutator_lock_);
+
ALWAYS_INLINE bool ConvertPrimitiveValue(bool unbox_for_result,
Primitive::Type src_class,
Primitive::Type dst_class,