lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [3/6] git commit: refs/heads/charmonizer-decoupling - Regenerate charmonizer.c
Date Mon, 22 Jul 2013 20:13:32 GMT
Regenerate charmonizer.c


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/04d8a90f
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/04d8a90f
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/04d8a90f

Branch: refs/heads/charmonizer-decoupling
Commit: 04d8a90f2332cd80c203bf4b2f3c08d8a48fbbdf
Parents: fdb420a
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Mon Jul 22 21:42:53 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Mon Jul 22 21:42:53 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/common/charmonizer.c | 24 +++++++++++++++---------
 clownfish/runtime/common/charmonizer.c  | 24 +++++++++++++++---------
 common/charmonizer.c                    | 24 +++++++++++++++---------
 3 files changed, 45 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/04d8a90f/clownfish/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/common/charmonizer.c b/clownfish/compiler/common/charmonizer.c
index f404587..a1c2a19 100644
--- a/clownfish/compiler/common/charmonizer.c
+++ b/clownfish/compiler/common/charmonizer.c
@@ -5583,6 +5583,7 @@ static const char chaz_Integers_sizes_code[] =
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(int));      )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(long));     )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(void*));    )
+    CHAZ_QUOTE(      printf("%d ", (int)sizeof(size_t));   )
     CHAZ_QUOTE(      return 0;                             )
     CHAZ_QUOTE(  }                                         );
 
@@ -5626,6 +5627,7 @@ chaz_Integers_run(void) {
     int sizeof_long       = -1;
     int sizeof_long_long  = -1;
     int sizeof___int64    = -1;
+    int sizeof_size_t     = -1;
     int has_8             = false;
     int has_16            = false;
     int has_32            = false;
@@ -5660,15 +5662,17 @@ chaz_Integers_run(void) {
         char *ptr     = output;
         char *end_ptr = output;
 
-        sizeof_char  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_short = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_int   = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_long  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_ptr   = strtol(ptr, &end_ptr, 10);
+        sizeof_char   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_short  = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_int    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_long   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_ptr    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_size_t = strtol(ptr, &end_ptr, 10);
 
         free(output);
     }
@@ -5790,6 +5794,8 @@ chaz_Integers_run(void) {
     chaz_ConfWriter_add_def("SIZEOF_LONG", scratch);
     sprintf(scratch, "%d", sizeof_ptr);
     chaz_ConfWriter_add_def("SIZEOF_PTR", scratch);
+    sprintf(scratch, "%d", sizeof_size_t);
+    chaz_ConfWriter_add_def("SIZEOF_SIZE_T", scratch);
     if (has_long_long) {
         sprintf(scratch, "%d", sizeof_long_long);
         chaz_ConfWriter_add_def("SIZEOF_LONG_LONG", scratch);

http://git-wip-us.apache.org/repos/asf/lucy/blob/04d8a90f/clownfish/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.c b/clownfish/runtime/common/charmonizer.c
index 370f3b1..3ab6f63 100644
--- a/clownfish/runtime/common/charmonizer.c
+++ b/clownfish/runtime/common/charmonizer.c
@@ -5583,6 +5583,7 @@ static const char chaz_Integers_sizes_code[] =
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(int));      )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(long));     )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(void*));    )
+    CHAZ_QUOTE(      printf("%d ", (int)sizeof(size_t));   )
     CHAZ_QUOTE(      return 0;                             )
     CHAZ_QUOTE(  }                                         );
 
@@ -5626,6 +5627,7 @@ chaz_Integers_run(void) {
     int sizeof_long       = -1;
     int sizeof_long_long  = -1;
     int sizeof___int64    = -1;
+    int sizeof_size_t     = -1;
     int has_8             = false;
     int has_16            = false;
     int has_32            = false;
@@ -5660,15 +5662,17 @@ chaz_Integers_run(void) {
         char *ptr     = output;
         char *end_ptr = output;
 
-        sizeof_char  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_short = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_int   = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_long  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_ptr   = strtol(ptr, &end_ptr, 10);
+        sizeof_char   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_short  = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_int    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_long   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_ptr    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_size_t = strtol(ptr, &end_ptr, 10);
 
         free(output);
     }
@@ -5790,6 +5794,8 @@ chaz_Integers_run(void) {
     chaz_ConfWriter_add_def("SIZEOF_LONG", scratch);
     sprintf(scratch, "%d", sizeof_ptr);
     chaz_ConfWriter_add_def("SIZEOF_PTR", scratch);
+    sprintf(scratch, "%d", sizeof_size_t);
+    chaz_ConfWriter_add_def("SIZEOF_SIZE_T", scratch);
     if (has_long_long) {
         sprintf(scratch, "%d", sizeof_long_long);
         chaz_ConfWriter_add_def("SIZEOF_LONG_LONG", scratch);

http://git-wip-us.apache.org/repos/asf/lucy/blob/04d8a90f/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 01eee8b..0fc1466 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -5583,6 +5583,7 @@ static const char chaz_Integers_sizes_code[] =
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(int));      )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(long));     )
     CHAZ_QUOTE(      printf("%d ", (int)sizeof(void*));    )
+    CHAZ_QUOTE(      printf("%d ", (int)sizeof(size_t));   )
     CHAZ_QUOTE(      return 0;                             )
     CHAZ_QUOTE(  }                                         );
 
@@ -5626,6 +5627,7 @@ chaz_Integers_run(void) {
     int sizeof_long       = -1;
     int sizeof_long_long  = -1;
     int sizeof___int64    = -1;
+    int sizeof_size_t     = -1;
     int has_8             = false;
     int has_16            = false;
     int has_32            = false;
@@ -5660,15 +5662,17 @@ chaz_Integers_run(void) {
         char *ptr     = output;
         char *end_ptr = output;
 
-        sizeof_char  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_short = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_int   = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_long  = strtol(ptr, &end_ptr, 10);
-        ptr          = end_ptr;
-        sizeof_ptr   = strtol(ptr, &end_ptr, 10);
+        sizeof_char   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_short  = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_int    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_long   = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_ptr    = strtol(ptr, &end_ptr, 10);
+        ptr           = end_ptr;
+        sizeof_size_t = strtol(ptr, &end_ptr, 10);
 
         free(output);
     }
@@ -5790,6 +5794,8 @@ chaz_Integers_run(void) {
     chaz_ConfWriter_add_def("SIZEOF_LONG", scratch);
     sprintf(scratch, "%d", sizeof_ptr);
     chaz_ConfWriter_add_def("SIZEOF_PTR", scratch);
+    sprintf(scratch, "%d", sizeof_size_t);
+    chaz_ConfWriter_add_def("SIZEOF_SIZE_T", scratch);
     if (has_long_long) {
         sprintf(scratch, "%d", sizeof_long_long);
         chaz_ConfWriter_add_def("SIZEOF_LONG_LONG", scratch);


Mime
View raw message