about summary refs log tree commit diff stats
path: root/036labels.cc
diff options
context:
space:
mode:
Diffstat (limited to '036labels.cc')
-rw-r--r--036labels.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/036labels.cc b/036labels.cc
index dbecef7e..c269538a 100644
--- a/036labels.cc
+++ b/036labels.cc
@@ -223,9 +223,6 @@ void replace_labels_with_displacements(segment& code, const map<string, int32_t>
     for (int j = 0;  j < SIZE(inst.words);  ++j) {
       const word& curr = inst.words.at(j);
       if (contains_key(byte_index, curr.data)) {
-        if (has_argument_metadata(inst, "mod")) {
-          raise << "'" << to_string(inst) << "' don't pass references to labels around like data\n" << end();
-        }
         int32_t displacement = static_cast<int32_t>(get(byte_index, curr.data)) - byte_index_next_instruction_starts_at;
         if (has_argument_metadata(curr, "disp8")) {
           if (displacement > 0x7f || displacement < -0x7f)