From 3a0909248e04b22c3981cbf617bc2502ed5b6380 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 24 Nov 2015 09:17:30 +0000 Subject: 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 --- runtime/lambda/art_lambda_method.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'runtime/lambda/art_lambda_method.cc') diff --git a/runtime/lambda/art_lambda_method.cc b/runtime/lambda/art_lambda_method.cc index 0690cd1a31..6f9f8bbb59 100644 --- a/runtime/lambda/art_lambda_method.cc +++ b/runtime/lambda/art_lambda_method.cc @@ -14,7 +14,6 @@ * limitations under the License. */ -#include "art_method-inl.h" #include "lambda/art_lambda_method.h" #include "base/logging.h" @@ -74,12 +73,5 @@ ArtLambdaMethod::ArtLambdaMethod(ArtMethod* target_method, } } -size_t ArtLambdaMethod::GetArgumentVRegCount() const { - DCHECK(GetArtMethod()->IsStatic()); // Instance methods don't have receiver in shorty. - const char* method_shorty = GetArtMethod()->GetShorty(); - DCHECK_NE(*method_shorty, '\0') << method_shorty; - return ShortyFieldType::CountVirtualRegistersRequired(method_shorty + 1); // skip return type -} - } // namespace lambda } // namespace art -- cgit v1.2.3-59-g8ed1b