aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-12-09 00:44:31 -0800
committerElliott Hughes <enh@google.com>2009-12-09 00:44:31 -0800
commitc047c11da7d284940bcac9a28c42145628d49fed (patch)
tree0b4af0fd926e340acdc9a0b0a610affb4b51d04f /vm/compiler/codegen/arm/CodegenDriver.c
parentf0e054b5871579df9cc0aa5d7c63e16e1d7939fb (diff)
Fix java.util.Formatter formatting of -0.0.
The active ingredient here is the two changes to stop comparing longValue with doubleValue and formatting the long if the two compare equal. This causes us to lose the sign of 0 (because there's no long -0, but -0.0d == 0). Instead, we explicitly test for boxed Double and Float arguments (because the number of integral types is larger, they get the "else" clause). The other changes are just minor cosmetic changes made as I followed the code. Bug found by jtreg, so no new test.
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions