c1_IR.hpp revision 1253
948N/A * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A * CA 95054 USA or visit www.sun.com if you need additional information or 0N/A * have any questions. 0N/A// An XHandler is a C1 internal description for an exception handler 0N/A int _entry_pco;
// pco where entry_code (or entry_block if no entry_code) starts 0N/A int _phi_operand;
// For resolving of phi functions at begin of entry_block 0N/A int _lir_op_id;
// op_id of the LIR-operation throwing to this handler 0N/A // accessors for data of ciExceptionHandler 0N/A // accessors for additional fields 0N/A// XHandlers is the C1 internal list of exception handlers for a method 0N/A int _caller_bci;
// the caller bci of the corresponding (inlined) invoke, or < 0 0N/A // lock stack management 0N/A // must be spilled to the stack because of exception 0N/A // handling inside inlined methods 0N/A // Needed because caller state is not ready at time of IRScope construction 0N/A // Needed because caller state changes after IRScope construction. 0N/A // Computes number of expression stack elements whose state must be 0N/A // preserved in the case of an exception; these may be seen by 0N/A // caller scopes. Zero when inlining of methods containing exception 0N/A // handlers is disabled, otherwise a conservative approximation. 0N/A// IRScopeDebugInfo records the debug information for a particular IRScope 0N/A// in a particular CodeEmitInfo. This allows the information to be computed 0N/A// once early enough for the OopMap to be available to the LIR and also to be 0N/A// reemited for different pcs using the same CodeEmitInfo without recomputing 900N/A //Whether we should reexecute this bytecode for deopt 0N/A // Order is significant: Must record caller first. 900N/A // reexecute allowed only for the topmost frame 1253N/A bool return_oop =
false;
// This flag will be ignored since it used only for C2 with escape analysis. 0N/A // use scope from ValueStack 0N/A // The linear-scan order and the code emission order are equal, but 0N/A // this may change in future 0N/A// Globally do instruction substitution and remove substituted 0N/A// instructions from the instruction list.