From b72123440d8541362ebdb131436f9dbdda5fd329 Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Fri, 25 Sep 2015 14:22:08 -0700 Subject: lambda: Experimental support for capture-variable and liberate-variable Supports capturing/liberating any primitive variables. No support for capturing objects/lambdas yet since they would both need GC changes to track roots through closures. Change-Id: Ibfb68bfe4c579dbf93823aac4c0e6ac8f6360c5d --- runtime/lambda/art_lambda_method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lambda/art_lambda_method.h') diff --git a/runtime/lambda/art_lambda_method.h b/runtime/lambda/art_lambda_method.h index 892d8c6f6b..ea13eb7af6 100644 --- a/runtime/lambda/art_lambda_method.h +++ b/runtime/lambda/art_lambda_method.h @@ -35,7 +35,7 @@ class ArtLambdaMethod { // (Ownership of strings is retained by the caller and the lifetime should exceed this class). ArtLambdaMethod(ArtMethod* target_method, const char* captured_variables_type_descriptor, - const char* captured_variables_shorty_, + const char* captured_variables_shorty, bool innate_lambda = true); // Get the target method for this lambda that would be used by the invoke-lambda dex instruction. -- cgit v1.2.3-59-g8ed1b