From 29ee088f195d46ba8f4479c655ee6dbd296a40e1 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Sat, 12 Jul 2014 12:14:05 -0600 Subject: [PATCH] remove unused Half type --- include/avian/codegen/ir.h | 5 ----- src/codegen/compiler.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/include/avian/codegen/ir.h b/include/avian/codegen/ir.h index 8b2b48aa9d..d694f0c154 100644 --- a/include/avian/codegen/ir.h +++ b/include/avian/codegen/ir.h @@ -35,11 +35,6 @@ class Type { Float, 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 // TODO: remove when possible Void, diff --git a/src/codegen/compiler.cpp b/src/codegen/compiler.cpp index 3a72d36176..67c622741f 100644 --- a/src/codegen/compiler.cpp +++ b/src/codegen/compiler.cpp @@ -1309,7 +1309,6 @@ unsigned typeFootprint(Context* c, ir::Type type) return type.rawSize() / 4; case ir::Type::Object: case ir::Type::Address: - case ir::Type::Half: return 1; case ir::Type::Void: return 0;