Utility classes and functions.
Overview
AsmJit uses and provides utility classes and functions, that can be used with AsmJit. The functionality can be divided into the following topics:
String Functionality
- String - AsmJit's string container, which is used internally and which doesn't use exceptions and has a stable layout, which is not dependent on C++ standard library.
- StringTmp - String that can have base storage allocated on stack. The amount of storage on stack can be specified as a template parameter.
- FixedString - Fixed string container limited up to N characters.
Code Generation Utilities
Support Functionality Used by AsmJit
- Support namespace provides many other utility functions and classes that are used by AsmJit, and made public.
Constant pool scope.
Constant | Description |
---|
kLocal | Local constant, always embedded right after the current function.
|
kGlobal | Global constant, embedded at the end of the currently compiled code.
|
kMaxValue | Maximum value of ConstPoolScope .
|
Format flags used by String API.
Constant | Description |
---|
kNone | No flags.
|
kShowSign | Show sign.
|
kShowSpace | Show space.
|
kAlternate | Alternate form (use 0x when formatting HEX number).
|
kSigned | The input is signed.
|