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
Error
at <anonymous> (foo.js:2)
at <program> (test/script/basic/JDK-8032068.js:33)
Error: x
at g (bar.js:1)
at <program> (bar.js:2)
at <program> (test/script/basic/JDK-8032068.js:39)
Error
at <anonymous> (foo2.js:2)
at <program> (test/script/basic/JDK-8032068.js:46)
Error: x
at g (bar2.js:1)
at <program> (bar2.js:2)
at <program> (test/script/basic/JDK-8032068.js:52)