[llvm-commits] [gcc-plugin] r80996 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Fri Sep 4 04:30:50 PDT 2009
Author: baldrick
Date: Fri Sep 4 06:30:49 2009
New Revision: 80996
URL: http://llvm.org/viewvc/llvm-project?rev=80996&view=rev
Log:
The mark_addressable langhook is now language independent.
Modified:
gcc-plugin/trunk/llvm-convert.cpp
Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=80996&r1=80995&r2=80996&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Fri Sep 4 06:30:49 2009
@@ -63,7 +63,6 @@
#include "output.h"
#include "diagnostic.h"
#include "real.h"
-#include "langhooks.h"
#include "function.h"
#include "toplev.h"
#include "flags.h"
@@ -4412,7 +4411,7 @@
// Output constraints must be addressable if they aren't simple register
// constraints (this emits "address of register var" errors, etc).
if (!AllowsReg && (AllowsMem || IsInOut))
- lang_hooks.mark_addressable(Operand);
+ mark_addressable(Operand);
// Count the number of "+" constraints.
if (IsInOut)
@@ -4570,7 +4569,7 @@
CallOps.push_back(Op);
CallArgTypes.push_back(OpTy);
} else { // Memory operand.
- lang_hooks.mark_addressable(TREE_VALUE(Input));
+ mark_addressable(TREE_VALUE(Input));
isIndirect = true;
LValue Src = EmitLV(Val);
assert(!Src.isBitfield() && "Cannot read from a bitfield!");
More information about the llvm-commits
mailing list