diff options
Diffstat (limited to 'build/make/thumb.pm')
-rw-r--r-- | build/make/thumb.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build/make/thumb.pm b/build/make/thumb.pm index 9c49e2d8b..ef4b31677 100644 --- a/build/make/thumb.pm +++ b/build/make/thumb.pm @@ -11,11 +11,8 @@ package thumb; -sub FixThumbInstructions($$) +sub FixThumbInstructions($) { - my $short_branches = $_[1]; - my $branch_shift_offset = $short_branches ? 1 : 0; - # Write additions with shifts, such as "add r10, r11, lsl #8", # in three operand form, "add r10, r10, r11, lsl #8". s/(add\s+)(r\d+),\s*(r\d+),\s*(lsl #\d+)/$1$2, $2, $3, $4/g; |