Mercurial > hg > truffle
comparison src/share/vm/opto/bytecodeInfo.cpp @ 245:4a4c365f777d
Merge
author | kvn |
---|---|
date | Fri, 11 Jul 2008 12:19:29 -0700 |
parents | d1605aabd0a1 524eca34ea76 |
children | 194b8e3a2fc4 |
comparison
equal
deleted
inserted
replaced
235:9c2ecc2ffb12 | 245:4a4c365f777d |
---|---|
81 | 81 |
82 static bool is_init_with_ea(ciMethod* callee_method, | 82 static bool is_init_with_ea(ciMethod* callee_method, |
83 ciMethod* caller_method, Compile* C) { | 83 ciMethod* caller_method, Compile* C) { |
84 // True when EA is ON and a java constructor is called or | 84 // True when EA is ON and a java constructor is called or |
85 // a super constructor is called from an inlined java constructor. | 85 // a super constructor is called from an inlined java constructor. |
86 return DoEscapeAnalysis && EliminateAllocations && | 86 return C->do_escape_analysis() && EliminateAllocations && |
87 ( callee_method->is_initializer() || | 87 ( callee_method->is_initializer() || |
88 (caller_method->is_initializer() && | 88 (caller_method->is_initializer() && |
89 caller_method != C->method() && | 89 caller_method != C->method() && |
90 caller_method->holder()->is_subclass_of(callee_method->holder())) | 90 caller_method->holder()->is_subclass_of(callee_method->holder())) |
91 ); | 91 ); |