Permalink
Browse files

Define variable HasMips64 in MipsTargetLowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140569 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
1 parent 2fa224a commit ba37199698d55ad3039355d70b1d44f687d8f60a Akira Hatanaka committed Sep 26, 2011
Showing with 5 additions and 4 deletions.
  1. +3 −3 lib/Target/Mips/MipsISelLowering.cpp
  2. +2 −1 lib/Target/Mips/MipsISelLowering.h
@@ -82,9 +82,9 @@ const char *MipsTargetLowering::getTargetNodeName(unsigned Opcode) const {
MipsTargetLowering::
MipsTargetLowering(MipsTargetMachine &TM)
- : TargetLowering(TM, new MipsTargetObjectFile()) {
- Subtarget = &TM.getSubtarget<MipsSubtarget>();
- bool HasMips64 = Subtarget->hasMips64();
+ : TargetLowering(TM, new MipsTargetObjectFile()),
+ Subtarget(&TM.getSubtarget<MipsSubtarget>()),
+ HasMips64(Subtarget->hasMips64()) {
// Mips does not have i1 type, so use i32 for
// setcc operations results (slt, sgt, ...).
@@ -114,7 +114,8 @@ namespace llvm {
private:
// Subtarget Info
const MipsSubtarget *Subtarget;
-
+
+ bool HasMips64;
// Lower Operand helpers
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,

0 comments on commit ba37199

Please sign in to comment.