summaryrefslogtreecommitdiff
path: root/runtime/method_handles.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/method_handles.cc')
-rw-r--r--runtime/method_handles.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/method_handles.cc b/runtime/method_handles.cc
index 570fc48272..7d889c0694 100644
--- a/runtime/method_handles.cc
+++ b/runtime/method_handles.cc
@@ -22,6 +22,7 @@
#include "common_dex_operations.h"
#include "interpreter/shadow_frame-inl.h"
#include "jvalue-inl.h"
+#include "mirror/class-inl.h"
#include "mirror/emulated_stack_frame.h"
#include "mirror/method_handle_impl-inl.h"
#include "mirror/method_type.h"
@@ -745,7 +746,7 @@ bool DoInvokePolymorphicMethod(Thread* self,
callee_type,
self,
shadow_frame,
- method_handle /* receiver */,
+ /* receiver= */ method_handle,
operands,
result);
} else {
@@ -1103,7 +1104,7 @@ static inline bool MethodHandleInvokeInternal(Thread* self,
if (IsInvokeVarHandle(handle_kind)) {
return DoVarHandleInvokeTranslation(self,
shadow_frame,
- /*invokeExact*/ false,
+ /*invokeExact=*/ false,
method_handle,
callsite_type,
operands,
@@ -1155,7 +1156,7 @@ static inline bool MethodHandleInvokeExactInternal(
} else if (IsInvokeVarHandle(handle_kind)) {
return DoVarHandleInvokeTranslation(self,
shadow_frame,
- /*invokeExact*/ true,
+ /*invokeExact=*/ true,
method_handle,
callsite_type,
operands,