Mercurial > hg > truffle
comparison src/share/vm/opto/node.hpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | 70120f47d403 |
children | d1034bd8cefc |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
408 if (n != NULL) n->add_out((Node *)this); | 408 if (n != NULL) n->add_out((Node *)this); |
409 } | 409 } |
410 // Find first occurrence of n among my edges: | 410 // Find first occurrence of n among my edges: |
411 int find_edge(Node* n); | 411 int find_edge(Node* n); |
412 int replace_edge(Node* old, Node* neww); | 412 int replace_edge(Node* old, Node* neww); |
413 int replace_edges_in_range(Node* old, Node* neww, int start, int end); | |
413 // NULL out all inputs to eliminate incoming Def-Use edges. | 414 // NULL out all inputs to eliminate incoming Def-Use edges. |
414 // Return the number of edges between 'n' and 'this' | 415 // Return the number of edges between 'n' and 'this' |
415 int disconnect_inputs(Node *n, Compile *c); | 416 int disconnect_inputs(Node *n, Compile *c); |
416 | 417 |
417 // Quickly, return true if and only if I am Compile::current()->top(). | 418 // Quickly, return true if and only if I am Compile::current()->top(). |
962 const TypeLong* t = find_long_type(); | 963 const TypeLong* t = find_long_type(); |
963 return (t != NULL && t->is_con()) ? t->get_con() : value_if_unknown; | 964 return (t != NULL && t->is_con()) ? t->get_con() : value_if_unknown; |
964 } | 965 } |
965 const TypeLong* find_long_type() const; | 966 const TypeLong* find_long_type() const; |
966 | 967 |
968 const TypePtr* get_ptr_type() const; | |
969 | |
967 // These guys are called by code generated by ADLC: | 970 // These guys are called by code generated by ADLC: |
968 intptr_t get_ptr() const; | 971 intptr_t get_ptr() const; |
969 intptr_t get_narrowcon() const; | 972 intptr_t get_narrowcon() const; |
970 jdouble getd() const; | 973 jdouble getd() const; |
971 jfloat getf() const; | 974 jfloat getf() const; |