diff options
author | Michaël Zasso <targos@protonmail.com> | 2022-04-12 11:10:15 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-04-12 22:08:39 +0200 |
commit | fd4f80ce54d7f7b7503e0999f6a9d293d493846d (patch) | |
tree | 00fba34b8aabeb481c7128fccee635719ee44a3b /deps/v8/src/objects/call-site-info.tq | |
parent | 73d53fe9f56d7ce5de4b9c9ad5257dc601bbce14 (diff) | |
download | node-new-fd4f80ce54d7f7b7503e0999f6a9d293d493846d.tar.gz |
deps: update V8 to 10.1.124.6
PR-URL: https://github.com/nodejs/node/pull/42657
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'deps/v8/src/objects/call-site-info.tq')
-rw-r--r-- | deps/v8/src/objects/call-site-info.tq | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/v8/src/objects/call-site-info.tq b/deps/v8/src/objects/call-site-info.tq new file mode 100644 index 0000000000..fda832618b --- /dev/null +++ b/deps/v8/src/objects/call-site-info.tq @@ -0,0 +1,24 @@ +// Copyright 2019 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +bitfield struct CallSiteInfoFlags extends uint31 { + is_wasm: bool: 1 bit; + is_asm_js_wasm: bool: 1 bit; // Implies that is_wasm bit is set. + is_strict: bool: 1 bit; + is_constructor: bool: 1 bit; + is_asm_js_at_number_conversion: bool: 1 bit; + is_async: bool: 1 bit; + + // whether offset_or_source_position contains the source position. + is_source_position_computed: bool: 1 bit; +} + +extern class CallSiteInfo extends Struct { + receiver_or_instance: JSAny; + function: JSFunction|Smi; + code_object: HeapObject; + code_offset_or_source_position: Smi; + flags: SmiTagged<CallSiteInfoFlags>; + parameters: FixedArray; +} |