Changeset 153256 in webkit for trunk/Source/JavaScriptCore/runtime/InitializeThreading.cpp
- Timestamp:
- Jul 24, 2013, 9:04:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/InitializeThreading.cpp
r153140 r153256 31 31 32 32 #include "ExecutableAllocator.h" 33 #include "FTLLLVMHeaders.h"34 33 #include "Heap.h" 35 34 #include "HeapStatistics.h" … … 42 41 #include "WriteBarrier.h" 43 42 #include <wtf/dtoa.h> 43 #include <wtf/LLVMHeaders.h> 44 44 #include <wtf/Threading.h> 45 45 #include <wtf/dtoa/cached-powers.h> … … 71 71 LLInt::initialize(); 72 72 #endif 73 #if HAVE(LLVM) 74 bool ftl = false; 75 bool disassembler = false; 73 76 #if ENABLE(FTL_JIT) 74 LLVMLinkInMCJIT(); 75 LLVMInitializeNativeTarget(); 76 LLVMInitializeX86AsmPrinter(); 77 ftl = true; 77 78 #endif 79 #if USE(LLVM_DISASSEMBLER) 80 disassembler = true; 81 #endif 82 if (ftl) 83 LLVMLinkInMCJIT(); 84 if (ftl || disassembler) 85 LLVMInitializeNativeTarget(); 86 if (ftl) 87 LLVMInitializeX86AsmPrinter(); 88 if (disassembler) 89 LLVMInitializeX86Disassembler(); 90 #endif // HAVE(LLVM) 78 91 } 79 92
Note:
See TracChangeset
for help on using the changeset viewer.