Mercurial > hg > truffle
comparison src/share/vm/opto/subnode.hpp @ 20804:7848fc12602b
Merge with jdk8u40-b25
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 07 Apr 2015 14:58:49 +0200 |
parents | 52b4284cb496 5b8e0f84f00f |
children |
comparison
equal
deleted
inserted
replaced
20184:84105dcdb05b | 20804:7848fc12602b |
---|---|
273 // a simple char array where each element is the ASCII version of a 'mask' | 273 // a simple char array where each element is the ASCII version of a 'mask' |
274 // enum from above. | 274 // enum from above. |
275 mask commute( ) const { return mask("032147658"[_test]-'0'); } | 275 mask commute( ) const { return mask("032147658"[_test]-'0'); } |
276 mask negate( ) const { return mask(_test^4); } | 276 mask negate( ) const { return mask(_test^4); } |
277 bool is_canonical( ) const { return (_test == BoolTest::ne || _test == BoolTest::lt || _test == BoolTest::le || _test == BoolTest::overflow); } | 277 bool is_canonical( ) const { return (_test == BoolTest::ne || _test == BoolTest::lt || _test == BoolTest::le || _test == BoolTest::overflow); } |
278 #ifndef PRODUCT | |
279 void dump_on(outputStream *st) const; | 278 void dump_on(outputStream *st) const; |
280 #endif | |
281 }; | 279 }; |
282 | 280 |
283 //------------------------------BoolNode--------------------------------------- | 281 //------------------------------BoolNode--------------------------------------- |
284 // A Node to convert a Condition Codes to a Logical result. | 282 // A Node to convert a Condition Codes to a Logical result. |
285 class BoolNode : public Node { | 283 class BoolNode : public Node { |