mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Add some extra friend declarations to fix a gcc-4.0 compile error.
This is a temporary fix, until more elaborate changes are ready. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5e13095fa
commit
dc7a235363
@ -44,6 +44,7 @@ namespace llvm {
|
||||
class Loop;
|
||||
class LoopInfo;
|
||||
class Operator;
|
||||
class SCEVUnknown;
|
||||
|
||||
/// SCEV - This class represents an analyzed expression in the program. These
|
||||
/// are opaque objects that the client is not allowed to do much with
|
||||
@ -175,6 +176,7 @@ namespace llvm {
|
||||
|
||||
friend class SCEVCallbackVH;
|
||||
friend class SCEVExpander;
|
||||
friend class SCEVUnknown;
|
||||
|
||||
/// F - The function we are analyzing.
|
||||
///
|
||||
|
@ -522,6 +522,7 @@ namespace llvm {
|
||||
///
|
||||
class SCEVUnknown : public SCEV {
|
||||
friend class ScalarEvolution;
|
||||
friend class ScalarEvolution::SCEVCallbackVH;
|
||||
|
||||
// This should be an AssertingVH, however SCEVUnknowns are allocated in a
|
||||
// BumpPtrAllocator so their destructors are never called.
|
||||
|
Loading…
x
Reference in New Issue
Block a user