Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkobalicek <kobalicek.petr@gmail.com>2022-06-17 13:32:34 +0300
committerkobalicek <kobalicek.petr@gmail.com>2022-06-17 13:32:34 +0300
commit424418248693bbac4be68d90d5531337abee2c55 (patch)
treeead139dd6ffb970a7224cd7686491f65439acf2e
parentd925605671770b667eefc960de2b50eb07990ecd (diff)
[Doc] Updated documentation to use new API instead of the removed one (fixes #368)
-rw-r--r--src/asmjit/x86/x86builder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asmjit/x86/x86builder.h b/src/asmjit/x86/x86builder.h
index f3bb11a..40e3a60 100644
--- a/src/asmjit/x86/x86builder.h
+++ b/src/asmjit/x86/x86builder.h
@@ -36,7 +36,8 @@ ASMJIT_BEGIN_SUB_NAMESPACE(x86)
//! // Small helper function to print the current content of `cb`.
//! static void dumpCode(BaseBuilder& builder, const char* phase) {
//! String sb;
-//! builder.dump(sb);
+//! FormatFlags formatFlags = FormatFlags::kNone;
+//! Formatter::formatNodeList(sb, formatFlags, &builder);
//! printf("%s:\n%s\n", phase, sb.data());
//! }
//!