[llvm-commits] [124491] Add support for NON_LVALUE_EXPR, patch by Duncan Sands.
clattner at apple.com
clattner at apple.com
Fri Mar 2 18:11:27 PST 2007
Revision: 124491
Author: clattner
Date: 2007-03-02 18:11:25 -0800 (Fri, 02 Mar 2007)
Log Message:
-----------
Add support for NON_LVALUE_EXPR, patch by Duncan Sands.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-convert.cpp
Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-03-03 02:10:50 UTC (rev 124490)
+++ apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-03-03 02:11:25 UTC (rev 124491)
@@ -704,6 +704,7 @@
case CALL_EXPR: Result = EmitCALL_EXPR(exp, DestLoc); break;
case MODIFY_EXPR: Result = EmitMODIFY_EXPR(exp, DestLoc); break;
case ASM_EXPR: Result = EmitASM_EXPR(exp); break;
+ case NON_LVALUE_EXPR: Result = Emit(TREE_OPERAND(exp, 0), DestLoc); break;
// Unary Operators
case NOP_EXPR: Result = EmitNOP_EXPR(exp, DestLoc); break;
More information about the llvm-commits
mailing list