about summary refs log tree commit diff stats
path: root/cpp/017and-record
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/017and-record')
-rw-r--r--cpp/017and-record7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/017and-record b/cpp/017and-record
index b4026e10..94febae0 100644
--- a/cpp/017and-record
+++ b/cpp/017and-record
@@ -74,10 +74,3 @@ recipe main [
 +mem: location 13 is 0
 +run: product 0 is 0
 +mem: storing in location 15
-
-:(code)
-int size_of(type_number x) {
-  type_info t = Type[x];
-  if (!t.is_record && !t.is_array) return t.size;
-  return t.size;  // TODO
-}