summaryrefslogtreecommitdiff
path: root/runtime/reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reflection.h')
-rw-r--r--runtime/reflection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/reflection.h b/runtime/reflection.h
index 5a2da35ff5..b0e27da321 100644
--- a/runtime/reflection.h
+++ b/runtime/reflection.h
@@ -17,6 +17,7 @@
#ifndef ART_RUNTIME_REFLECTION_H_
#define ART_RUNTIME_REFLECTION_H_
+#include "base/enums.h"
#include "base/locks.h"
#include "dex/primitive.h"
#include "jni.h"
@@ -97,6 +98,7 @@ JValue InvokeVirtualOrInterfaceWithVarArgs(const ScopedObjectAccessAlreadyRunnab
REQUIRES_SHARED(Locks::mutator_lock_);
// num_frames is number of frames we look up for access check.
+template<PointerSize pointer_size>
jobject InvokeMethod(const ScopedObjectAccessAlreadyRunnable& soa,
jobject method,
jobject receiver,