���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/deps/v8/src/objects/ |
// Copyright 2017 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. #ifndef V8_OBJECTS_DEBUG_OBJECTS_INL_H_ #define V8_OBJECTS_DEBUG_OBJECTS_INL_H_ #include "src/objects/debug-objects.h" #include "src/heap/heap-write-barrier-inl.h" #include "src/objects/code-inl.h" #include "src/objects/objects-inl.h" #include "src/objects/shared-function-info.h" // Has to be the last include (doesn't have include guards): #include "src/objects/object-macros.h" namespace v8 { namespace internal { OBJECT_CONSTRUCTORS_IMPL(BreakPoint, Tuple2) OBJECT_CONSTRUCTORS_IMPL(BreakPointInfo, Tuple2) OBJECT_CONSTRUCTORS_IMPL(CoverageInfo, FixedArray) OBJECT_CONSTRUCTORS_IMPL(DebugInfo, Struct) NEVER_READ_ONLY_SPACE_IMPL(DebugInfo) CAST_ACCESSOR(BreakPointInfo) CAST_ACCESSOR(DebugInfo) CAST_ACCESSOR(CoverageInfo) CAST_ACCESSOR(BreakPoint) SMI_ACCESSORS(DebugInfo, flags, kFlagsOffset) ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) SMI_ACCESSORS(DebugInfo, debugger_hints, kDebuggerHintsOffset) ACCESSORS(DebugInfo, script, Object, kScriptOffset) ACCESSORS(DebugInfo, original_bytecode_array, Object, kOriginalBytecodeArrayOffset) ACCESSORS(DebugInfo, debug_bytecode_array, Object, kDebugBytecodeArrayOffset) ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsOffset) ACCESSORS(DebugInfo, coverage_info, Object, kCoverageInfoOffset) BIT_FIELD_ACCESSORS(DebugInfo, debugger_hints, side_effect_state, DebugInfo::SideEffectStateBits) BIT_FIELD_ACCESSORS(DebugInfo, debugger_hints, debug_is_blackboxed, DebugInfo::DebugIsBlackboxedBit) BIT_FIELD_ACCESSORS(DebugInfo, debugger_hints, computed_debug_is_blackboxed, DebugInfo::ComputedDebugIsBlackboxedBit) BIT_FIELD_ACCESSORS(DebugInfo, debugger_hints, debugging_id, DebugInfo::DebuggingIdBits) SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionOffset) ACCESSORS(BreakPointInfo, break_points, Object, kBreakPointsOffset) SMI_ACCESSORS(BreakPoint, id, kIdOffset) ACCESSORS(BreakPoint, condition, String, kConditionOffset) bool DebugInfo::HasInstrumentedBytecodeArray() { DCHECK_EQ(debug_bytecode_array().IsBytecodeArray(), original_bytecode_array().IsBytecodeArray()); return debug_bytecode_array().IsBytecodeArray(); } BytecodeArray DebugInfo::OriginalBytecodeArray() { DCHECK(HasInstrumentedBytecodeArray()); return BytecodeArray::cast(original_bytecode_array()); } BytecodeArray DebugInfo::DebugBytecodeArray() { DCHECK(HasInstrumentedBytecodeArray()); DCHECK_EQ(shared().GetDebugBytecodeArray(), debug_bytecode_array()); return BytecodeArray::cast(debug_bytecode_array()); } } // namespace internal } // namespace v8 #include "src/objects/object-macros-undef.h" #endif // V8_OBJECTS_DEBUG_OBJECTS_INL_H_