Mercurial > hg > truffle
comparison src/share/vm/opto/graphKit.hpp @ 3297:6431be02f3ac
Merge
author | trims |
---|---|
date | Fri, 29 Apr 2011 16:55:43 -0700 |
parents | 286c498ae0d4 |
children | 8f972594effc |
comparison
equal
deleted
inserted
replaced
3265:d7cc76ea8d06 | 3297:6431be02f3ac |
---|---|
771 Node* type_check_receiver(Node* receiver, ciKlass* klass, float prob, | 771 Node* type_check_receiver(Node* receiver, ciKlass* klass, float prob, |
772 Node* *casted_receiver); | 772 Node* *casted_receiver); |
773 | 773 |
774 // implementation of object creation | 774 // implementation of object creation |
775 Node* set_output_for_allocation(AllocateNode* alloc, | 775 Node* set_output_for_allocation(AllocateNode* alloc, |
776 const TypeOopPtr* oop_type, | 776 const TypeOopPtr* oop_type); |
777 bool raw_mem_only); | |
778 Node* get_layout_helper(Node* klass_node, jint& constant_value); | 777 Node* get_layout_helper(Node* klass_node, jint& constant_value); |
779 Node* new_instance(Node* klass_node, | 778 Node* new_instance(Node* klass_node, |
780 Node* slow_test = NULL, | 779 Node* slow_test = NULL, |
781 bool raw_mem_only = false, | |
782 Node* *return_size_val = NULL); | 780 Node* *return_size_val = NULL); |
783 Node* new_array(Node* klass_node, Node* count_val, int nargs, | 781 Node* new_array(Node* klass_node, Node* count_val, int nargs, |
784 bool raw_mem_only = false, Node* *return_size_val = NULL); | 782 Node* *return_size_val = NULL); |
785 | 783 |
786 // Handy for making control flow | 784 // Handy for making control flow |
787 IfNode* create_and_map_if(Node* ctrl, Node* tst, float prob, float cnt) { | 785 IfNode* create_and_map_if(Node* ctrl, Node* tst, float prob, float cnt) { |
788 IfNode* iff = new (C, 2) IfNode(ctrl, tst, prob, cnt);// New IfNode's | 786 IfNode* iff = new (C, 2) IfNode(ctrl, tst, prob, cnt);// New IfNode's |
789 _gvn.set_type(iff, iff->Value(&_gvn)); // Value may be known at parse-time | 787 _gvn.set_type(iff, iff->Value(&_gvn)); // Value may be known at parse-time |