summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2010-10-10 12:29:07 -0700
committerDan Bornstein <danfuzz@android.com>2010-10-10 12:29:07 -0700
commit9be25d09d24b3d6d0dd1a41c1c09471af4827687 (patch)
treeb22b706bda059c9ea10e66c1508bd0bbd810183c /docs
parent7d3f633d2c0061e579c57186276c05ddcc275641 (diff)
downloadandroid_dalvik-9be25d09d24b3d6d0dd1a41c1c09471af4827687.tar.gz
android_dalvik-9be25d09d24b3d6d0dd1a41c1c09471af4827687.tar.bz2
android_dalvik-9be25d09d24b3d6d0dd1a41c1c09471af4827687.zip
Clarify the invoke-* opcodes.
In particular, make it a little more explicit what kinds of methods are acceptable for each variant. Change-Id: Icd9dad876c2d10c23462b4d85ccaa9441d7f2c04
Diffstat (limited to 'docs')
-rw-r--r--docs/dalvik-bytecode.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/dalvik-bytecode.html b/docs/dalvik-bytecode.html
index e69a962ee..35fa64b0a 100644
--- a/docs/dalvik-bytecode.html
+++ b/docs/dalvik-bytecode.html
@@ -712,11 +712,12 @@
with an appropriate <code>move-result*</code> variant as the immediately
subsequent instruction.
<p><code>invoke-virtual</code> is used to invoke a normal virtual
- method (a method that is not <code>static</code> or <code>final</code>,
- and is not a constructor).</p>
+ method (a method that is not <code>private</code>, <code>static</code>,
+ or <code>final</code>, and is also not a constructor).</p>
<p><code>invoke-super</code> is used to invoke the closest superclass's
virtual method (as opposed to the one with the same <code>method_id</code>
- in the calling class).</p>
+ in the calling class). The same method restrictions hold as for
+ <code>invoke-virtual</code>.</p>
<p><code>invoke-direct</code> is used to invoke a non-<code>static</code>
direct method (that is, an instance method that is by its nature
non-overridable, namely either a <code>private</code> instance method