8211394: CHECK_ must be used in the rhs of an assignment statement within a block
Summary: replace "return foo(CHECK_X);" with "return foo(THREAD);"
Reviewed-by: iklam, phh, stuefe, lfoltan
/build/
/dist/
/.idea/
nbproject/private/
/webrev
/.src-rev
/.jib/
.DS_Store
.metadata/
.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
**/JTreport/**
**/JTwork/**