chromium/v8/src/wasm/wasm-result.cc

// Copyright 2015 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.

#include "src/wasm/wasm-result.h"

#include "src/base/strings.h"
#include "src/execution/isolate-inl.h"
#include "src/heap/factory.h"
#include "src/objects/objects.h"

namespace v8 {
namespace internal {
namespace wasm {

namespace {

PRINTF_FORMAT(3, 0)
void VPrintFToString(std::string* str, size_t str_offset, const char* format,
                     va_list args) {}

PRINTF_FORMAT(3, 4)
void PrintFToString(std::string* str, size_t str_offset, const char* format,
                    ...) {}

}  // namespace

// static
std::string WasmError::FormatError(const char* format, va_list args) {}

void ErrorThrower::Format(ErrorType type, const char* format, va_list args) {}

void ErrorThrower::TypeError(const char* format, ...) {}

void ErrorThrower::RangeError(const char* format, ...) {}

void ErrorThrower::CompileError(const char* format, ...) {}

void ErrorThrower::LinkError(const char* format, ...) {}

void ErrorThrower::RuntimeError(const char* format, ...) {}

Handle<Object> ErrorThrower::Reify() {}

void ErrorThrower::Reset() {}

ErrorThrower::~ErrorThrower() {}

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