Mercurial > hg > truffle
comparison src/share/vm/opto/subnode.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | f1d6640088a1 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #ifndef SHARE_VM_OPTO_SUBNODE_HPP | |
26 #define SHARE_VM_OPTO_SUBNODE_HPP | |
27 | |
28 #include "opto/node.hpp" | |
29 #include "opto/opcodes.hpp" | |
30 #include "opto/type.hpp" | |
31 | |
25 // Portions of code courtesy of Clifford Click | 32 // Portions of code courtesy of Clifford Click |
26 | 33 |
27 //------------------------------SUBNode---------------------------------------- | 34 //------------------------------SUBNode---------------------------------------- |
28 // Class SUBTRACTION functionality. This covers all the usual 'subtract' | 35 // Class SUBTRACTION functionality. This covers all the usual 'subtract' |
29 // behaviors. Subtract-integer, -float, -double, binary xor, compare-integer, | 36 // behaviors. Subtract-integer, -float, -double, binary xor, compare-integer, |
527 ReverseBytesSNode(Node *c, Node *in1) : Node(c, in1) {} | 534 ReverseBytesSNode(Node *c, Node *in1) : Node(c, in1) {} |
528 virtual int Opcode() const; | 535 virtual int Opcode() const; |
529 const Type *bottom_type() const { return TypeInt::SHORT; } | 536 const Type *bottom_type() const { return TypeInt::SHORT; } |
530 virtual uint ideal_reg() const { return Op_RegI; } | 537 virtual uint ideal_reg() const { return Op_RegI; } |
531 }; | 538 }; |
539 | |
540 #endif // SHARE_VM_OPTO_SUBNODE_HPP |