Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/exceptionHandlerTable.cpp @ 1748:3e8fbc61cee8
6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Wed, 25 Aug 2010 05:27:54 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1747:53dbe853fb3a | 1748:3e8fbc61cee8 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1998, 2010, 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. |
217 } | 217 } |
218 } | 218 } |
219 | 219 |
220 void ImplicitExceptionTable::verify(nmethod *nm) const { | 220 void ImplicitExceptionTable::verify(nmethod *nm) const { |
221 for (uint i = 0; i < len(); i++) { | 221 for (uint i = 0; i < len(); i++) { |
222 if ((*adr(i) > (unsigned int)nm->code_size()) || | 222 if ((*adr(i) > (unsigned int)nm->insts_size()) || |
223 (*(adr(i)+1) > (unsigned int)nm->code_size())) | 223 (*(adr(i)+1) > (unsigned int)nm->insts_size())) |
224 fatal(err_msg("Invalid offset in ImplicitExceptionTable at " PTR_FORMAT, _data)); | 224 fatal(err_msg("Invalid offset in ImplicitExceptionTable at " PTR_FORMAT, _data)); |
225 } | 225 } |
226 } | 226 } |