diff options
| author | 2015-11-24 09:20:09 +0000 | |
|---|---|---|
| committer | 2015-11-24 09:20:09 +0000 | |
| commit | a4bce7141aa089d9664d064bdaea05223759447a (patch) | |
| tree | 9b61bb827218ecbb40bbff31b425205680a974a2 /runtime/lambda/art_lambda_method.h | |
| parent | 0c32fdeaeda2a1e388e280da12662d1d18c834a2 (diff) | |
| parent | 3a0909248e04b22c3981cbf617bc2502ed5b6380 (diff) | |
Merge "Revert "lambda: Add support for invoke-interface for boxed innate lambdas""
Diffstat (limited to 'runtime/lambda/art_lambda_method.h')
| -rw-r--r-- | runtime/lambda/art_lambda_method.h | 11 |
1 files changed, 0 insertions, 11 deletions
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. |