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: #24775
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

Backport-PR-URL: #25446
  • Loading branch information
joyeecheung authored and addaleax committed Jan 14, 2019
1 parent dd0381f commit d245c4c
Show file tree
Hide file tree
Showing 7 changed files with 975 additions and 1,074 deletions.
Loading

0 comments on commit d245c4c

Please sign in to comment.