about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-22 01:05:04 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-22 01:05:04 -0800
commite371e8235abeb03897309173bd50b7a1765fb642 (patch)
treeafbc2e57a4e18b561d036d29041a38fb4fc70f24 /cpp/010vm
parent79f4349c785a644ed9494804495cb31a6d15bbc6 (diff)
downloadmu-e371e8235abeb03897309173bd50b7a1765fb642.tar.gz
821
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/010vm b/cpp/010vm
index e3cb9c30..28cdd2c0 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -87,22 +87,18 @@ void setup_types() {
 
 :(before "End Types")
 // You can construct arbitrary new types. Types are either 'records', containing
-// 'fields' of other types, 'array's of a single type repeated over and over,
-// or 'addresses' pointing at a location elsewhere in memory.
+// 'fields' of other types, or 'array's of a single type repeated over and over.
 //
 // For example:
 //  storing bank balance next to a person's name might require a record, and
 //  high scores in a game might need an array of numbers.
-// You'll see examples using addresses later.
 struct type_info {
   size_t size;
-  bool is_address;
   bool is_record;
   bool is_array;
-  vector<type_number> target;  // only if is_address
   vector<vector<type_number> > elements;  // only if is_record
   vector<type_number> element;  // only if is_array
-  type_info() :size(0), is_address(false), is_record(false), is_array(false) {}
+  type_info() :size(0), is_record(false), is_array(false) {}
 };
 
 :(before "End Globals")