From 412f6c6a16dba1b3c8a9837af18b94c12936dc91 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sun, 11 Sep 2011 17:28:36 -0700 Subject: Remove dead code. (cherry picked from commit c7abaf1f9cd06e8511bc70dd884e57226f635da2) Change-Id: I7ec6daec54daf04a4a5bf8196b8a4a9286216dd2 --- dalvik/src/main/java/dalvik/bytecode/OpcodeInfo.java | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'dalvik') diff --git a/dalvik/src/main/java/dalvik/bytecode/OpcodeInfo.java b/dalvik/src/main/java/dalvik/bytecode/OpcodeInfo.java index 1209b2e..b5aa3ed 100644 --- a/dalvik/src/main/java/dalvik/bytecode/OpcodeInfo.java +++ b/dalvik/src/main/java/dalvik/bytecode/OpcodeInfo.java @@ -39,8 +39,6 @@ public final class OpcodeInfo { *

Note:: This is constant in any given VM incarnation, * but it is subject to change over time, so it is not appropriate * to represent as a compile-time constant value.

- * - * @see dalvik.system.VMDebug.getInstructionCount() */ public static final int MAXIMUM_PACKED_VALUE; @@ -65,17 +63,4 @@ public final class OpcodeInfo { private OpcodeInfo() { // This space intentionally left blank. } - - /** - * Returns whether the given packed opcode value represents a - * method invocation operation. This includes most things that - * look like method invocation at the source level, but it notably - * excludes methods that are implemented directly in the VM as - * well as ones the VM knows to have empty implementations. - * - * @hide Unclear if this is useful enough to publish as supported API. - * - * @param opcode one of the values defined in {@link Opcodes} - */ - public static native boolean isInvoke(int packedOpcode); } -- cgit v1.1