diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-11-13 12:51:53 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-11-15 16:46:54 +0100 |
commit | 48db20f6f53060e38b2272566b014741eb4f519f (patch) | |
tree | e2f9b4c7f69d2e4597b73b4c3c09f4371d5cc963 /deps/v8/src/objects/module.h | |
parent | 79916428a48df937aa5b2b69c061d2d42181a76b (diff) | |
download | node-new-48db20f6f53060e38b2272566b014741eb4f519f.tar.gz |
deps: update V8 to 8.7.220
PR-URL: https://github.com/nodejs/node/pull/35700
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'deps/v8/src/objects/module.h')
-rw-r--r-- | deps/v8/src/objects/module.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/deps/v8/src/objects/module.h b/deps/v8/src/objects/module.h index 3907ea32df..f58454fac2 100644 --- a/deps/v8/src/objects/module.h +++ b/deps/v8/src/objects/module.h @@ -9,7 +9,7 @@ #include "src/objects/js-objects.h" #include "src/objects/objects.h" #include "src/objects/struct.h" -#include "torque-generated/field-offsets-tq.h" +#include "torque-generated/field-offsets.h" // Has to be the last include (doesn't have include guards): #include "src/objects/object-macros.h" @@ -123,13 +123,10 @@ class Module : public HeapObject { // To set status to kErrored, RecordError or RecordErrorUsingPendingException // should be used. void SetStatus(Status status); - void RecordErrorUsingPendingException(Isolate* isolate); - void RecordError(Isolate* isolate, Handle<Object> error); - -#ifdef DEBUG - // For --trace-module-status. - void PrintStatusTransition(Status new_status); -#endif // DEBUG + static void RecordErrorUsingPendingException(Isolate* isolate, + Handle<Module>); + static void RecordError(Isolate* isolate, Handle<Module> module, + Handle<Object> error); OBJECT_CONSTRUCTORS(Module, HeapObject); }; |