summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-12-10 12:42:15 -0800
committerGitHub <noreply@github.com>2018-12-10 12:42:15 -0800
commitb2997170df7cc2703de714a946a38dc35058e7f8 (patch)
treebbd19208ba07a2f45a2c25f28f6cf77be16f0b49 /slang.h
parent32f57c30cfce1681f5fe617e4fe230e88eb7b840 (diff)
Remove the "VM" and "bytecode" features (#745)
* Remove the "VM" and "bytecode" features The "bytecode" in `bc.{h,cpp}` was an initial attempt at a serialized encoding for the Slang IR, but we now have the `ir-serialize.{h,cpp}` approach which was has been kept up to date much better. Similarly, the "VM" in `vm.{h,cpp}` was intended to be a system for interpreting Slang code in the bytecode format directly (so that you could load and evaluate code in a Slang module in a lightweight fashion). This never got used past a single test, which we eventually disabled. There are good ideas in some of this code, but at this point the implementations have bit-rotted to a point where trying to maintain it is more costly than it would be to re-created it if/when we ever decide these features are important again. * fixup: remove slang-eval-test from Makefile
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/slang.h b/slang.h
index ed0fb32a4..8085bf15c 100644
--- a/slang.h
+++ b/slang.h
@@ -1237,40 +1237,6 @@ extern "C"
SlangCompileRequest* request,
size_t* outSize);
-
-
- typedef struct SlangVM SlangVM;
- typedef struct SlangVMModule SlangVMModule;
- typedef struct SlangVMFunc SlangVMFunc;
- typedef struct SlangVMThread SlangVMThread;
-
- SLANG_API SlangVM* SlangVM_create();
-
- SLANG_API SlangVMModule* SlangVMModule_load(
- SlangVM* vm,
- void const* bytecode,
- size_t bytecodeSize);
-
- SLANG_API void* SlangVMModule_findGlobalSymbolPtr(
- SlangVMModule* module,
- char const* name);
-
- SLANG_API SlangVMThread* SlangVMThread_create(
- SlangVM* vm);
-
- SLANG_API void SlangVMThread_beginCall(
- SlangVMThread* thread,
- SlangVMFunc* func);
-
- SLANG_API void SlangVMThread_setArg(
- SlangVMThread* thread,
- SlangUInt argIndex,
- void const* data,
- size_t size);
-
- SLANG_API void SlangVMThread_resume(
- SlangVMThread* thread);
-
/* Note(tfoley): working on new reflection interface...
*/