harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r391515 - in /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src: cfmsgs.c classfile.c
Date Wed, 05 Apr 2006 05:22:14 GMT
Author: dlydick
Date: Tue Apr  4 22:22:12 2006
New Revision: 391515

URL: http://svn.apache.org/viewcvs?rev=391515&view=rev
Log:
Small white space changes.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/classfile.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c?rev=391515&r1=391514&r2=391515&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmsgs.c Tue
Apr  4 22:22:12 2006
@@ -149,10 +149,10 @@
                     "%s Class cpidx=0x%02x clsidx=%d len=%d %*.*s",
                       msg_hdr,
                       PTR_CP_ENTRY_TYPE(CONSTANT_Class_info, pcfs,cpidx)
-                          ->name_index,
+                        ->name_index,
 
                       PTR_CP_ENTRY_TYPE(CONSTANT_Class_info, pcfs,cpidx)
-                          ->LOCAL_Class_binding.clsidxJVM,
+                        ->LOCAL_Class_binding.clsidxJVM,
 
                       star_len,
 
@@ -181,16 +181,16 @@
 "%s Fieldref cpidx=0x%02x clsidx=%d fluidx=%d oiflag=%d jvalue=%c len=%d class=%*.*s cpidx=0x%02x
len=%d n/t=%*.*s",
                       msg_hdr,
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->class_index,
+                      ->class_index,
 
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->LOCAL_Fieldref_binding.clsidxJVM,
+                      ->LOCAL_Fieldref_binding.clsidxJVM,
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->LOCAL_Fieldref_binding.fluidxJVM,
+                      ->LOCAL_Fieldref_binding.fluidxJVM,
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->LOCAL_Fieldref_binding.oiflagJVM,
+                      ->LOCAL_Fieldref_binding.oiflagJVM,
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->LOCAL_Fieldref_binding.jvaluetypeJVM,
+                      ->LOCAL_Fieldref_binding.jvaluetypeJVM,
 
                       star_len,
 
@@ -201,7 +201,7 @@
                                                  class_index),
 
                     PTR_CP_ENTRY_TYPE(CONSTANT_Fieldref_info,pcfs,cpidx)
-                          ->name_and_type_index,
+                        ->name_and_type_index,
 
                       star_len2,
 
@@ -232,15 +232,15 @@
                                         cpidx)->class_index,
 
                    PTR_CP_ENTRY_TYPE(CONSTANT_Methodref_info,pcfs,cpidx)
-                       ->LOCAL_Methodref_binding.clsidxJVM,
+                     ->LOCAL_Methodref_binding.clsidxJVM,
                    PTR_CP_ENTRY_TYPE(CONSTANT_Methodref_info,pcfs,cpidx)
-                       ->LOCAL_Methodref_binding.mthidxJVM,
+                     ->LOCAL_Methodref_binding.mthidxJVM,
                    PTR_CP_ENTRY_TYPE(CONSTANT_Methodref_info,pcfs,cpidx)
-                       ->LOCAL_Methodref_binding.codeatridxJVM,
+                     ->LOCAL_Methodref_binding.codeatridxJVM,
                    PTR_CP_ENTRY_TYPE(CONSTANT_Methodref_info,pcfs,cpidx)
-                       ->LOCAL_Methodref_binding.excpatridxJVM,
+                     ->LOCAL_Methodref_binding.excpatridxJVM,
                    PTR_CP_ENTRY_TYPE(CONSTANT_Methodref_info,pcfs,cpidx)
-                       ->LOCAL_Methodref_binding.nmordJVM,
+                     ->LOCAL_Methodref_binding.nmordJVM,
 
                       star_len,
 
@@ -287,26 +287,26 @@
                      PTR_CP_ENTRY_TYPE(CONSTANT_InterfaceMethodref_info,
                                        pcfs,
                                        cpidx)
-                          ->LOCAL_InterfaceMethodref_binding.clsidxJVM,
+                       ->LOCAL_InterfaceMethodref_binding.clsidxJVM,
                      PTR_CP_ENTRY_TYPE(CONSTANT_InterfaceMethodref_info,
                                        pcfs,
                                        cpidx)
-                          ->LOCAL_InterfaceMethodref_binding.mthidxJVM,
+                       ->LOCAL_InterfaceMethodref_binding.mthidxJVM,
                      PTR_CP_ENTRY_TYPE(CONSTANT_InterfaceMethodref_info,
                                        pcfs,
                                        cpidx)
-                          ->LOCAL_InterfaceMethodref_binding
-                            .codeatridxJVM,
+                       ->LOCAL_InterfaceMethodref_binding
+                         .codeatridxJVM,
                      PTR_CP_ENTRY_TYPE(CONSTANT_InterfaceMethodref_info,
                                        pcfs,
                                        cpidx)
-                          ->LOCAL_InterfaceMethodref_binding
-                            .excpatridxJVM,
+                       ->LOCAL_InterfaceMethodref_binding
+                         .excpatridxJVM,
                      PTR_CP_ENTRY_TYPE(CONSTANT_InterfaceMethodref_info,
                                        pcfs,
                                        cpidx)
-                          ->LOCAL_InterfaceMethodref_binding
-                            .nmordJVM,
+                       ->LOCAL_InterfaceMethodref_binding
+                         .nmordJVM,
 
                       star_len,
 
@@ -343,7 +343,7 @@
                 "%s String cpidx=0x%02x len=%d UTF8='%*.*s'",
                       msg_hdr,
                      PTR_CP_ENTRY_TYPE(CONSTANT_String_info, pcfs,cpidx)
-                          ->string_index,
+                       ->string_index,
 
                       star_len,
 
@@ -379,9 +379,9 @@
         case CONSTANT_Long:
 
             pu4h = &PTR_CP_ENTRY_TYPE(CONSTANT_Long_info, pcfs, cpidx)
-                        ->high_bytes;
+                      ->high_bytes;
             pu4l = &PTR_CP_ENTRY_TYPE(CONSTANT_Long_info, pcfs, cpidx)
-                        ->low_bytes;
+                      ->low_bytes;
 
             /*
              * if WORDSIZE/32/64 mismatches -m32/-m64,
@@ -413,9 +413,9 @@
         case CONSTANT_Double:
 
             pu4h = &PTR_CP_ENTRY_TYPE(CONSTANT_Double_info, pcfs, cpidx)
-                       ->high_bytes;
+                      ->high_bytes;
             pu4l = &PTR_CP_ENTRY_TYPE(CONSTANT_Double_info, pcfs, cpidx)
-                       ->low_bytes;
+                      ->low_bytes;
 
             /*
              * if WORDSIZE/32/64 mismatches -m32/-m64,
@@ -775,11 +775,11 @@
                       msg_hdr,
                       CONSTANT_UTF8_CODE_ATTRIBUTE,
                       PTR_CP_ENTRY_TYPE(Code_attribute, pcfs, cpidx)
-                          ->max_stack,
+                        ->max_stack,
                       PTR_CP_ENTRY_TYPE(Code_attribute, pcfs, cpidx)
-                          ->max_locals,
+                        ->max_locals,
                       PTR_CP_ENTRY_TYPE(Code_attribute, pcfs, cpidx)
-                          ->code_length);
+                        ->code_length);
             break;
 
         case LOCAL_EXCEPTIONS_ATTRIBUTE:
@@ -790,7 +790,7 @@
                       msg_hdr,
                       CONSTANT_UTF8_CODE_ATTRIBUTE,
                      PTR_CP_ENTRY_TYPE(Exceptions_attribute, pcfs,cpidx)
-                          ->number_of_exceptions);
+                        ->number_of_exceptions);
             break;
 
         case LOCAL_INNERCLASSES_ATTRIBUTE:
@@ -875,7 +875,7 @@
                       PTR_CP_ENTRY_TYPE(LocalVariableTable_attribute,
                                         pcfs,
                                         cpidx)
-                          ->local_variable_table_length);
+                        ->local_variable_table_length);
             break;
 
         case LOCAL_LOCALVARIABLETYPETABLE_ATTRIBUTE:
@@ -889,7 +889,7 @@
                                        LocalVariableTypeTable_attribute,
                                        pcfs,
                                        cpidx)
-                          ->local_variable_type_table_length);
+                        ->local_variable_type_table_length);
             break;
 
         case LOCAL_DEPRECATED_ATTRIBUTE:

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/classfile.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/classfile.c?rev=391515&r1=391514&r2=391515&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/classfile.c
(original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/classfile.c
Tue Apr  4 22:22:12 2006
@@ -587,19 +587,19 @@
 
                 /* Initialize late binding extension */
                 PTR_THIS_CP_Fieldref(pcpd)
-                    ->LOCAL_Fieldref_binding.clsidxJVM =
+                  ->LOCAL_Fieldref_binding.clsidxJVM =
                                                    jvm_class_index_null;
 
                 PTR_THIS_CP_Fieldref(pcpd)
-                    ->LOCAL_Fieldref_binding.fluidxJVM =
+                  ->LOCAL_Fieldref_binding.fluidxJVM =
                                                     jvm_field_index_bad;
 
                 PTR_THIS_CP_Fieldref(pcpd)
-                    ->LOCAL_Fieldref_binding.oiflagJVM =
+                  ->LOCAL_Fieldref_binding.oiflagJVM =
                                                 rneither_true_nor_false;
 
                 PTR_THIS_CP_Fieldref(pcpd)
-                    ->LOCAL_Fieldref_binding.jvaluetypeJVM =
+                  ->LOCAL_Fieldref_binding.jvaluetypeJVM =
                                                    LOCAL_BASETYPE_ERROR;
 
                 break;
@@ -625,23 +625,23 @@
 
                 /* Initialize late binding extension */
                 PTR_THIS_CP_Methodref(pcpd)
-                    ->LOCAL_Methodref_binding.clsidxJVM =
+                  ->LOCAL_Methodref_binding.clsidxJVM =
                                                    jvm_class_index_null;
 
                 PTR_THIS_CP_Methodref(pcpd)
-                    ->LOCAL_Methodref_binding.mthidxJVM =
+                  ->LOCAL_Methodref_binding.mthidxJVM =
                                                    jvm_method_index_bad;
 
                 PTR_THIS_CP_Methodref(pcpd)
-                    ->LOCAL_Methodref_binding.codeatridxJVM =
+                  ->LOCAL_Methodref_binding.codeatridxJVM =
                                                 jvm_attribute_index_bad;
 
                 PTR_THIS_CP_Methodref(pcpd)
-                    ->LOCAL_Methodref_binding.excpatridxJVM =
+                  ->LOCAL_Methodref_binding.excpatridxJVM =
                                                 jvm_attribute_index_bad;
 
                 PTR_THIS_CP_Methodref(pcpd)
-                    ->LOCAL_Methodref_binding.nmordJVM =
+                  ->LOCAL_Methodref_binding.nmordJVM =
                                          jvm_native_method_ordinal_null;
 
                 break;
@@ -668,23 +668,23 @@
 
                 /* Initialize late binding extension */
                 PTR_THIS_CP_InterfaceMethodref(pcpd)
-                    ->LOCAL_InterfaceMethodref_binding.clsidxJVM =
+                  ->LOCAL_InterfaceMethodref_binding.clsidxJVM =
                                                    jvm_class_index_null;
 
                 PTR_THIS_CP_InterfaceMethodref(pcpd)
-                    ->LOCAL_InterfaceMethodref_binding.mthidxJVM =
+                  ->LOCAL_InterfaceMethodref_binding.mthidxJVM =
                                                    jvm_method_index_bad;
 
                 PTR_THIS_CP_InterfaceMethodref(pcpd)
-                    ->LOCAL_InterfaceMethodref_binding.codeatridxJVM =
+                  ->LOCAL_InterfaceMethodref_binding.codeatridxJVM =
                                                 jvm_attribute_index_bad;
 
                 PTR_THIS_CP_InterfaceMethodref(pcpd)
-                    ->LOCAL_InterfaceMethodref_binding.excpatridxJVM =
+                  ->LOCAL_InterfaceMethodref_binding.excpatridxJVM =
                                                 jvm_attribute_index_bad;
 
                 PTR_THIS_CP_InterfaceMethodref(pcpd)
-                    ->LOCAL_InterfaceMethodref_binding.nmordJVM =
+                  ->LOCAL_InterfaceMethodref_binding.nmordJVM =
                                          jvm_native_method_ordinal_null;
 
                 break;
@@ -1249,15 +1249,15 @@
              * exception attribute is found.
              */
             pcfs->methods[mthidx]
-                    ->LOCAL_method_binding.codeatridxJVM =
+                  ->LOCAL_method_binding.codeatridxJVM =
                                             jvm_attribute_index_bad;
 
             pcfs->methods[mthidx]
-                    ->LOCAL_method_binding.excpatridxJVM =
+                  ->LOCAL_method_binding.excpatridxJVM =
                                             jvm_attribute_index_bad;
 
             pcfs->methods[mthidx]
-                    ->LOCAL_method_binding.nmordJVM =
+                  ->LOCAL_method_binding.nmordJVM =
                                      jvm_native_method_ordinal_null;
 
 
@@ -1313,7 +1313,8 @@
                      */
                     switch (cfattrib_atr2enum(pcfs,
                             pcfs->methods[mthidx]->attributes[atridx]
-                                      ->ai.attribute_name_index))
+                                  ->ai
+                                    .attribute_name_index))
                     {
                         case LOCAL_CODE_ATTRIBUTE:
                             pcfs



Mime
View raw message