Commit 76e59a27 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

rts: Fix ASSERTs with space before opening paren

Reviewers: austin, erikd, simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3885
parent 80ccea85
...@@ -403,7 +403,7 @@ COFF_HEADER_INFO* getHeaderInfo ( ObjectCode* oc ) ...@@ -403,7 +403,7 @@ COFF_HEADER_INFO* getHeaderInfo ( ObjectCode* oc )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
size_t getSymbolSize ( COFF_HEADER_INFO *info ) size_t getSymbolSize ( COFF_HEADER_INFO *info )
{ {
ASSERT (info); ASSERT(info);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -416,8 +416,8 @@ size_t getSymbolSize ( COFF_HEADER_INFO *info ) ...@@ -416,8 +416,8 @@ size_t getSymbolSize ( COFF_HEADER_INFO *info )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym ) int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -430,8 +430,8 @@ int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym ) ...@@ -430,8 +430,8 @@ int32_t getSymSectionNumber ( COFF_HEADER_INFO *info, COFF_symbol* sym )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym ) uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -444,8 +444,8 @@ uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym ) ...@@ -444,8 +444,8 @@ uint32_t getSymValue ( COFF_HEADER_INFO *info, COFF_symbol* sym )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym ) uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -458,8 +458,8 @@ uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym ) ...@@ -458,8 +458,8 @@ uint8_t getSymStorageClass ( COFF_HEADER_INFO *info, COFF_symbol* sym )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym ) uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -472,8 +472,8 @@ uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym ) ...@@ -472,8 +472,8 @@ uint8_t getSymNumberOfAuxSymbols ( COFF_HEADER_INFO *info, COFF_symbol* sym )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym ) uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
...@@ -486,8 +486,8 @@ uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym ) ...@@ -486,8 +486,8 @@ uint16_t getSymType ( COFF_HEADER_INFO *info, COFF_symbol* sym )
__attribute__ ((always_inline)) inline __attribute__ ((always_inline)) inline
uint8_t* getSymShortName ( COFF_HEADER_INFO *info, COFF_symbol* sym ) uint8_t* getSymShortName ( COFF_HEADER_INFO *info, COFF_symbol* sym )
{ {
ASSERT (info); ASSERT(info);
ASSERT (sym); ASSERT(sym);
switch (info->type) switch (info->type)
{ {
case COFF_ANON_BIG_OBJ: case COFF_ANON_BIG_OBJ:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment