mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-12 14:59:03 +02:00
[svn r280] Fixed a bunch of issues with switch statements. Ended up a bit far reaching...
This commit is contained in:
@@ -57,6 +57,7 @@ namespace llvm
|
||||
{
|
||||
class Value;
|
||||
class BasicBlock;
|
||||
class ConstantInt;
|
||||
}
|
||||
|
||||
// Back end
|
||||
@@ -453,6 +454,7 @@ struct CaseStatement : Statement
|
||||
|
||||
// LLVMDC
|
||||
llvm::BasicBlock* bodyBB;
|
||||
llvm::ConstantInt* llvmIdx;
|
||||
};
|
||||
|
||||
struct DefaultStatement : Statement
|
||||
|
||||
Reference in New Issue
Block a user