blob: 1740c079bb6cc78b2243b40305f5ff2822b995b9 [file] [log] [blame]
Elliott Hughes2faa5f12012-01-30 14:42:07 -08001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Ian Rogersb033c752011-07-20 12:22:35 -070016
David Sehr334b9d72018-02-12 18:27:56 -080017#ifndef ART_LIBDEXFILE_DEX_INVOKE_TYPE_H_
18#define ART_LIBDEXFILE_DEX_INVOKE_TYPE_H_
Ian Rogersb033c752011-07-20 12:22:35 -070019
Ian Rogersc8b306f2012-02-17 21:34:44 -080020#include <iosfwd>
21
buzbeec143c552011-08-20 17:38:58 -070022namespace art {
23
Andreas Gampe5d08fcc2017-06-05 17:56:46 -070024enum InvokeType : uint32_t {
Orion Hodson43f0cdb2017-10-10 14:47:32 +010025 kStatic, // <<static>>
26 kDirect, // <<direct>>
27 kVirtual, // <<virtual>>
28 kSuper, // <<super>>
29 kInterface, // <<interface>>
30 kPolymorphic, // <<polymorphic>>
Orion Hodson4c8e12e2018-05-18 08:33:20 +010031 kCustom, // <<custom>>
32 kMaxInvokeType = kCustom
Ian Rogersc8b306f2012-02-17 21:34:44 -080033};
34
35std::ostream& operator<<(std::ostream& os, const InvokeType& rhs);
36
buzbeec143c552011-08-20 17:38:58 -070037} // namespace art
38
David Sehr334b9d72018-02-12 18:27:56 -080039#endif // ART_LIBDEXFILE_DEX_INVOKE_TYPE_H_