mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 02:19:15 -05:00
sea: use JSON configuration and blob content for SEA
PR-URL: https://github.com/nodejs/node/pull/47125 Refs: https://github.com/nodejs/single-executable/discussions/58 Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
1 parent
37d12730ab
commit
2bde0059ca
16 files changed
+639
-45
No files matched your search
@@ -275,6 +275,22 @@ void PerIsolateMessageListener(v8::Local<v8::Message> message,
|
||||
|
||||
void DecorateErrorStack(Environment* env,
|
||||
const errors::TryCatchScope& try_catch);
|
||||
|
||||
class PrinterTryCatch : public v8::TryCatch {
|
||||
public:
|
||||
enum PrintSourceLine { kPrintSourceLine, kDontPrintSourceLine };
|
||||
explicit PrinterTryCatch(v8::Isolate* isolate,
|
||||
PrintSourceLine print_source_line)
|
||||
: v8::TryCatch(isolate),
|
||||
isolate_(isolate),
|
||||
print_source_line_(print_source_line) {}
|
||||
~PrinterTryCatch();
|
||||
|
||||
private:
|
||||
v8::Isolate* isolate_;
|
||||
PrintSourceLine print_source_line_;
|
||||
};
|
||||
|
||||
} // namespace errors
|
||||
|
||||
v8::ModifyCodeGenerationFromStringsResult ModifyCodeGenerationFromStrings(
|
||||
|
||||
Reference in new issue
Block a user