diff options
Diffstat (limited to 'include/llvm/Target/CodeGenCWrappers.h')
| -rw-r--r-- | include/llvm/Target/CodeGenCWrappers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/CodeGenCWrappers.h b/include/llvm/Target/CodeGenCWrappers.h index e9a990569d36..3ad77c5d5e00 100644 --- a/include/llvm/Target/CodeGenCWrappers.h +++ b/include/llvm/Target/CodeGenCWrappers.h @@ -31,6 +31,8 @@ inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { LLVM_FALLTHROUGH; case LLVMCodeModelDefault: return None; + case LLVMCodeModelTiny: + return CodeModel::Tiny; case LLVMCodeModelSmall: return CodeModel::Small; case LLVMCodeModelKernel: @@ -45,6 +47,8 @@ inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { inline LLVMCodeModel wrap(CodeModel::Model Model) { switch (Model) { + case CodeModel::Tiny: + return LLVMCodeModelTiny; case CodeModel::Small: return LLVMCodeModelSmall; case CodeModel::Kernel: |
