X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/llvm/LLVMAPI.h diff --git a/llvm/LLVMAPI.h b/llvm/LLVMAPI.h index 581be3b..a10318b 100644 --- a/llvm/LLVMAPI.h +++ b/llvm/LLVMAPI.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Apple Inc. All rights reserved. + * Copyright (C) 2013, 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -38,9 +38,13 @@ struct LLVMAPI { returnType (*name) signature; FOR_EACH_LLVM_API_FUNCTION(LLVM_API_FUNCTION_DECLARATION) #undef LLVM_API_FUNCTION_DECLARATION + + // Functions that we add conditionally. + void (*AddLowerSwitchPass)(LLVMPassManagerRef PM); }; extern LLVMAPI* llvm; +extern bool enableLLVMFastISel; } // namespace JSC