diff options
Diffstat (limited to 'runtime/lambda/closure.cc')
-rw-r--r-- | runtime/lambda/closure.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/lambda/closure.cc b/runtime/lambda/closure.cc index f935e049fd..179e4ee7f2 100644 --- a/runtime/lambda/closure.cc +++ b/runtime/lambda/closure.cc @@ -20,6 +20,9 @@ #include "lambda/art_lambda_method.h" #include "runtime/mirror/object_reference.h" +static constexpr const bool kClosureSupportsReferences = false; +static constexpr const bool kClosureSupportsGarbageCollection = false; + namespace art { namespace lambda { @@ -125,10 +128,6 @@ ArtMethod* Closure::GetTargetMethod() const { return const_cast<ArtMethod*>(lambda_info_->GetArtMethod()); } -ArtLambdaMethod* Closure::GetLambdaInfo() const { - return const_cast<ArtLambdaMethod*>(lambda_info_); -} - uint32_t Closure::GetHashCode() const { // Start with a non-zero constant, a prime number. uint32_t result = 17; |