src/share/vm/opto/node.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8129847-8u-dev Cdiff src/share/vm/opto/node.cpp

src/share/vm/opto/node.cpp

Print this page

        

*** 323,332 **** --- 323,335 ---- //------------------------------Node------------------------------------------- // Create a Node, with a given number of required edges. Node::Node(uint req) : _idx(IDX_INIT(req)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { assert( req < Compile::current()->max_node_limit() - NodeLimitFudgeFactor, "Input limit exceeded" ); debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); if (req == 0) {
*** 342,351 **** --- 345,357 ---- } //------------------------------Node------------------------------------------- Node::Node(Node *n0) : _idx(IDX_INIT(1)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[0] == this, "Must pass arg count to 'new'" );
*** 354,363 **** --- 360,372 ---- } //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1) : _idx(IDX_INIT(2)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[1] == this, "Must pass arg count to 'new'" );
*** 368,377 **** --- 377,389 ---- } //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1, Node *n2) : _idx(IDX_INIT(3)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[2] == this, "Must pass arg count to 'new'" );
*** 384,393 **** --- 396,408 ---- } //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1, Node *n2, Node *n3) : _idx(IDX_INIT(4)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[3] == this, "Must pass arg count to 'new'" );
*** 402,411 **** --- 417,429 ---- } //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1, Node *n2, Node *n3, Node *n4) : _idx(IDX_INIT(5)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[4] == this, "Must pass arg count to 'new'" );
*** 423,432 **** --- 441,453 ---- //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5) : _idx(IDX_INIT(6)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[5] == this, "Must pass arg count to 'new'" );
*** 446,455 **** --- 467,479 ---- //------------------------------Node------------------------------------------- Node::Node(Node *n0, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5, Node *n6) : _idx(IDX_INIT(7)) + #ifdef ASSERT + , _parse_idx(_idx) + #endif { debug_only( verify_construction() ); NOT_PRODUCT(nodes_created++); // Assert we allocated space for input array already assert( _in[6] == this, "Must pass arg count to 'new'" );
src/share/vm/opto/node.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File