From 069ed1c879866673ce51dfccfb6b78f8055aeb4d Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 27 Jul 2018 11:55:47 -0700 Subject: 4442 Clean up trace levels everywhere in SubX. --- subx/026labels.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'subx/026labels.cc') diff --git a/subx/026labels.cc b/subx/026labels.cc index 97d5429d..fc52fe74 100644 --- a/subx/026labels.cc +++ b/subx/026labels.cc @@ -9,7 +9,7 @@ # 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes loop: 05 0x0d0c0b0a/imm32 # add to EAX -+label: label 'loop' is at address 1 ++translate: label 'loop' is at address 1 :(before "End One-time Setup") Transform.push_back(replace_labels); @@ -53,7 +53,7 @@ void compute_addresses_for_labels(const segment& code, map add raise << "'" << to_string(inst) << "': labels can only be the first word in a line.\n" << end(); string label = curr.data.substr(0, SIZE(curr.data)-1); put(address, label, current_byte); - trace(99, "label") << "label '" << label << "' is at address " << (current_byte+code.start) << end(); + trace(99, "translate") << "label '" << label << "' is at address " << (current_byte+code.start) << end(); // no modifying current_byte; label definitions won't be in the final binary } } @@ -90,6 +90,6 @@ loop2: 05 0x0d0c0b0a/imm32 # add to EAX loop3: f -+label: label 'loop' is at address 1 -+label: label 'loop2' is at address 1 -+label: label 'loop3' is at address 6 ++translate: label 'loop' is at address 1 ++translate: label 'loop2' is at address 1 ++translate: label 'loop3' is at address 6 -- cgit 1.4.1-2-gfad0