diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-08-25 14:20:21 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-08-25 14:21:05 -0700 |
| commit | 8bd019bdc868e9d563aa72acbb0307deaeca919f (patch) | |
| tree | deadfaf2682bb480816d56526d7113a7be7ea3e2 /src/rt/rust_shape.h | |
| parent | 608f7ccded67fd65d5e12ef2c0601170fb3345ed (diff) | |
| download | rust-8bd019bdc868e9d563aa72acbb0307deaeca919f.tar.gz rust-8bd019bdc868e9d563aa72acbb0307deaeca919f.zip | |
rt: Remember the number of captured type descriptors for objects in the type descriptor crate cache
Diffstat (limited to 'src/rt/rust_shape.h')
| -rw-r--r-- | src/rt/rust_shape.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/rust_shape.h b/src/rt/rust_shape.h index 0302338e26d..e8a30d5874a 100644 --- a/src/rt/rust_shape.h +++ b/src/rt/rust_shape.h @@ -259,6 +259,9 @@ public: // Creates type parameters from a type descriptor. static inline type_param *from_tydesc(const type_desc *tydesc, arena &arena) { + if (tydesc->n_obj_params) { + // TODO + } return make(tydesc->first_param, tydesc->n_params, arena); } }; |
