diff options
author | kobalicek <kobalicek.petr@gmail.com> | 2022-06-17 13:32:34 +0300 |
---|---|---|
committer | kobalicek <kobalicek.petr@gmail.com> | 2022-06-17 13:32:34 +0300 |
commit | 424418248693bbac4be68d90d5531337abee2c55 (patch) | |
tree | ead139dd6ffb970a7224cd7686491f65439acf2e | |
parent | d925605671770b667eefc960de2b50eb07990ecd (diff) |
[Doc] Updated documentation to use new API instead of the removed one (fixes #368)
-rw-r--r-- | src/asmjit/x86/x86builder.h | 3 |
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()); //! } //! |