1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
72 |
72 |
73 // Match and/or update current_frame to the frame in stackmap table with |
73 // Match and/or update current_frame to the frame in stackmap table with |
74 // specified offset. Return true if the two frames match. |
74 // specified offset. Return true if the two frames match. |
75 bool match_stackmap( |
75 bool match_stackmap( |
76 StackMapFrame* current_frame, int32_t offset, |
76 StackMapFrame* current_frame, int32_t offset, |
77 bool match, bool update, bool handler, ErrorContext* ctx, TRAPS) const; |
77 bool match, bool update, ErrorContext* ctx, TRAPS) const; |
78 // Match and/or update current_frame to the frame in stackmap table with |
78 // Match and/or update current_frame to the frame in stackmap table with |
79 // specified offset and frame index. Return true if the two frames match. |
79 // specified offset and frame index. Return true if the two frames match. |
80 bool match_stackmap( |
80 bool match_stackmap( |
81 StackMapFrame* current_frame, int32_t offset, int32_t frame_index, |
81 StackMapFrame* current_frame, int32_t offset, int32_t frame_index, |
82 bool match, bool update, bool handler, ErrorContext* ctx, TRAPS) const; |
82 bool match, bool update, ErrorContext* ctx, TRAPS) const; |
83 |
83 |
84 // Check jump instructions. Make sure there are no uninitialized |
84 // Check jump instructions. Make sure there are no uninitialized |
85 // instances on backward branch. |
85 // instances on backward branch. |
86 void check_jump_target(StackMapFrame* frame, int32_t target, TRAPS) const; |
86 void check_jump_target(StackMapFrame* frame, int32_t target, TRAPS) const; |
87 |
87 |