aboutsummaryrefslogtreecommitdiff
path: root/externals/sirit/src/instructions/debug.cpp
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2025-08-04 04:50:14 +0200
committercrueter <crueter@eden-emu.dev>2025-08-04 04:50:14 +0200
commit51b170b470ed587f99a7c2a773e4464687f0d07a (patch)
tree4c03c510cfb17a5f5d6233df490d78f06dcfa7f7 /externals/sirit/src/instructions/debug.cpp
parent04e5e6453875ffa5c79cdb421a29bc19985b1049 (diff)
[cmake] refactor: Use CPM over submodules (#143)
Transfers the majority of submodules and large externals to CPM, using source archives rather than full Git clones. Not only does this save massive amounts of clone and configure time, but dependencies are grabbed on-demand rather than being required by default. Additionally, CPM will (generally) automatically search for system dependencies, though certain dependencies have options to control this. Testing shows gains ranging from 5x to 10x in terms of overall clone/configure time. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/143 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'externals/sirit/src/instructions/debug.cpp')
-rw-r--r--externals/sirit/src/instructions/debug.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/externals/sirit/src/instructions/debug.cpp b/externals/sirit/src/instructions/debug.cpp
deleted file mode 100644
index 1ca3462654..0000000000
--- a/externals/sirit/src/instructions/debug.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-/* This file is part of the sirit project.
- * Copyright (c) 2019 sirit
- * This software may be used and distributed according to the terms of the
- * 3-Clause BSD License
- */
-
-#include "sirit/sirit.h"
-
-#include "common_types.h"
-#include "stream.h"
-
-namespace Sirit {
-
-Id Module::Name(Id target, std::string_view name) {
- debug->Reserve(3 + WordsInString(name));
- *debug << spv::Op::OpName << target << name << EndOp{};
- return target;
-}
-
-Id Module::MemberName(Id type, u32 member, std::string_view name) {
- debug->Reserve(4 + WordsInString(name));
- *debug << spv::Op::OpMemberName << type << member << name << EndOp{};
- return type;
-}
-
-Id Module::String(std::string_view string) {
- debug->Reserve(3 + WordsInString(string));
- return *debug << OpId{spv::Op::OpString} << string << EndOp{};
-}
-
-Id Module::OpLine(Id file, Literal line, Literal column) {
- debug->Reserve(4);
- return *debug << spv::Op::OpLine << file << line << column << EndOp{};
-}
-
-} // namespace Sirit