[前][次][番号順一覧][スレッド一覧]

ruby-changes:33325

From: nobu <ko1@a...>
Date: Tue, 25 Mar 2014 16:40:03 +0900 (JST)
Subject: [ruby-changes:33325] nobu:r45404 (trunk): parse.y: removing padding

nobu	2014-03-25 16:39:58 +0900 (Tue, 25 Mar 2014)

  New Revision: 45404

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45404

  Log:
    parse.y: removing padding
    
    * parse.y (parser_params): shrink struct size by removing padding
      on 64-bit platforms.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 45403)
+++ parse.y	(revision 45404)
@@ -226,7 +226,6 @@ typedef struct token_info { https://github.com/ruby/ruby/blob/trunk/parse.y#L226
                      token
 */
 struct parser_params {
-    int is_ripper;
     NODE *heap;
 
     YYSTYPE *parser_yylval;
@@ -236,6 +235,7 @@ struct parser_params { https://github.com/ruby/ruby/blob/trunk/parse.y#L235
     enum lex_state_e parser_lex_state;
     stack_type parser_cond_stack;
     stack_type parser_cmdarg_stack;
+    int is_ripper;
     int parser_class_nest;
     int parser_paren_nest;
     int parser_lpar_beg;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]