mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
remove unused Half type
This commit is contained in:
parent
80cf745424
commit
29ee088f19
@ -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,
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user