about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-08-12 15:08:35 -0700
committerKartik Agaram <vc@akkartik.com>2018-08-12 15:08:35 -0700
commite0f4f827dde0bfecf0febcef7e0767c044c42b4c (patch)
tree1a065970cc2f701370448552879c8581249a3dfd
parent03c7ae3eca6bc136c6ecefeb81477a36ee4ac097 (diff)
downloadmu-e0f4f827dde0bfecf0febcef7e0767c044c42b4c.tar.gz
4509
-rw-r--r--subx/036recommend_labels.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/036recommend_labels.cc b/subx/036recommend_labels.cc
index b40e2a66..3d603842 100644
--- a/subx/036recommend_labels.cc
+++ b/subx/036recommend_labels.cc
@@ -4,19 +4,19 @@
 
 :(scenario warn_on_jump_offset)
 == 0x1
-7e 1/disp8
-+warn: '7e 1/disp8': using raw offsets for jumps is not recommended; use labels instead
+7e/jump-if 1/disp8
++warn: '7e/jump-if 1/disp8': using raw offsets for jumps is not recommended; use labels instead
 
 :(scenarios transform)
 :(scenario warn_on_call_offset)
 == 0x1
-e8 1/disp32
-+warn: 'e8 1/disp32': using raw offsets for calls is not recommended; use labels instead
+e8/call 1/disp32
++warn: 'e8/call 1/disp32': using raw offsets for calls is not recommended; use labels instead
 :(scenarios run)
 
 :(before "Rewrite Labels(segment code)")
 recommend_labels(code);
-
+if (trace_contains_errors()) return;
 :(code)
 void recommend_labels(const segment& code) {
   trace(99, "transform") << "-- check for numeric labels" << end();