Changeset 172648 in webkit for trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp
- Timestamp:
- Aug 15, 2014, 2:04:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp
r172176 r172648 1900 1900 unsigned stackmapID = m_stackmapIDs++; 1901 1901 1902 if ( Options::verboseCompilation())1902 if (verboseCompilationEnabled()) 1903 1903 dataLog(" Emitting PutById patchpoint with stackmap #", stackmapID, "\n"); 1904 1904 … … 3716 3716 LValue call = vmCall(callee, argument); 3717 3717 3718 if ( Options::verboseCompilation())3718 if (verboseCompilationEnabled()) 3719 3719 dataLog("Native calling: ", info.dli_sname, "\n"); 3720 3720 … … 4383 4383 path.data()); 4384 4384 4385 if (createMemoryBufferWithContentsOfFile(actualPath.data(), &memBuf, nullptr)) { 4386 if (Options::verboseCompilation()) 4387 dataLog("Failed to load module at ", actualPath.data(), "\n for symbol ", symbol.data()); 4385 char* outMsg; 4386 4387 if (createMemoryBufferWithContentsOfFile(actualPath.data(), &memBuf, &outMsg)) { 4388 if (Options::verboseFTLFailure()) 4389 dataLog("Failed to load module at ", actualPath, "\n for symbol ", symbol, "\nERROR: ", outMsg, "\n"); 4390 disposeMessage(outMsg); 4388 4391 return false; 4389 4392 } … … 4391 4394 LModule module; 4392 4395 4393 if (parseBitcodeInContext(m_ftlState.context, memBuf, &module, nullptr)) { 4396 if (parseBitcodeInContext(m_ftlState.context, memBuf, &module, &outMsg)) { 4397 if (Options::verboseFTLFailure()) 4398 dataLog("Failed to parse module at ", actualPath, "\n for symbol ", symbol, "\nERROR: ", outMsg, "\n"); 4394 4399 disposeMemoryBuffer(memBuf); 4400 disposeMessage(outMsg); 4395 4401 return false; 4396 4402 } … … 4425 4431 } 4426 4432 4427 if (linkModules(m_ftlState.module, module, LLVMLinkerDestroySource, nullptr)) 4433 if (linkModules(m_ftlState.module, module, LLVMLinkerDestroySource, &outMsg)) { 4434 if (Options::verboseFTLFailure()) 4435 dataLog("Failed to link module at ", actualPath, "\n for symbol ", symbol, "\nERROR: ", outMsg, "\n"); 4436 disposeMessage(outMsg); 4428 4437 return false; 4438 } 4429 4439 4430 4440 for (CString* symbol = namedFunctions.begin(); symbol != namedFunctions.end(); ++symbol) {
Note:
See TracChangeset
for help on using the changeset viewer.