OSDN Git Service

Quick: Abolish kMirOpCheckPart2.
authorVladimir Marko <vmarko@google.com>
Thu, 7 May 2015 11:25:40 +0000 (12:25 +0100)
committerVladimir Marko <vmarko@google.com>
Thu, 7 May 2015 17:36:55 +0000 (18:36 +0100)
commitf80552b7e5f627a5dd07af017b7d65dec010ca48
tree970c985db11cfab03696970d1f11c66a18203ed9
parent3ba8671d60061359fd833f60f7a9dca14878cc0b
Quick: Abolish kMirOpCheckPart2.

The tricks played with kMirOpCheckPart2 are making the
native GC map generation unnecessarily complex. They have
caused problems in the past and now there is bad interaction
with the DCE. Rather than fixing it time and again, remove
the pseudo-insn.

(The whole purpose of those tricks seems to be to allow the
register tracking to be used for the throwing insn before
resetting the tracking for the next block. However, it's
questionable whether that's better than processing the
throwing insn with the subsequent instructions.)

Bug: 20736048

(cherry picked from commit e299f167c9559401548eab71678d4b779e46c2fb)

Change-Id: I8a60d26c5e6b6b608d68b8bb6b66d411f9a28f90
compiler/dex/compiler_enums.h
compiler/dex/mir_dataflow.cc
compiler/dex/mir_graph.cc
compiler/dex/quick/codegen_util.cc
compiler/dex/quick/mir_to_lir.cc
compiler/dex/quick/quick_compiler.cc