diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2021-05-29 01:14:27 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2021-06-10 14:45:28 +0800 |
commit | 8834ec9f5c522f7d800d85b245a9806418515b7c (patch) | |
tree | 7f8719dd7d49df73be15b31d958636b433ed36d6 /deps/v8/src/heap/basic-memory-chunk.cc | |
parent | c109a6cc830146f90c31f608d24c2afa22335364 (diff) | |
download | node-new-8834ec9f5c522f7d800d85b245a9806418515b7c.tar.gz |
src: throw error in LoadBuiltinModuleSource when reading fails
- Move the file reading code in LoadBuiltinModuleSource into
util.h so that it can be reused by other C++ code, and
return an error code from it when there is a failure for
the caller to generate an error.
- Throw an error when reading local builtins fails in
LoadBulitinModuleSource.
PR-URL: https://github.com/nodejs/node/pull/38904
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Diffstat (limited to 'deps/v8/src/heap/basic-memory-chunk.cc')
0 files changed, 0 insertions, 0 deletions