about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-05 18:25:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-05 18:25:52 -0700
commitc3deac87c6bb8c9ab87049cf50eafc94b32a7e1f (patch)
tree38b46c4b2a23d2e2596f4f33bc434476f4ae4fcd
parentd4cb1a51dbc25e0240c2ccb2da54e30db5acae28 (diff)
downloadmu-c3deac87c6bb8c9ab87049cf50eafc94b32a7e1f.tar.gz
2245
-rw-r--r--021check_instruction.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc
index 2fd93f7b..bf238020 100644
--- a/021check_instruction.cc
+++ b/021check_instruction.cc
@@ -88,10 +88,7 @@ bool types_match(reagent lhs, reagent rhs) {
 }
 
 bool is_raw(const reagent& r) {
-  for (long long int i = /*skip value+type*/1; i < SIZE(r.properties); ++i) {
-    if (r.properties.at(i).first == "raw") return true;
-  }
-  return false;
+  return has_property(r, "raw");
 }
 
 bool is_mu_array(reagent r) {