dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. c26def30379fb5ff6d188954d30d7e722c9f09e7
Date: Thu, 14 Apr 2011 18:49:32 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".

The branch, master has been updated
       via  c26def30379fb5ff6d188954d30d7e722c9f09e7 (commit)
      from  b05e34754b1c48d73979645e0fcbdf9a83240482 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=c26def30379fb5ff6d188954d30d7e722c9f09e7

commit c26def30379fb5ff6d188954d30d7e722c9f09e7
Author: Klaus Treichel <address@hidden>
Date:   Thu Apr 14 20:49:17 2011 +0200

    Fix some gcc 4.6 warnings.

diff --git a/ChangeLog b/ChangeLog
index e918876..14c1d18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-04-14  Klaus Treichel  <address@hidden>
+
+       * engine/cvm_call.c (_ILPackCVMStackArgs): Remove unused variable x.
+
+       * engine/cvmc_except.c (CVMCoder_OutputExceptionTable): Remove unused
+       variable parent.
+
+       * engine/lib_delegate.c (_ILCoderGenDelegateCtor): Remove unused 
variable
+       classInfo.
+       (GenDelegateInvoke): Remove unused variable thisType.
+       (_ILCoderGenDelegateBeginInvoke): Remove unused variable delegateClass.
+
 2011-04-10  Klaus Treichel  <address@hidden>
 
        * engine/lib_delegate.c (CreateDelegateSignature): Remove the unused
diff --git a/engine/cvm_call.c b/engine/cvm_call.c
index 918bb14..293ff67 100644
--- a/engine/cvm_call.c
+++ b/engine/cvm_call.c
@@ -392,9 +392,6 @@ ILUInt32 _ILPackCVMStackArgs(ILExecThread *thread, CVMWord 
*stacktop,
                {
                        if(ILType_IsPrimitive(paramType))
                        {
-                               int x;
-
-                               x = ILType_ToElement(paramType);
                                /* Box a primitive value after aligning it 
properly */
                                switch(ILType_ToElement(paramType))
                                {
diff --git a/engine/cvmc_except.c b/engine/cvmc_except.c
index f3bb7fa..3d65f53 100644
--- a/engine/cvmc_except.c
+++ b/engine/cvmc_except.c
@@ -126,7 +126,6 @@ static void CVMCoder_OutputExceptionTable(ILCoder *_coder,
        ILCVMUnwind *unwind;
        ILCVMLabel *startLabel;
        ILCVMLabel *endLabel;
-       int parent;
        int index;
 
        if(exceptions->numBlocks == 0)
@@ -162,7 +161,6 @@ static void CVMCoder_OutputExceptionTable(ILCoder *_coder,
        cvmUnwind[0].exceptionSlot = -1;
        cvmUnwind[0].un.tryBlock.firstHandler = -1;
 
-       parent = 0;
        index = 0;
        while(index < exceptions->numBlocks)
        {
diff --git a/engine/lib_delegate.c b/engine/lib_delegate.c
index 8363265..6213ac6 100644
--- a/engine/lib_delegate.c
+++ b/engine/lib_delegate.c
@@ -420,7 +420,6 @@ static int _ILCoderGenDelegateCtor(ILCoder *coder, ILMethod 
*method,
                                                                   unsigned 
char **start,
                                                                   
ILCoderExceptions *coderExceptions)
 {
-       ILClass *classInfo;
        ILClass *delegateClassInfo;
        ILField *targetField;
        ILField *methodField;
@@ -429,7 +428,6 @@ static int _ILCoderGenDelegateCtor(ILCoder *coder, ILMethod 
*method,
        ILMethodCode code;
        ILEngineStackItem stack[2];
 
-       classInfo = ILMethod_Owner(method);
        delegateClassInfo = ILClassResolveSystem(ILProgramItem_Image(method),
                                                                                
         0, "Delegate", "System");
        if(!delegateClassInfo)
@@ -503,12 +501,10 @@ static int GenDelegateInvoke(ILCoder *coder, ILMethod 
*method,
        ILCoderPrefixInfo prefixInfo;
        ILCoderMethodInfo coderMethodInfo;
        ILType *returnType;
-       ILType *thisType;
        
        /* Initialize the prefix information */
        ILMemZero(&prefixInfo, sizeof(ILCoderPrefixInfo));
        returnType = ILTypeGetReturn(signature);
-       thisType = ILType_FromClass(ILMethod_Owner(method));
 
        ILCoderLoadThisField(coder, targetField,
                                                 ILField_Type(targetField), 
&prefixInfo);
@@ -778,7 +774,6 @@ static int _ILCoderGenDelegateBeginInvoke(ILCoder *coder, 
ILMethod *method,
        {
                ILImage *image;
                ILType *returnType;
-               ILClass *delegateClass;
                ILClass *objectClassInfo;
                ILType *arrayType;
                ILClass *arrayClass;
@@ -792,7 +787,6 @@ static int _ILCoderGenDelegateBeginInvoke(ILCoder *coder, 
ILMethod *method,
                ILEngineStackItem stack[4];
 
                image = ILProgramItem_Image(method);
-               delegateClass = ILMethod_Owner(method);
                returnType = ILTypeGetReturn(signature);
                numParams = ILTypeNumParams(signature);
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   12 ++++++++++++
 engine/cvm_call.c     |    3 ---
 engine/cvmc_except.c  |    2 --
 engine/lib_delegate.c |    6 ------
 4 files changed, 12 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET engine, compilers and tools (pnet)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]