diff options
Diffstat (limited to 'runtime/lambda/closure.cc')
| -rw-r--r-- | runtime/lambda/closure.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/lambda/closure.cc b/runtime/lambda/closure.cc index 179e4ee7f2..f935e049fd 100644 --- a/runtime/lambda/closure.cc +++ b/runtime/lambda/closure.cc @@ -20,9 +20,6 @@ #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 { @@ -128,6 +125,10 @@ 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; |