summaryrefslogtreecommitdiff
path: root/runtime/lambda/art_lambda_method.h
diff options
context:
space:
mode:
author Igor Murashkin <iam@google.com> 2015-09-25 14:22:08 -0700
committer Igor Murashkin <iam@google.com> 2015-09-25 15:53:00 -0700
commitb72123440d8541362ebdb131436f9dbdda5fd329 (patch)
tree41e3d21496a270edc06879f084a504a39af9469b /runtime/lambda/art_lambda_method.h
parent9f3b8d38de615efef6d2536817f19ad2ccaa313a (diff)
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
Diffstat (limited to 'runtime/lambda/art_lambda_method.h')
-rw-r--r--runtime/lambda/art_lambda_method.h2
1 files changed, 1 insertions, 1 deletions
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.