1e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# 2e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# Copyright (C) 2015 The Android Open Source Project 3e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# 4e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# Licensed under the Apache License, Version 2.0 (the "License"); 5e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# you may not use this file except in compliance with the License. 6e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# You may obtain a copy of the License at 7e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# 8e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# http://www.apache.org/licenses/LICENSE-2.0 9e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# 10e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# Unless required by applicable law or agreed to in writing, software 11e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# distributed under the License is distributed on an "AS IS" BASIS, 12e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# See the License for the specific language governing permissions and 14e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray# limitations under the License. 15e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 16e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 17e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.class public LInvokeSuper; 18e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.super LSuperClass; 19e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 20e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.method public constructor <init>()V 21e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.registers 1 22e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray invoke-direct {v0}, LSuperClass;-><init>()V 23e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray return-void 24e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.end method 25e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 26e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 27e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.method public run()I 28e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.registers 2 29e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray # Do an invoke super on a non-super class to force complex resolution. 30e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray invoke-super {v1}, LInvokeSuper;->returnInt()I 31e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray move-result v0 32e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray return v0 33e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.end method 34e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 35e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray 36e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.method public returnInt()I 37e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.registers 2 38e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray const v0, 777 39e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray return v0 40e523423a053af5cb55837f07ceae9ff2fd581712Nicolas Geoffray.end method 41