summaryrefslogtreecommitdiff
path: root/runtime/lambda/art_lambda_method.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-11-24 09:20:09 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-24 09:20:09 +0000
commita4bce7141aa089d9664d064bdaea05223759447a (patch)
tree9b61bb827218ecbb40bbff31b425205680a974a2 /runtime/lambda/art_lambda_method.cc
parent0c32fdeaeda2a1e388e280da12662d1d18c834a2 (diff)
parent3a0909248e04b22c3981cbf617bc2502ed5b6380 (diff)
Merge "Revert "lambda: Add support for invoke-interface for boxed innate lambdas""
Diffstat (limited to 'runtime/lambda/art_lambda_method.cc')
-rw-r--r--runtime/lambda/art_lambda_method.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/lambda/art_lambda_method.cc b/runtime/lambda/art_lambda_method.cc
index 0690cd1a31..6f9f8bbb59 100644
--- a/runtime/lambda/art_lambda_method.cc
+++ b/runtime/lambda/art_lambda_method.cc
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-#include "art_method-inl.h"
#include "lambda/art_lambda_method.h"
#include "base/logging.h"
@@ -74,12 +73,5 @@ ArtLambdaMethod::ArtLambdaMethod(ArtMethod* target_method,
}
}
-size_t ArtLambdaMethod::GetArgumentVRegCount() const {
- DCHECK(GetArtMethod()->IsStatic()); // Instance methods don't have receiver in shorty.
- const char* method_shorty = GetArtMethod()->GetShorty();
- DCHECK_NE(*method_shorty, '\0') << method_shorty;
- return ShortyFieldType::CountVirtualRegistersRequired(method_shorty + 1); // skip return type
-}
-
} // namespace lambda
} // namespace art