1 /* |
1 /* |
2 * Copyright (c) 2003, 2014, 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. |
58 |
58 |
59 // Match and/or update current_frame to the frame in stackmap table with |
59 // Match and/or update current_frame to the frame in stackmap table with |
60 // specified offset. Return true if the two frames match. |
60 // specified offset. Return true if the two frames match. |
61 bool match_stackmap( |
61 bool match_stackmap( |
62 StackMapFrame* current_frame, int32_t offset, |
62 StackMapFrame* current_frame, int32_t offset, |
63 bool match, bool update, bool handler, ErrorContext* ctx, TRAPS) const; |
63 bool match, bool update, ErrorContext* ctx, TRAPS) const; |
64 // Match and/or update current_frame to the frame in stackmap table with |
64 // Match and/or update current_frame to the frame in stackmap table with |
65 // specified offset and frame index. Return true if the two frames match. |
65 // specified offset and frame index. Return true if the two frames match. |
66 bool match_stackmap( |
66 bool match_stackmap( |
67 StackMapFrame* current_frame, int32_t offset, int32_t frame_index, |
67 StackMapFrame* current_frame, int32_t offset, int32_t frame_index, |
68 bool match, bool update, bool handler, ErrorContext* ctx, TRAPS) const; |
68 bool match, bool update, ErrorContext* ctx, TRAPS) const; |
69 |
69 |
70 // Check jump instructions. Make sure there are no uninitialized |
70 // Check jump instructions. Make sure there are no uninitialized |
71 // instances on backward branch. |
71 // instances on backward branch. |
72 void check_jump_target(StackMapFrame* frame, int32_t target, TRAPS) const; |
72 void check_jump_target(StackMapFrame* frame, int32_t target, TRAPS) const; |
73 |
73 |