summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/gen_invoke.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-10-02 17:24:53 +0100
committerVladimir Marko <vmarko@google.com>2014-10-02 17:24:53 +0100
commitff0ac4772d489d8780bbb6bb271dc6d5333cca7c (patch)
tree81674499f2657395263b2a8ad63aa2e0ed0f3caf /compiler/dex/quick/gen_invoke.cc
parent6e301ec84ff8cd55a29386cff9b3b00d51675b64 (diff)
downloadandroid_art-ff0ac4772d489d8780bbb6bb271dc6d5333cca7c.tar.gz
android_art-ff0ac4772d489d8780bbb6bb271dc6d5333cca7c.tar.bz2
android_art-ff0ac4772d489d8780bbb6bb271dc6d5333cca7c.zip
Remove all uses of MIR_INLINED.
They are not needed since https://android-review.googlesource.com/103763 Change-Id: I1dffe5e219db615be9d9aaceb72ad9bd7c69b58e
Diffstat (limited to 'compiler/dex/quick/gen_invoke.cc')
-rwxr-xr-xcompiler/dex/quick/gen_invoke.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/dex/quick/gen_invoke.cc b/compiler/dex/quick/gen_invoke.cc
index 67a75cbd62..c308932bcf 100755
--- a/compiler/dex/quick/gen_invoke.cc
+++ b/compiler/dex/quick/gen_invoke.cc
@@ -1666,16 +1666,6 @@ bool Mir2Lir::GenInlinedUnsafePut(CallInfo* info, bool is_long,
}
void Mir2Lir::GenInvoke(CallInfo* info) {
- if ((info->opt_flags & MIR_INLINED) != 0) {
- // Already inlined but we may still need the null check.
- if (info->type != kStatic &&
- ((cu_->disable_opt & (1 << kNullCheckElimination)) != 0 ||
- (info->opt_flags & MIR_IGNORE_NULL_CHECK) == 0)) {
- RegLocation rl_obj = LoadValue(info->args[0], kRefReg);
- GenNullCheck(rl_obj.reg);
- }
- return;
- }
DCHECK(cu_->compiler_driver->GetMethodInlinerMap() != nullptr);
if (cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(cu_->dex_file)
->GenIntrinsic(this, info)) {