Skip to content

n-api: reimplement instanceof using V8 API

Rodrigo Muino Tomonari requested to merge github/fork/hashseed/instanceof into master

This uses the v8::Value::InstanceOf API exposed in V8 6.0 and should be performance neutral, if not improve it. By using V8's API, there is no longer the need to cache Symbol.hasInstance.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

N-API

Merge request reports

Loading