diff options
Diffstat (limited to 'runtime/reflection.h')
| -rw-r--r-- | runtime/reflection.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/reflection.h b/runtime/reflection.h index 1a64871e92..857d63b07c 100644 --- a/runtime/reflection.h +++ b/runtime/reflection.h @@ -31,18 +31,16 @@ namespace mirror { union JValue; class ScopedObjectAccessAlreadyRunnable; class ShadowFrame; -class ThrowLocation; mirror::Object* BoxPrimitive(Primitive::Type src_class, const JValue& value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool UnboxPrimitiveForField(mirror::Object* o, mirror::Class* dst_class, mirror::ArtField* f, JValue* unboxed_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -bool UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, - mirror::Class* dst_class, JValue* unboxed_value) +bool UnboxPrimitiveForResult(mirror::Object* o, mirror::Class* dst_class, JValue* unboxed_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -ALWAYS_INLINE bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result, +ALWAYS_INLINE bool ConvertPrimitiveValue(bool unbox_for_result, Primitive::Type src_class, Primitive::Type dst_class, const JValue& src, JValue* dst) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |