about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-17 18:33:57 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-17 18:33:57 -0700
commitc9fe6ddb89cb31b6c47961ab1e581a10dd60ffb3 (patch)
treefc75014c9220d04afc98e48df6e7dca2ffe93025
parent088b57753fe93415b13fe06b3b398033e4ab937d (diff)
downloadmu-c9fe6ddb89cb31b6c47961ab1e581a10dd60ffb3.tar.gz
1394
-rw-r--r--040brace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/040brace.cc b/040brace.cc
index 8a1b4512..9322f3f6 100644
--- a/040brace.cc
+++ b/040brace.cc
@@ -65,7 +65,7 @@ void transform_braces(const recipe_number r) {
       ;  // do nothing
     else if (inst.operation == Recipe_number["loop"]) {
       inst.operation = Recipe_number["jump"];
-      if (SIZE(inst.ingredients) > 0 && isa_literal(inst.ingredients.at(0))) {
+      if (!inst.ingredients.empty() && isa_literal(inst.ingredients.at(0))) {
         // explicit target; a later phase will handle it
         trace("after-brace") << "jump " << inst.ingredients.at(0).name << ":offset";
       }
@@ -81,7 +81,7 @@ void transform_braces(const recipe_number r) {
     }
     else if (inst.operation == Recipe_number["break"]) {
       inst.operation = Recipe_number["jump"];
-      if (SIZE(inst.ingredients) > 0 && isa_literal(inst.ingredients.at(0))) {
+      if (!inst.ingredients.empty() && isa_literal(inst.ingredients.at(0))) {
         // explicit target; a later phase will handle it
         trace("after-brace") << "jump " << inst.ingredients.at(0).name << ":offset";
       }