src: avoid Isolate::GetCurrent() for platform implementation
There’s no need to use Isolate::GetCurrent()
, which is generally
discouraged, as the Isolate*
pointer can generally be looked up
from the per-Isolate platform data structure.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines