From 7bbb80ab52c203e44d2ded2c947b3b03b4b31ec4 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Sun, 27 Sep 2015 19:50:40 +0000 Subject: Revert "lambda: Experimental support for capture-variable and liberate-variable" Test fails. This reverts commit b72123440d8541362ebdb131436f9dbdda5fd329. Change-Id: Ic9ed92f8c826d8465eb36b746dc44af05caf041c --- runtime/lambda/closure.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'runtime/lambda/closure.h') diff --git a/runtime/lambda/closure.h b/runtime/lambda/closure.h index 31ff1944d2..60d117e9e2 100644 --- a/runtime/lambda/closure.h +++ b/runtime/lambda/closure.h @@ -49,19 +49,6 @@ struct PACKED(sizeof(ArtLambdaMethod*)) Closure { // The target_size must be at least as large as GetSize(). void CopyTo(void* target, size_t target_size) const; - // Get the target method, i.e. the method that will be dispatched into with invoke-lambda. - ArtMethod* GetTargetMethod() const; - - // Calculates the hash code. Value is recomputed each time. - uint32_t GetHashCode() const SHARED_REQUIRES(Locks::mutator_lock_); - - // Is this the same closure as other? e.g. same target method, same variables captured. - // - // Determines whether the two Closures are interchangeable instances. - // Does *not* call Object#equals recursively. If two Closures compare ReferenceEquals true that - // means that they are interchangeable values (usually for the purpose of boxing/unboxing). - bool ReferenceEquals(const Closure* other) const SHARED_REQUIRES(Locks::mutator_lock_); - // How many variables were captured? size_t GetNumberOfCapturedVariables() const; -- cgit v1.2.3-59-g8ed1b