aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/mem.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-06 18:52:39 -0500
committerGitHub <noreply@github.com>2022-12-06 18:52:39 -0500
commite7d28344fa3ee81d6ad7ca5ce1f83d50d8502118 (patch)
tree012b2556f2bda10ae663fab8efb235efe30e02f4 /src/stage1/mem.cpp
parent817cf6a82efa7ed274371a28621bbf88a723d9b7 (diff)
parent20d86d9c63476b6312b87dc5b0e4aa4822eb7717 (diff)
downloadzig-e7d28344fa3ee81d6ad7ca5ce1f83d50d8502118.tar.gz
zig-e7d28344fa3ee81d6ad7ca5ce1f83d50d8502118.zip
Merge pull request #13560 from ziglang/wasi-bootstrap
Nuke the C++ implementation of Zig from orbit using WASI
Diffstat (limited to 'src/stage1/mem.cpp')
-rw-r--r--src/stage1/mem.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/stage1/mem.cpp b/src/stage1/mem.cpp
deleted file mode 100644
index 5931c38e6e..0000000000
--- a/src/stage1/mem.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2020 Andrew Kelley
- *
- * This file is part of zig, which is MIT licensed.
- * See http://opensource.org/licenses/MIT
- */
-
-#include "mem.hpp"
-#include "heap.hpp"
-
-namespace mem {
-
-void init() {
- heap::bootstrap_allocator_state.init("heap::bootstrap_allocator");
- heap::c_allocator_state.init("heap::c_allocator");
-}
-
-void deinit() {
- heap::c_allocator_state.deinit();
- heap::bootstrap_allocator_state.deinit();
-}
-
-} // namespace mem