#include "src/wasm/wasm-module-sourcemap.h"
#include <algorithm>
#include "include/v8-context.h"
#include "include/v8-json.h"
#include "include/v8-local-handle.h"
#include "include/v8-object.h"
#include "include/v8-primitive.h"
#include "src/base/vlq-base64.h"
#include "src/wasm/std-object-sizes.h"
namespace v8 {
class String;
namespace internal {
namespace wasm {
WasmModuleSourceMap::WasmModuleSourceMap(v8::Isolate* v8_isolate,
v8::Local<v8::String> src_map_str) { … }
size_t WasmModuleSourceMap::GetSourceLine(size_t wasm_offset) const { … }
std::string WasmModuleSourceMap::GetFilename(size_t wasm_offset) const { … }
bool WasmModuleSourceMap::HasSource(size_t start, size_t end) const { … }
bool WasmModuleSourceMap::HasValidEntry(size_t start, size_t addr) const { … }
bool WasmModuleSourceMap::DecodeMapping(const std::string& s) { … }
size_t WasmModuleSourceMap::EstimateCurrentMemoryConsumption() const { … }
}
}
}