]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - llvm/LLVMAPI.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / llvm / LLVMAPI.h
index 581be3b430e6b9f9845f84c9797e2893bf3b9a97..a10318befaa691228f94e54880177e68e425fd28 100644 (file)
@@ -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