Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/debugInfo.hpp @ 14726:92aa6797d639
Backed out merge changeset: b51e29501f30
Backed out merge revision to its first parent (8f483e200405)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Mar 2014 21:30:43 +0100 |
parents | b51e29501f30 |
children |
comparison
equal
deleted
inserted
replaced
14719:0bdd0d157040 | 14726:92aa6797d639 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2013, 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. |
271 assert(o == NULL || o->is_oop(), "oop only"); | 271 assert(o == NULL || o->is_oop(), "oop only"); |
272 return o; | 272 return o; |
273 } | 273 } |
274 Method* read_method() { | 274 Method* read_method() { |
275 Method* o = (Method*)(code()->metadata_at(read_int())); | 275 Method* o = (Method*)(code()->metadata_at(read_int())); |
276 // is_metadata() is a faster check than is_metaspace_object() | 276 assert(o == NULL || |
277 assert(o == NULL || o->is_metadata(), "meta data only"); | 277 o->is_metaspace_object(), "meta data only"); |
278 return o; | 278 return o; |
279 } | 279 } |
280 ScopeValue* read_object_value(); | 280 ScopeValue* read_object_value(); |
281 ScopeValue* get_cached_object(); | 281 ScopeValue* get_cached_object(); |
282 // BCI encoding is mostly unsigned, but -1 is a distinguished value | 282 // BCI encoding is mostly unsigned, but -1 is a distinguished value |