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.h | 11 ----------- 1 file changed, 11 deletions(-) (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 a858bf945d..ea13eb7af6 100644 --- a/runtime/lambda/art_lambda_method.h +++ b/runtime/lambda/art_lambda_method.h @@ -90,17 +90,6 @@ class ArtLambdaMethod { return strlen(captured_variables_shorty_); } - // Return the offset in bytes from the start of ArtLambdaMethod to the method_. - // -- Only should be used by assembly (stubs) support code and compiled code. - static constexpr size_t GetArtMethodOffset() { - return offsetof(ArtLambdaMethod, method_); - } - - // Calculate how many vregs all the arguments will use when doing an invoke. - // (Most primitives are 1 vregs, double/long are 2, reference is 1, lambda is 2). - // -- This is used to know how big to set up shadow frame when invoking into the target method. - size_t GetArgumentVRegCount() const SHARED_REQUIRES(Locks::mutator_lock_); - private: // TODO: ArtMethod, or at least the entry points should be inlined into this struct // to avoid an extra indirect load when doing invokes. -- cgit v1.2.3-59-g8ed1b