Index: src/IceCfg.h |
diff --git a/src/IceCfg.h b/src/IceCfg.h |
index 3a3dcbfdf709392c088b0e6ca4e6a3ec08e2ffba..0df09ee9f9aaf31eb0f9dbb250bcab261c5c4bfe 100644 |
--- a/src/IceCfg.h |
+++ b/src/IceCfg.h |
@@ -133,6 +133,8 @@ public: |
VarList &getArgs() { return Args; } |
void addImplicitArg(Variable *Arg); |
const VarList &getImplicitArgs() const { return ImplicitArgs; } |
+ void setImplicitRet(Variable *Ret) { ImplicitRet = Ret; } |
+ Variable *getImplicitRet() const { return ImplicitRet; } |
/// @} |
/// \name Manage the jump tables. |
@@ -325,8 +327,9 @@ private: |
NodeList Nodes; /// linearized node list; Entry should be first |
InstNumberT NextInstNumber; |
VarList Variables; |
- VarList Args; /// subset of Variables, in argument order |
- VarList ImplicitArgs; /// subset of Variables |
+ VarList Args; /// subset of Variables, in argument order |
+ VarList ImplicitArgs; /// subset of Variables |
+ Variable *ImplicitRet; /// Implicit return |
Jim Stichnoth
2016/09/30 17:37:39
This is something that, so far, is only needed by
jaydeep.patil
2016/10/03 06:38:55
Done.
|
// Separate string pools for CfgNode and Variable names, due to a combination |
// of the uniqueness requirement, and assumptions in lit tests. |
std::unique_ptr<StringPool> NodeStrings; |