remove unused Half type

This commit is contained in:
Joshua Warner 2014-07-12 12:14:05 -06:00
parent 80cf745424
commit 29ee088f19
2 changed files with 0 additions and 6 deletions

View File

@ -35,11 +35,6 @@ class Type {
Float, Float,
Address, Address,
// Represents individual halves of two-word types
// (double/long on 32-bit systems)
// TODO: remove when possible
Half,
// Represents the lack of a return value // Represents the lack of a return value
// TODO: remove when possible // TODO: remove when possible
Void, Void,

View File

@ -1309,7 +1309,6 @@ unsigned typeFootprint(Context* c, ir::Type type)
return type.rawSize() / 4; return type.rawSize() / 4;
case ir::Type::Object: case ir::Type::Object:
case ir::Type::Address: case ir::Type::Address:
case ir::Type::Half:
return 1; return 1;
case ir::Type::Void: case ir::Type::Void:
return 0; return 0;