about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-29 17:15:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-29 17:15:09 -0700
commite6692482643dc007988188e2b19fbb9219ca2833 (patch)
treecbb805cba3bd46dfc7d71adaa2150d9acb5cc5ba /020run.cc
parent5a702544a6f8aa3fa520ba387a6c0e803e076476 (diff)
downloadmu-e6692482643dc007988188e2b19fbb9219ca2833.tar.gz
2321 - more preparations for static dispatch
Deduce operation id from name during transform rather than load, so that
earlier transforms have a chance to modify the name.
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/020run.cc b/020run.cc
index db82ec36..24a0a863 100644
--- a/020run.cc
+++ b/020run.cc
@@ -317,11 +317,6 @@ inline bool scalar(const vector<double>& x) {
   return SIZE(x) == 1;
 }
 
-// hook to suppress inserting recipe name into errors and warnings (for later layers)
-string maybe(string s) {
-  return s + ": ";
-}
-
 // helper for tests
 void run(string form) {
   vector<recipe_ordinal> tmp = load(form);