com php-src: reduce struct size by 8 bytes on 64 bit: ext/reflection/php_reflection.c
| From: | Anatol Belski | Date: | Sun, 14 Sep 2014 10:32:38 +0000 |
| Subject: | com php-src: reduce struct size by 8 bytes on 64 bit: ext/reflection/php_reflection.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81581@lists.php.net to get a copy of this message | ||
Commit: f1ba5389cd0e13da2230dd411c6151dedde88552
Author: Anatol Belski <ab@php.net> Sun, 14 Sep 2014 12:32:38 +0200
Parents: 0b40abf41d67cacb605ea4def917428e078ca758
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f1ba5389cd0e13da2230dd411c6151dedde88552
Log:
reduce struct size by 8 bytes on 64 bit
Changed paths:
M ext/reflection/php_reflection.c
Diff:
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index cd9f65d..9274ed5 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -209,10 +209,10 @@ typedef enum {
/* Struct for reflection objects */
typedef struct {
zval dummy; /* holder for the second property */
- void *ptr;
- reflection_type_t ref_type;
zval obj;
+ void *ptr;
zend_class_entry *ce;
+ reflection_type_t ref_type;
unsigned int ignore_visibility:1;
zend_object zo;
} reflection_object;