Commit d7396149 by Nicolas Capens Committed by Nicolas Capens

Fix Visual Studio compilation of types within template classes.

BUG=swiftshader:7 Change-Id: I0c51c67b6f19a061dfff83415df5e41ea0efd6de Reviewed-on: https://chromium-review.googlesource.com/380596Reviewed-by: 's avatarJim Stichnoth <stichnot@chromium.org> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent dbd600d6
......@@ -2632,7 +2632,7 @@ template <typename TraitsType> struct InstImpl {
}
private:
InstX86Nop(Cfg *Func, SizeT Length);
InstX86Nop(Cfg *Func, NopVariant Length);
NopVariant Variant;
};
......
......@@ -107,7 +107,7 @@ InstImpl<TraitsType>::InstX86Label::InstX86Label(Cfg *Func,
template <typename TraitsType>
InstImpl<TraitsType>::InstX86Br::InstX86Br(
Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
const InstImpl<TraitsType>::InstX86Label *Label, BrCond Condition,
const InstX86Label *Label, BrCond Condition,
Mode Kind)
: InstX86Base(Func, InstX86Base::Br, 0, nullptr), Condition(Condition),
TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label),
......@@ -306,7 +306,7 @@ InstImpl<TraitsType>::InstX86StoreQ::InstX86StoreQ(Cfg *Func, Variable *Value,
template <typename TraitsType>
InstImpl<TraitsType>::InstX86Nop::InstX86Nop(Cfg *Func,
InstX86Nop::NopVariant Variant)
NopVariant Variant)
: InstX86Base(Func, InstX86Base::Nop, 0, nullptr), Variant(Variant) {}
template <typename TraitsType>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment