summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler.cc
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.i.katkov@intel.com>2015-08-03 13:55:33 +0600
committerSerguei Katkov <serguei.i.katkov@intel.com>2015-08-11 18:12:02 +0600
commit8c0676ce786f33b8f9c8eedf1ace48988c750932 (patch)
tree024674305019f6e5b47a7aa044c47c87c1d4abaf /compiler/utils/assembler.cc
parent1f3f766d3b365d01f36b85dc19d40f754fa48533 (diff)
ART-Optimizing: Fix the type of HDivZeroCheck
HDivZeroCheck is created during the building CFG and at this moment its type is not known completely. So it sets the type to int or long. However, later SSA builder can insert the type conversion and type of input of HDivZeroCheck can become byte or short while the type of HDivZeroCheck remains the same. In reality the type of HDivZeroCheck should be always equal to its input parameter. To fix this inconsistency we return the type of HDivZeroCheck as its input type. Code generators are updated accordingly. Change-Id: I6a5aedc8d479cfc6328704e7ddf252bca830076b Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Diffstat (limited to 'compiler/utils/assembler.cc')
0 files changed, 0 insertions, 0 deletions