[opengtl-commits] [501] fix initialization of complex coumpound expression |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 501
Author: cyrille
Date: 2008-11-27 00:09:28 +0100 (Thu, 27 Nov 2008)
Log Message:
-----------
fix initialization of complex coumpound expression
Modified Paths:
--------------
trunk/OpenGTL/OpenGTL/GTLCore/Visitor_p.cpp
Modified: trunk/OpenGTL/OpenGTL/GTLCore/Visitor_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Visitor_p.cpp 2008-11-26 23:08:57 UTC (rev 500)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Visitor_p.cpp 2008-11-26 23:09:28 UTC (rev 501)
@@ -558,7 +558,7 @@
llvm::Value* nptrToValueMember = pointerToValue( _generationContext, _currentBlock, _value, i);
const Visitor* visitor = Visitor::getVisitorFor( type );
llvm::Value* memberValue = visitor->get( _generationContext, _currentBlock, nptrToValueMember, type ).value();
- visitor->set( _generationContext, _currentBlock, nptrToOwnMember, type, memberValue, type, _allocatedInMemory );
+ _currentBlock = visitor->set( _generationContext, _currentBlock, nptrToOwnMember, type, memberValue, type, _allocatedInMemory );
}
return _currentBlock;
}