diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-09 21:35:04 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-09 21:46:12 -0700 |
commit | 90b01a1b277f457914c1a5757ecfde3af4591ab0 (patch) | |
tree | 5e6a72ac63b7dcdc4c2d689e6dff3a51802888a9 /subx/032check_operand_bounds.cc | |
parent | f2889b002ab36e13ac5771cf33635ec35cfc3b34 (diff) | |
download | mu-90b01a1b277f457914c1a5757ecfde3af4591ab0.tar.gz |
4499
More tweaks for check passes. Ensure they're never first-class transforms.
Diffstat (limited to 'subx/032check_operand_bounds.cc')
-rw-r--r-- | subx/032check_operand_bounds.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/032check_operand_bounds.cc b/subx/032check_operand_bounds.cc index 7ed2732b..9a810453 100644 --- a/subx/032check_operand_bounds.cc +++ b/subx/032check_operand_bounds.cc @@ -3,7 +3,7 @@ :(scenario check_bitfield_sizes) % Hide_errors = true; == 0x1 -01/add 4/mod +01/add 4/mod 3/rm32 1/r32 # add ECX to EBX +error: '4/mod' too large to fit in bitfield mod :(before "End Globals") @@ -22,7 +22,7 @@ put(Operand_bound, "disp16", 1<<16); put(Operand_bound, "imm8", 1<<8); // no bound needed for imm32 -:(after "Pack Operands") +:(before "Pack Operands(segment code)") check_operand_bounds(code); if (trace_contains_errors()) return; :(code) |