summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-10-31 16:37:32 +0000
committerVladimir Marko <vmarko@google.com>2014-11-21 18:47:37 +0000
commitaf6925b7fe5dc5a3c8d52ee3370e86e75400f873 (patch)
tree1fe667865bb7dbae3a00bb002492bd4ff4ab194a /compiler/optimizing/graph_visualizer.cc
parentf585e549682a98eec12f92033e9634dc162b7df8 (diff)
Rewrite GVN's field id and field type handling.
Create a helper unit for dex insn classification and cache dex field type (as encoded in the insn) in the MirFieldInfo. Use this for cleanup and a few additional DCHECKs. Change the GVN's field id to match the field lowering info index (MIR::meta::{i,s}field_lowering_info), except where multiple indexes refer to the same field and we use the lowest of the applicable indexes. Use the MirMethodInfo from MIRGraph to retrieve field type for GVN using this index. This slightly reduces GVN compilation time and prepares for further compilation time improvements. Change-Id: I1b1247cdb8e8b6897254e2180f3230f10159bed5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions