OSDN Git Service

Simplify floating-point comparisons with NaN in Optimizing.
authorRoland Levillain <rpl@google.com>
Fri, 8 May 2015 12:13:19 +0000 (13:13 +0100)
committerRoland Levillain <rpl@google.com>
Fri, 8 May 2015 12:13:19 +0000 (13:13 +0100)
commit3b55ebb22156e1f3496cd1ee4a05e03b4780e579
treea358c1f6338828068bdd6df0eab3aba71eb2d7ab
parent2e8da8ecb94134081c3ea18a217294db367888a3
Simplify floating-point comparisons with NaN in Optimizing.

This change was suggested by Ian.

Also, simplify some art::HFloatConstant and
art::HDoubleConstant methods.

Change-Id: I7908df23581a7f61c8ec79c290fe5f70798ac3be
compiler/optimizing/constant_folding.cc
compiler/optimizing/nodes.h
test/442-checker-constant-folding/src/Main.java