diff src/share/vm/c1/c1_GraphBuilder.hpp @ 4871:f067b4e0e04b

7090976: Eclipse/CDT causes a JVM crash while indexing C++ code Summary: too optimistic inlining decision confuses local value numbering. Reviewed-by: never
author roland
date Wed, 01 Feb 2012 10:36:58 +0100
parents a32de5085326
children 1d7922586cf6
line wrap: on
line diff
--- a/src/share/vm/c1/c1_GraphBuilder.hpp	Tue Jan 31 09:53:46 2012 -0800
+++ b/src/share/vm/c1/c1_GraphBuilder.hpp	Wed Feb 01 10:36:58 2012 +0100
@@ -337,9 +337,9 @@
   void fill_sync_handler(Value lock, BlockBegin* sync_handler, bool default_handler = false);
 
   // inliners
-  bool try_inline(           ciMethod* callee, bool holder_known);
+  bool try_inline(           ciMethod* callee, bool holder_known, Value receiver = NULL);
   bool try_inline_intrinsics(ciMethod* callee);
-  bool try_inline_full(      ciMethod* callee, bool holder_known, BlockBegin* cont_block = NULL);
+  bool try_inline_full(      ciMethod* callee, bool holder_known, BlockBegin* cont_block, Value receiver);
   bool try_inline_jsr(int jsr_dest_bci);
 
   // JSR 292 support