Module: gas-preprocessor
Branch: master
Commit: ee12830747ff0b97ec6b41f4263fec63d1711365

Author:    Martin Storsjo <[email protected]>
Committer: Martin Storsjo <[email protected]>
Date:      Thu Oct 26 13:04:33 2017 +0300

Consistently use 4 space indentation

Some blocks had accidentally gotten only 2 space indentation.

---

 gas-preprocessor.pl | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index fd49e81..3787756 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -1028,14 +1028,14 @@ sub handle_serialized_line {
             # Convert "ldrb w0, [x0, #-1]" into "ldurb w0, [x0, #-1]".
             # Don't do this for forms with writeback though.
             if ($line =~ 
/(ld|st)(r[bh]?)\s+(\w+)\s*,\s*\[\s*(\w+)\s*,\s*#([^\]]+)\s*\][^!]/) {
-              my $instr = $1;
-              my $suffix = $2;
-              my $target = $3;
-              my $base = $4;
-              my $offset = eval_expr($5);
-              if ($offset < 0) {
-                $line =~ s/$instr$suffix/${instr}u$suffix/;
-              }
+                my $instr = $1;
+                my $suffix = $2;
+                my $target = $3;
+                my $base = $4;
+                my $offset = eval_expr($5);
+                if ($offset < 0) {
+                    $line =~ s/$instr$suffix/${instr}u$suffix/;
+                }
             }
 
             if ($ENV{GASPP_ARMASM64_INVERT_SCALE}) {

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to