Mercurial > hg > truffle
comparison src/share/vm/code/scopeDesc.hpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | 85bd81dba8fc 933c8a58c9dc |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2014, 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. |
85 // Returns where the scope was decoded | 85 // Returns where the scope was decoded |
86 int decode_offset() const { return _decode_offset; } | 86 int decode_offset() const { return _decode_offset; } |
87 | 87 |
88 // Tells whether sender() returns NULL | 88 // Tells whether sender() returns NULL |
89 bool is_top() const; | 89 bool is_top() const; |
90 // Tells whether sd is equal to this | |
91 bool is_equal(ScopeDesc* sd) const; | |
92 | 90 |
93 private: | 91 private: |
94 // Alternative constructor | 92 // Alternative constructor |
95 ScopeDesc(const ScopeDesc* parent); | 93 ScopeDesc(const ScopeDesc* parent); |
96 | 94 |