OSDN Git Service

Allow NullConstant to be untyped in GraphVisualiser.
authorMark Mendell <mark.p.mendell@intel.com>
Mon, 16 Nov 2015 17:21:53 +0000 (12:21 -0500)
committerCalin Juravle <calin@google.com>
Thu, 19 Nov 2015 17:46:00 +0000 (17:46 +0000)
commitb2d38fdb968c818e53a4f82ce0a513cbd3bfa299
tree7f605ad4cef6b95d01380d778680d9dfc217265d
parent9231730cd0e285373afd73331168b289309ebee4
Allow NullConstant to be untyped in GraphVisualiser.

The NullConstant may be added to the graph during other passes that
happen between ReferenceTypePropagation and Inliner (e.g.
InstructionSimplifier). If the inliner doesn't run or doesn't inline
anything, the NullConstant remains untyped.

The infrastructure to properly type NullConstants everywhere is to
complex to add for the benefits

Bug: 25786318

Change-Id: I904a3e605b57f8cac9936e82f19a4994c7b1a82a
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
compiler/optimizing/graph_visualizer.cc