summaryrefslogtreecommitdiff
path: root/runtime/lambda/box_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lambda/box_table.cc')
-rw-r--r--runtime/lambda/box_table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lambda/box_table.cc b/runtime/lambda/box_table.cc
index 22cc820b73..64a6076aea 100644
--- a/runtime/lambda/box_table.cc
+++ b/runtime/lambda/box_table.cc
@@ -94,7 +94,8 @@ mirror::Object* BoxTable::BoxLambda(const ClosureType& closure) {
return method_as_object;
}
-bool BoxTable::UnboxLambda(mirror::Object* object, out<ClosureType> out_closure) {
+bool BoxTable::UnboxLambda(mirror::Object* object, ClosureType* out_closure) {
+ DCHECK(object != nullptr);
*out_closure = nullptr;
// Note that we do not need to access lambda_table_lock_ here