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>
  • Loading branch information
joyeecheung committed Dec 3, 2018
1 parent fa19ce9 commit edcb950
Show file tree
Hide file tree
Showing 7 changed files with 975 additions and 1,074 deletions.
Loading

0 comments on commit edcb950

Please sign in to comment.