1 // Copyright 2020 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_WASM_WASM_DEBUG_EVALUATE_H_ 6 #define V8_WASM_WASM_DEBUG_EVALUATE_H_ 7 8 #include "src/base/macros.h" 9 #include "src/handles/maybe-handles.h" 10 #include "src/wasm/wasm-objects.h" 11 12 namespace v8 { 13 namespace internal { 14 namespace wasm { 15 16 MaybeHandle<String> V8_EXPORT_PRIVATE 17 DebugEvaluate(Vector<const byte> snippet, 18 Handle<WasmInstanceObject> debuggee_instance, CommonFrame* frame); 19 20 } // namespace wasm 21 } // namespace internal 22 } // namespace v8 23 24 #endif // V8_WASM_WASM_DEBUG_EVALUATE_H_ 25