stackMapTable.hpp revision 1472
1472N/A * Copyright (c) 2003, 2006, Oracle and/or its affiliates. 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. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A// StackMapTable class is the StackMap table used by type checker 0N/A // Logically, the _frame_count (as well as many fields in the StackFrame) 0N/A // should be a u2, but if we defined the variable as that type it will 0N/A // Widening the type and making it signed will help detect these. 0N/A // Match and/or update current_frame to the frame in stackmap table with 0N/A // specified offset. Return true if the two frames match. 0N/A // Match and/or update current_frame to the frame in stackmap table with 0N/A // specified offset and frame index. Return true if the two frames match. 0N/A // Check jump instructions. Make sure there are no uninitialized 0N/A // instances on backward branch. 0N/A // The following methods are only used inside this class. 0N/A // Returns the frame array index where the frame with offset is stored. 0N/A // Make sure that there's no uninitialized object exist on backward branch. 0N/A // information about the class and method 0N/A // information get from the attribute 0N/A // Since this error could be caused someone rewriting the method 0N/A // but not knowing to update the stackmap data, we call the the 0N/A // verifier's error method, which may not throw an exception and 0N/A // failover to the old verifier instead. 0N/A "StackMapTable format error: bad type array size");
0N/A // There's no stackmap table present. Frame count and size are 0.