Skip to content

Commit

Permalink
src: use NativeModuleLoader to compile all the bootstrappers
Browse files Browse the repository at this point in the history
This patch moves all the bootstrapper compilation to use
NativeModuleLoader::CompileAndCall(). With this we no longer
need to mess with the error decoration and handling any more -
there is no point in handling the JS error occurred during bootstrapping
by ourselves, we should just crash or let the VM handle it.

PR-URL: nodejs#24775
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

Backport-PR-URL: nodejs#25446
  • Loading branch information
joyeecheung authored and BridgeAR committed Jan 16, 2019
1 parent 43c743d commit d967e86
Show file tree
Hide file tree
Showing 7 changed files with 975 additions and 1,074 deletions.
Loading

0 comments on commit d967e86

Please sign in to comment.