diff options
Diffstat (limited to 'compiler/dex/quick')
| -rw-r--r-- | compiler/dex/quick/dex_file_method_inliner.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/compiler/dex/quick/dex_file_method_inliner.cc b/compiler/dex/quick/dex_file_method_inliner.cc index 06eff4e170..2d738c5753 100644 --- a/compiler/dex/quick/dex_file_method_inliner.cc +++ b/compiler/dex/quick/dex_file_method_inliner.cc @@ -647,11 +647,7 @@ bool DexFileMethodInliner::GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MI bool object_is_this = (data.method_is_static == 0u && data.object_arg == 0u); if (!object_is_this) { // TODO: Implement inlining of IGET on non-"this" registers (needs correct stack trace for NPE). - // Allow synthetic accessors. We don't care about losing their stack frame in NPE. - if (!InlineMethodAnalyser::IsSyntheticAccessor( - mir_graph->GetMethodLoweringInfo(invoke).GetTargetMethod())) { - return false; - } + return false; } if (object_is_this) { @@ -710,11 +706,7 @@ bool DexFileMethodInliner::GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MI bool object_is_this = (data.method_is_static == 0u && data.object_arg == 0u); if (!object_is_this) { // TODO: Implement inlining of IPUT on non-"this" registers (needs correct stack trace for NPE). - // Allow synthetic accessors. We don't care about losing their stack frame in NPE. - if (!InlineMethodAnalyser::IsSyntheticAccessor( - mir_graph->GetMethodLoweringInfo(invoke).GetTargetMethod())) { - return false; - } + return false; } if (object_is_this) { |