1 // Copyright 2021 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef V8_DEBUG_DEBUG_WASM_OBJECTS_INL_H_ 6 #define V8_DEBUG_DEBUG_WASM_OBJECTS_INL_H_ 7 8 #include "src/debug/debug-wasm-objects.h" 9 #include "src/objects/js-objects-inl.h" 10 11 // Has to be the last include (doesn't have include guards): 12 #include "src/objects/object-macros.h" 13 14 namespace v8 { 15 namespace internal { 16 17 #include "torque-generated/src/debug/debug-wasm-objects-tq-inl.inc" 18 19 OBJECT_CONSTRUCTORS_IMPL(WasmValueObject, JSObject) 20 21 CAST_ACCESSOR(WasmValueObject) 22 23 ACCESSORS(WasmValueObject, type, String, kTypeOffset) 24 ACCESSORS(WasmValueObject, value, Object, kValueOffset) 25 26 } // namespace internal 27 } // namespace v8 28 29 #include "src/objects/object-macros-undef.h" 30 31 #endif // V8_DEBUG_DEBUG_WASM_OBJECTS_INL_H_ 32