Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/parse.hpp @ 3345:bad7ecd0b6ed
5091921: Sign flip issues in loop optimizer
Summary: Fix integer overflow problem in the code generated by loop optimizer.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 04 May 2011 13:12:42 -0700 |
parents | 0e3ed5a14f73 |
children | e2a92dd0d3d2 |
comparison
equal
deleted
inserted
replaced
3344:0139aac70fb5 | 3345:bad7ecd0b6ed |
---|---|
68 JVMState* caller_jvms, | 68 JVMState* caller_jvms, |
69 int caller_bci); | 69 int caller_bci); |
70 const char* try_to_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result); | 70 const char* try_to_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result); |
71 const char* shouldInline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const; | 71 const char* shouldInline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const; |
72 const char* shouldNotInline(ciMethod* callee_method, ciMethod* caller_method, WarmCallInfo* wci_result) const; | 72 const char* shouldNotInline(ciMethod* callee_method, ciMethod* caller_method, WarmCallInfo* wci_result) const; |
73 void print_inlining(ciMethod *callee_method, int caller_bci, const char *failure_msg) const PRODUCT_RETURN; | 73 void print_inlining(ciMethod *callee_method, int caller_bci, const char *failure_msg) const; |
74 | 74 |
75 InlineTree *caller_tree() const { return _caller_tree; } | 75 InlineTree *caller_tree() const { return _caller_tree; } |
76 InlineTree* callee_at(int bci, ciMethod* m) const; | 76 InlineTree* callee_at(int bci, ciMethod* m) const; |
77 int inline_depth() const { return stack_depth() + _site_depth_adjust; } | 77 int inline_depth() const { return stack_depth() + _site_depth_adjust; } |
78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } | 78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } |