diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-12 21:21:31 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-12 21:27:04 -0700 |
commit | f75c7021d5d406470f04b1ef96e1ec910ee736b8 (patch) | |
tree | 1e3bc48c2585c7992e0122f43fec7ea92bdffa88 /subx/032check_operand_bounds.cc | |
parent | cac416f42312001fa46b6ebebb94010f57793b9c (diff) | |
download | mu-f75c7021d5d406470f04b1ef96e1ec910ee736b8.tar.gz |
4544
Attempt #3 at fixing CI. In the process the feature gets a lot less half-baked. Ridiculously misleading that we had `has_metadata()` was special-cased to one specific transform. I suck.
Diffstat (limited to 'subx/032check_operand_bounds.cc')
-rw-r--r-- | subx/032check_operand_bounds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/032check_operand_bounds.cc b/subx/032check_operand_bounds.cc index 9a810453..69daeb46 100644 --- a/subx/032check_operand_bounds.cc +++ b/subx/032check_operand_bounds.cc @@ -38,7 +38,7 @@ void check_operand_bounds(const segment& code) { void check_operand_bounds(const word& w) { for (map<string, uint32_t>::iterator p = Operand_bound.begin(); p != Operand_bound.end(); ++p) { - if (!has_metadata(w, p->first)) continue; + if (!has_operand_metadata(w, p->first)) continue; if (!is_hex_int(w.data)) continue; // later transforms are on their own to do their own bounds checking int32_t x = parse_int(w.data); if (x >= 0) { |