Commit a87e2eaf authored by Kevin Modzelewski's avatar Kevin Modzelewski

Workaround for live-outs issue

parent 41c0273e
...@@ -135,10 +135,14 @@ public: ...@@ -135,10 +135,14 @@ public:
bool hasReturnValue() const { return has_return_value; } bool hasReturnValue() const { return has_return_value; }
llvm::CallingConv::ID getCallingConvention() const { llvm::CallingConv::ID getCallingConvention() const {
// FIXME: we currently have some issues with using PreserveAll (the rewriter currently
// does not completely preserve live outs), so disable it temporarily.
#if 0
// The plan is to switch probably everything over to PreseveAll (and potentially AnyReg), // The plan is to switch probably everything over to PreseveAll (and potentially AnyReg),
// but for only switch Getattr so the testing can be localized: // but for only switch Getattr so the testing can be localized:
if (type == Getattr || type == Setattr) if (type == Getattr || type == Setattr)
return llvm::CallingConv::PreserveAll; return llvm::CallingConv::PreserveAll;
#endif
return llvm::CallingConv::C; return llvm::CallingConv::C;
} }
......
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