8034812: remove IDX_INIT macro hack in Node class
Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly.
Reviewed-by: kvn, jrose, iveresov, goetz
{
"type": "Program",
"body": [
{
"type": "LabeledStatement",
"label": {
"type": "Identifier",
"name": "label"
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "WhileStatement",
"test": {
"type": "Literal",
"value": true
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "BreakStatement",
"label": {
"type": "Identifier",
"name": "label"
}
}
]
}
}
]
}
}
]
}