1.1 --- a/src/share/vm/c1/c1_IR.hpp Mon Mar 08 04:46:30 2010 -0800 1.2 +++ b/src/share/vm/c1/c1_IR.hpp Tue Mar 09 20:16:19 2010 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -242,7 +242,7 @@ 1.11 //Whether we should reexecute this bytecode for deopt 1.12 bool should_reexecute(); 1.13 1.14 - void record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool topmost) { 1.15 + void record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool topmost, bool is_method_handle_invoke = false) { 1.16 if (caller() != NULL) { 1.17 // Order is significant: Must record caller first. 1.18 caller()->record_debug_info(recorder, pc_offset, false/*topmost*/); 1.19 @@ -252,7 +252,6 @@ 1.20 DebugToken* monvals = recorder->create_monitor_values(monitors()); 1.21 // reexecute allowed only for the topmost frame 1.22 bool reexecute = topmost ? should_reexecute() : false; 1.23 - bool is_method_handle_invoke = false; 1.24 bool return_oop = false; // This flag will be ignored since it used only for C2 with escape analysis. 1.25 recorder->describe_scope(pc_offset, scope()->method(), bci(), reexecute, is_method_handle_invoke, return_oop, locvals, expvals, monvals); 1.26 } 1.27 @@ -303,7 +302,7 @@ 1.28 int bci() const { return _bci; } 1.29 1.30 void add_register_oop(LIR_Opr opr); 1.31 - void record_debug_info(DebugInformationRecorder* recorder, int pc_offset); 1.32 + void record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool is_method_handle_invoke = false); 1.33 1.34 CodeEmitInfo* next() const { return _next; } 1.35 void set_next(CodeEmitInfo* next) { _next = next; }