| 670 | } |
| 671 | |
| 672 | Error 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 | |
| 684 | Error BaseBuilder::embedConstPool(const Label& label, const ConstPool& pool) { |
| 685 | if (ASMJIT_UNLIKELY(!_code)) |