2 * Copyright (C) 2008 The Android Open Source Project
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * Table of Dalvik opcode names.
20 * IMPORTANT NOTE: The contents of this file are mostly generated
21 * automatically by the opcode-gen tool. Any edits to the generated
22 * sections will get wiped out the next time the tool is run.
25 #include "DexOpcodes.h"
29 * Dalvik opcode names.
31 static const char* gOpNames[kNumPackedOpcodes] = {
32 // BEGIN(libdex-opcode-names); GENERATED AUTOMATICALLY BY opcode-gen
70 "filled-new-array/range",
149 "invoke-virtual/range",
150 "invoke-super/range",
151 "invoke-direct/range",
152 "invoke-static/range",
153 "invoke-interface/range",
264 "+iget-object-volatile",
265 "+iget-wide-volatile",
266 "+iput-wide-volatile",
267 "+sget-wide-volatile",
268 "+sput-wide-volatile",
270 "^throw-verification-error",
272 "+execute-inline/range",
273 "+invoke-object-init/range",
274 "+return-void-barrier",
277 "+iget-object-quick",
280 "+iput-object-quick",
281 "+invoke-virtual-quick",
282 "+invoke-virtual-quick/range",
283 "+invoke-super-quick",
284 "+invoke-super-quick/range",
285 "+iput-object-volatile",
286 "+sget-object-volatile",
287 "+sput-object-volatile",
289 // END(libdex-opcode-names)
293 * Return the name of an opcode.
295 const char* dexGetOpcodeName(Opcode op)
297 assert(op >= 0 && op < kNumPackedOpcodes);