mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Add more support for new style casts
Convert more code to use them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -84,7 +84,8 @@ void BytecodeWriter::outputConstants(bool isMethod) {
|
||||
|
||||
unsigned NC = ValNo; // Number of constants
|
||||
for (; NC < Plane.size() &&
|
||||
(Plane[NC]->isConstant() || Plane[NC]->isType()); NC++) /*empty*/;
|
||||
(isa<ConstPoolVal>(Plane[NC]) ||
|
||||
isa<Type>(Plane[NC])); NC++) /*empty*/;
|
||||
NC -= ValNo; // Convert from index into count
|
||||
if (NC == 0) continue; // Skip empty type planes...
|
||||
|
||||
|
Reference in New Issue
Block a user