equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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. |
1192 // Iterators over DU info, and associated Node functions. |
1192 // Iterators over DU info, and associated Node functions. |
1193 |
1193 |
1194 #if OPTO_DU_ITERATOR_ASSERT |
1194 #if OPTO_DU_ITERATOR_ASSERT |
1195 |
1195 |
1196 // Common code for assertion checking on DU iterators. |
1196 // Common code for assertion checking on DU iterators. |
1197 class DUIterator_Common VALUE_OBJ_CLASS_SPEC { |
1197 class DUIterator_Common { |
1198 #ifdef ASSERT |
1198 #ifdef ASSERT |
1199 protected: |
1199 protected: |
1200 bool _vdui; // cached value of VerifyDUIterators |
1200 bool _vdui; // cached value of VerifyDUIterators |
1201 const Node* _node; // the node containing the _out array |
1201 const Node* _node; // the node containing the _out array |
1202 uint _outcnt; // cached node->_outcnt |
1202 uint _outcnt; // cached node->_outcnt |
1616 |
1616 |
1617 |
1617 |
1618 //-----------------------------Node_Notes-------------------------------------- |
1618 //-----------------------------Node_Notes-------------------------------------- |
1619 // Debugging or profiling annotations loosely and sparsely associated |
1619 // Debugging or profiling annotations loosely and sparsely associated |
1620 // with some nodes. See Compile::node_notes_at for the accessor. |
1620 // with some nodes. See Compile::node_notes_at for the accessor. |
1621 class Node_Notes VALUE_OBJ_CLASS_SPEC { |
1621 class Node_Notes { |
1622 friend class VMStructs; |
1622 friend class VMStructs; |
1623 JVMState* _jvms; |
1623 JVMState* _jvms; |
1624 |
1624 |
1625 public: |
1625 public: |
1626 Node_Notes(JVMState* jvms = NULL) { |
1626 Node_Notes(JVMState* jvms = NULL) { |