Revert "lambda: Add support for invoke-interface for boxed innate lambdas"
955-lambda is flaky
Bug: 24618608
Bug: 25107649
This reverts commit 457e874459ae638145cab6d572e34d48480e39d2.
Change-Id: I24884344d21d7a4262e53e3f5dba57032687ddb7
diff --git a/runtime/lambda/closure.cc b/runtime/lambda/closure.cc
index f935e04..179e4ee 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 @@
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;