summaryrefslogtreecommitdiff
path: root/runtime/quick/inline_method_analyser.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2016-02-02 20:12:32 +0000
committer Vladimir Marko <vmarko@google.com> 2016-02-02 20:12:32 +0000
commit9f35ccd3880e2d4d03dce7d7edb4307fadddf62b (patch)
tree1ee85d88ce2c30b2bfa67ad4363f47ffa8dd6630 /runtime/quick/inline_method_analyser.cc
parent1ef02af31d5936a59ddeb762cb3cf767b599787a (diff)
ART: Fix bad manual rename of local variable.
Follow up to https://android-review.googlesource.com/198621 . Bug: 26929002 Change-Id: I11c5000d7b7bfaa866d45603c8c21d4ab8599a0e
Diffstat (limited to 'runtime/quick/inline_method_analyser.cc')
-rw-r--r--runtime/quick/inline_method_analyser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/quick/inline_method_analyser.cc b/runtime/quick/inline_method_analyser.cc
index 17306c9842..6b84c8faa2 100644
--- a/runtime/quick/inline_method_analyser.cc
+++ b/runtime/quick/inline_method_analyser.cc
@@ -108,7 +108,7 @@ bool InlineMethodAnalyser::AnalyseMethodCode(const DexFile::CodeItem* code_item,
switch (opcode) {
case Instruction::RETURN_VOID:
- if (method != nullptr) {
+ if (result != nullptr) {
result->opcode = kInlineOpNop;
result->flags = kInlineSpecial;
result->d.data = 0u;