3955N/A * Copyright (c) 2003, 2012, 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// A StackMapFrame represents one frame in the stack map attribute. 0N/A // See comment in StackMapTable about _frame_count about why these 0N/A // fields are int32_t instead of u2. 3955N/A // instruction modification, to allow rewinding 0N/A // This constructor is used by the type checker to allocate frames 0N/A // in type state, which have _max_locals and _max_stack array elements 0N/A // in _locals and _stack. 0N/A // This constructor is used to initialize stackmap frames in stackmap table, 0N/A // which have _locals_size and _stack_size array elements in _locals and _stack. 0N/A // Set locals and stack types to bogus 0N/A // Return a StackMapFrame with the same local variable array and empty stack. 0N/A // Stack array is allocate with unused one element. 0N/A // Set local variable type array based on m's signature. 0N/A // Search local variable type array and stack type array. 0N/A // Return true if an uninitialized object is found. 0N/A // Search local variable type array and stack type array. 0N/A // Set every element with type of old_object to new_object. 0N/A // Copy local variable type array in src into this local variable type array. 0N/A // Copy stack type array in src into this stack type array. 0N/A // Return true if this stack map frame is assignable to target. 3955N/A // Put bogus type to indicate it's no longer valid. 3955N/A // Used when an error occurs and we want to reset the stack to the state 3955N/A // it was before operands were popped off. 0N/A // Push type into stack type array. 0N/A // Pop and return the top type on stack without verifying. 3955N/A "Operand stack underflow");
0N/A // Pop and return the top type on stack type array after verifying it 0N/A // is assignable to type. 0N/A // Uncommon case that throws exceptions. 0N/A // Return the type at index in local variable array after verifying 0N/A // it is assignable to type. 0N/A // Set element at index in local variable array to type. 0N/A // Private auxiliary method used only in is_assignable_to(StackMapFrame). 0N/A // Returns true if src is assignable to target. 1879N/A#
endif // SHARE_VM_CLASSFILE_STACKMAPFRAME_HPP