10d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray#
20d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# Copyright (C) 2014 The Android Open Source Project
30d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray#
40d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# Licensed under the Apache License, Version 2.0 (the "License");
50d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# you may not use this file except in compliance with the License.
60d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# You may obtain a copy of the License at
70d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray#
80d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray#     http://www.apache.org/licenses/LICENSE-2.0
90d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray#
100d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# Unless required by applicable law or agreed to in writing, software
110d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# distributed under the License is distributed on an "AS IS" BASIS,
120d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# See the License for the specific language governing permissions and
140d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray# limitations under the License.
150d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
160d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
170d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.class public LInvokeSuper;
180d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.super LSuperClass;
190d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
200d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.method public constructor <init>()V
210d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.registers 1
220d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray       invoke-direct {v0}, LSuperClass;-><init>()V
230d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray       return-void
240d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.end method
250d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
260d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
270d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.method public run()I
280d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.registers 2
290d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    # Do an invoke super on a non-super class to force slow path.
300d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    invoke-super {v1}, LInvokeSuper;->returnInt()I
310d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    move-result v0
320d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    return v0
330d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.end method
340d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
350d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray
360d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.method public returnInt()I
370d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.registers 2
380d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    const v0, 777
390d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray    return v0
400d8db99ac5d838f81e0d3be83a5b00d5475edf86Nicolas Geoffray.end method
41