about summary refs log tree commit diff stats
path: root/subx/038---literal_strings.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-28 11:12:19 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-28 11:14:29 -0800
commit6a7eaa81eea991cd459f295c2dd3882c8528187c (patch)
treeeec627b325f1bfd12f5477850830f52f8820d95e /subx/038---literal_strings.cc
parent51bf3554b79ebfea92f494e891837a03d656c2fd (diff)
downloadmu-6a7eaa81eea991cd459f295c2dd3882c8528187c.tar.gz
4883 - rudimentary memory allocator
Diffstat (limited to 'subx/038---literal_strings.cc')
-rw-r--r--subx/038---literal_strings.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/subx/038---literal_strings.cc b/subx/038---literal_strings.cc
index a899f725..7077a685 100644
--- a/subx/038---literal_strings.cc
+++ b/subx/038---literal_strings.cc
@@ -67,13 +67,6 @@ void add_global_to_data_segment(const string& name, const word& value, segment&
   }
 }
 
-line label(string s) {
-  line result;
-  result.words.push_back(word());
-  result.words.back().data = (s+":");
-  return result;
-}
-
 //: Within strings, whitespace is significant. So we need to redo our instruction
 //: parsing.