blob: 58171c80672611c20c0c339ceefbf1762f2ad342 [file] [log] [blame]
// BuiltinsWebAssembly.def - WebAssembly builtin function database -*- C++ -*-//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief This file defines the WebAssembly-specific builtin function database.
/// Users of this file must define the BUILTIN macro to make use of this
/// information.
///
//===----------------------------------------------------------------------===//
// The format of this database matches clang/Basic/Builtins.def.
BUILTIN(__builtin_wasm_memory_size, "z", "nc")
BUILTIN(__builtin_wasm_grow_memory, "vz", "n")
#undef BUILTIN