aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/execution.h
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2018-05-31 11:11:57 +0200
committerMyles Borins <mylesborins@google.com>2018-06-01 09:58:27 +0200
commit352a525eb984b8fa2d6f0f6fd68395e6a080bba4 (patch)
treea105ae93f8fd8f533cce19a429f1b6e95d6e11ca /deps/v8/src/execution.h
parentfaf449ca0490f5371dc6cbbc94a87eb697b00fcc (diff)
downloadandroid-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.tar.gz
android-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.tar.bz2
android-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.zip
deps: update V8 to 6.7.288.43
PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/execution.h')
-rw-r--r--deps/v8/src/execution.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/deps/v8/src/execution.h b/deps/v8/src/execution.h
index 5030e261d6..95135031cf 100644
--- a/deps/v8/src/execution.h
+++ b/deps/v8/src/execution.h
@@ -26,21 +26,18 @@ class Execution final : public AllStatic {
// When the function called is not in strict mode, receiver is
// converted to an object.
//
- V8_EXPORT_PRIVATE MUST_USE_RESULT static MaybeHandle<Object> Call(
+ V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static MaybeHandle<Object> Call(
Isolate* isolate, Handle<Object> callable, Handle<Object> receiver,
int argc, Handle<Object> argv[]);
// Construct object from function, the caller supplies an array of
// arguments.
- MUST_USE_RESULT static MaybeHandle<Object> New(Isolate* isolate,
- Handle<Object> constructor,
- int argc,
- Handle<Object> argv[]);
- MUST_USE_RESULT static MaybeHandle<Object> New(Isolate* isolate,
- Handle<Object> constructor,
- Handle<Object> new_target,
- int argc,
- Handle<Object> argv[]);
+ V8_WARN_UNUSED_RESULT static MaybeHandle<Object> New(
+ Isolate* isolate, Handle<Object> constructor, int argc,
+ Handle<Object> argv[]);
+ V8_WARN_UNUSED_RESULT static MaybeHandle<Object> New(
+ Isolate* isolate, Handle<Object> constructor, Handle<Object> new_target,
+ int argc, Handle<Object> argv[]);
// Call a function, just like Call(), but handle don't report exceptions
// externally.