[commit: ghc] master: rts: Fix ASSERTs with space before opening paren (76e59a2)

git at git.haskell.org git at git.haskell.org
Fri Aug 25 21:56:42 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/76e59a270118080d61e0c272011d318c68790951/ghc

>---------------------------------------------------------------

commit 76e59a270118080d61e0c272011d318c68790951
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Aug 24 12:48:54 2017 -0400

    rts: Fix ASSERTs with space before opening paren
    
    Reviewers: austin, erikd, simonmar
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3885


>---------------------------------------------------------------

76e59a270118080d61e0c272011d318c68790951
 rts/linker/PEi386.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c
index 37d58af..4378a0a 100644
--- a/rts/linker/PEi386.c
+++ b/rts/linker/PEi386.c
@@ -403,7 +403,7 @@ COFF_HEADER_INFO* getHeaderInfo ( ObjectCode* oc )
 __attribute__ ((always_inline)) inline
 size_t getSymbolSize ( COFF_HEADER_INFO *info )
 {
-    ASSERT (info);
+    ASSERT(info);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -416,8 +416,8 @@ size_t getSymbolSize ( COFF_HEADER_INFO *info )
 __attribute__ ((always_inline)) inline
 int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -430,8 +430,8 @@ int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 __attribute__ ((always_inline)) inline
 uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -444,8 +444,8 @@ uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 __attribute__ ((always_inline)) inline
 uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -458,8 +458,8 @@ uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 __attribute__ ((always_inline)) inline
 uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -472,8 +472,8 @@ uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 __attribute__ ((always_inline)) inline
 uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:
@@ -486,8 +486,8 @@ uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 __attribute__ ((always_inline)) inline
 uint8_t* getSymShortName ( COFF_HEADER_INFO *info, COFF_symbol* sym )
 {
-    ASSERT (info);
-    ASSERT (sym);
+    ASSERT(info);
+    ASSERT(sym);
     switch (info->type)
     {
         case COFF_ANON_BIG_OBJ:



More information about the ghc-commits mailing list