comparison src/share/vm/opto/parse.hpp @ 3900:a32de5085326

7079673: JSR 292: C1 should inline bytecoded method handle adapters Reviewed-by: never
author twisti
date Thu, 01 Sep 2011 01:31:25 -0700
parents aabf25fa3f05
children f6f3bb0ee072
comparison
equal deleted inserted replaced
3899:c124e2e7463e 3900:a32de5085326
76 InlineTree* callee_at(int bci, ciMethod* m) const; 76 InlineTree* callee_at(int bci, ciMethod* m) const;
77 int inline_level() const { return stack_depth(); } 77 int inline_level() const { return stack_depth(); }
78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } 78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; }
79 79
80 public: 80 public:
81 static const char* check_can_parse(ciMethod* callee);
82
81 static InlineTree* build_inline_tree_root(); 83 static InlineTree* build_inline_tree_root();
82 static InlineTree* find_subtree_from_root(InlineTree* root, JVMState* jvms, ciMethod* callee, bool create_if_not_found = false); 84 static InlineTree* find_subtree_from_root(InlineTree* root, JVMState* jvms, ciMethod* callee, bool create_if_not_found = false);
83 85
84 // For temporary (stack-allocated, stateless) ilts: 86 // For temporary (stack-allocated, stateless) ilts:
85 InlineTree(Compile* c, ciMethod* callee_method, JVMState* caller_jvms, float site_invoke_ratio, int max_inline_level); 87 InlineTree(Compile* c, ciMethod* callee_method, JVMState* caller_jvms, float site_invoke_ratio, int max_inline_level);