Closed jirkamarsik closed 3 years ago
@jirkamarsik I think you want to bump the Graal.js import in your PR as well.
Don't worry about the whitespace changes, I should try to get mx eclipseformat
working in our Gtihub action so that the formatting is consistent.
Calls to
#getRealm
are replaced withJSRealm#get
. The PR also includes a fix for compiling NodeProf in native images, by explicitly specifying that the NodeProf classes can be initialized at build-time.I also dropped an unused
Env
parameter fromgetReceiver
that was giving me compiler warnings and ran the code through the Eclipse code formatter that's used in GraalVM JavaScript (that last one was a bit of a mistake as I thoughtmx eclipseformat
was being used already, but it turned out it isn't and so it changed the formatting in several unrelated places; I can revert those changes if they are unwanted).