| Index: src/IceCfg.h
|
| diff --git a/src/IceCfg.h b/src/IceCfg.h
|
| index e96804cede2c792a43c430de958ffd2a0bcfa564..83c4ddd5730312ea37cfdb7f98f745c1f111ea75 100644
|
| --- a/src/IceCfg.h
|
| +++ b/src/IceCfg.h
|
| @@ -104,6 +104,8 @@ public:
|
| // Manage Variables.
|
| // Create a new Variable with a particular type and an optional
|
| // name. The Node argument is the node where the variable is defined.
|
| + // TODO(jpp): untemplate this with two separate methods: makeVariable and
|
| + // makeSpillVariable.
|
| template <typename T = Variable> T *makeVariable(Type Ty) {
|
| SizeT Index = Variables.size();
|
| T *Var = T::create(this, Ty, Index);
|
|
|