llvm-6502/include/llvm
Diego Novillo 3c178d82ce Fix infinite recursion in ScaledNumber::toInt.
Patch from dexonsmith. The call to toInt() was calling compareTo() which
in some cases would call back to toInt(), creating an infinite loop.

Fixed by simplifying the logic in compareTo() to avoid the co-recursion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236326 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-01 17:59:15 +00:00
..
ADT Remove std::move on return when it could prevent copy elision. 2015-05-01 15:16:11 +00:00
Analysis Remove std::move on return of temporary. 2015-05-01 15:25:29 +00:00
AsmParser
Bitcode [opaque pointer type] Encode the pointee type in the bitcode for 'cmpxchg' 2015-04-28 04:30:29 +00:00
CodeGen Fix doxygen comment typo. NFC 2015-04-29 23:33:32 +00:00
Config [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap 2015-03-26 19:25:01 +00:00
DebugInfo Make llvm-symbolizer work on Windows. 2015-04-27 17:19:51 +00:00
ExecutionEngine [Orc] It's not valid to pass a null resolver to addModuleSet. Use a no-op 2015-04-29 01:33:35 +00:00
IR Remove std::move on return of temporary. 2015-05-01 15:26:22 +00:00
IRReader
LineEditor Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Linker Linker: Add flag to override linkage rules 2015-04-22 04:11:00 +00:00
LTO LTO: Add API to choose whether to embed uselists 2015-04-27 23:38:54 +00:00
MC Remove the GroupMapTy DenseMap. NFC. 2015-04-28 21:07:28 +00:00
Object [Object] Teach Object and llvm-objdump about ".hidden" 2015-04-30 23:08:53 +00:00
Option Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Passes [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
ProfileData InstrProf: Teach llvm-cov to handle universal binaries when given -arch 2015-03-11 02:30:51 +00:00
Support Fix infinite recursion in ScaledNumber::toInt. 2015-05-01 17:59:15 +00:00
TableGen [TableGen] Don't leak Expanders and Operators in SetTheory. 2015-04-24 06:49:44 +00:00
Target Masked gather and scatter - added DAGCombine visitors 2015-04-30 08:38:48 +00:00
Transforms InstrProf: Instrumenter support for setting profile output from command line 2015-04-30 23:49:23 +00:00
CMakeLists.txt
InitializePasses.h Simplify n-ary adds by reassociation 2015-04-14 04:59:22 +00:00
LinkAllIR.h
LinkAllPasses.h Simplify n-ary adds by reassociation 2015-04-14 04:59:22 +00:00
module.modulemap Fix modules build post-r235612. 2015-04-23 23:22:26 +00:00
module.modulemap.build
Pass.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
PassAnalysisSupport.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
PassInfo.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
PassRegistry.h Revert r231276 (including r231277): Add a lock() function in PassRegistry to speed up multi-thread synchronization. 2015-03-05 17:53:00 +00:00
PassSupport.h