MCPcopy Create free account
hub / github.com/Chemiculs/qengine / embedDataArray

Method embedDataArray

src/qengine/extern/asmjit/core/builder.cpp:672–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672Error BaseBuilder::embedDataArray(TypeId typeId, const void* data, size_t itemCount, size_t itemRepeat) {
673 if (ASMJIT_UNLIKELY(!_code))
674 return DebugUtils::errored(kErrorNotInitialized);
675
676 EmbedDataNode* node;
677 ASMJIT_PROPAGATE(newEmbedDataNode(&node, typeId, data, itemCount, itemRepeat));
678 ASMJIT_ASSUME(node != nullptr);
679
680 addNode(node);
681 return kErrorOk;
682}
683
684Error BaseBuilder::embedConstPool(const Label& label, const ConstPool& pool) {
685 if (ASMJIT_UNLIKELY(!_code))

Callers 1

serializeToMethod · 0.45

Calls 1

erroredFunction · 0.85

Tested by

no test coverage detected