| Index: runtime/vm/method_recognizer.cc
|
| diff --git a/runtime/vm/method_recognizer.cc b/runtime/vm/method_recognizer.cc
|
| index 16d25bbf3b5a1f3ddd66c9154ff741a1cfa87f01..dc195c6cfdaf403156c7ea8a10000d058bfe5fab 100644
|
| --- a/runtime/vm/method_recognizer.cc
|
| +++ b/runtime/vm/method_recognizer.cc
|
| @@ -14,17 +14,14 @@ MethodRecognizer::Kind MethodRecognizer::RecognizeKind(
|
| return function.recognized_kind();
|
| }
|
|
|
| -
|
| bool MethodRecognizer::AlwaysInline(const Function& function) {
|
| return function.always_inline();
|
| }
|
|
|
| -
|
| bool MethodRecognizer::PolymorphicTarget(const Function& function) {
|
| return function.is_polymorphic_target();
|
| }
|
|
|
| -
|
| intptr_t MethodRecognizer::ResultCid(const Function& function) {
|
| switch (function.recognized_kind()) {
|
| #define DEFINE_CASE(cname, fname, ename, result_type, fingerprint) \
|
| @@ -37,7 +34,6 @@ intptr_t MethodRecognizer::ResultCid(const Function& function) {
|
| }
|
| }
|
|
|
| -
|
| intptr_t MethodRecognizer::MethodKindToReceiverCid(Kind kind) {
|
| switch (kind) {
|
| case kImmutableArrayGetIndexed:
|
| @@ -118,7 +114,6 @@ intptr_t MethodRecognizer::MethodKindToReceiverCid(Kind kind) {
|
| return kIllegalCid;
|
| }
|
|
|
| -
|
| #define KIND_TO_STRING(class_name, function_name, enum_name, type, fp) \
|
| #enum_name,
|
| static const char* recognized_list_method_name[] = {
|
| @@ -131,7 +126,6 @@ const char* MethodRecognizer::KindToCString(Kind kind) {
|
| return "?";
|
| }
|
|
|
| -
|
| #if !defined(DART_PRECOMPILED_RUNTIME)
|
| void MethodRecognizer::InitializeState() {
|
| GrowableArray<Library*> libs(3);
|
| @@ -185,5 +179,4 @@ void MethodRecognizer::InitializeState() {
|
| }
|
| #endif // !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
| -
|
| } // namespace dart
|
|
|