summaryrefslogtreecommitdiff
path: root/chromium/v8/src/wasm/wasm-debug-evaluate.h
blob: f4e3aef17540501dba6399a99ba9afdee974fc43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2020 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_WASM_WASM_DEBUG_EVALUATE_H_
#define V8_WASM_WASM_DEBUG_EVALUATE_H_

#include "src/base/macros.h"
#include "src/handles/maybe-handles.h"
#include "src/wasm/wasm-objects.h"

namespace v8 {
namespace internal {
namespace wasm {

MaybeHandle<String> V8_EXPORT_PRIVATE DebugEvaluate(
    Vector<const byte> snippet, Handle<WasmInstanceObject> debuggee_instance,
    StandardFrame* frame);

}  // namespace wasm
}  // namespace internal
}  // namespace v8

#endif  // V8_WASM_WASM_DEBUG_EVALUATE_H_