nashorn/test/script/basic/new.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 16147 e63b63819133
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
10
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
string
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
function() {
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
        return true;
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
    }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
10
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
string
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
function() {
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
        return true;
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
    }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
obj.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
[object Object]
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
in f1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
object