#include "include/v8-function.h"
#include "src/api/api-inl.h"
#include "src/codegen/assembler-inl.h"
#include "src/objects/call-site-info-inl.h"
#include "src/trap-handler/trap-handler.h"
#include "test/cctest/cctest.h"
#include "test/cctest/wasm/wasm-run-utils.h"
#include "test/common/value-helper.h"
#include "test/common/wasm/test-signatures.h"
#include "test/common/wasm/wasm-macro-gen.h"
namespace v8 {
namespace internal {
namespace wasm {
namespace test_wasm_trap_position {
Local;
Utils;
namespace {
#define CHECK_CSTREQ …
struct ExceptionInfo { … };
template <int N>
void CheckExceptionInfos(v8::internal::Isolate* isolate, Handle<Object> exc,
const ExceptionInfo (&excInfos)[N]) { … }
#undef CHECK_CSTREQ
}
WASM_COMPILED_EXEC_TEST(Unreachable) { … }
WASM_COMPILED_EXEC_TEST(IllegalLoad) { … }
}
}
}
}