aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-02-03 14:40:57 -0800
committerGraydon Hoare <[email protected]>2011-02-03 14:40:57 -0800
commitbe97a77be81d286b1ae90c1050da1c7c0477ea3f (patch)
tree82304060033c3ea6c2408c23564f398cb1cae227 /src/comp/back
parentAttempt to put out burning tinderbox. (diff)
downloadrust-be97a77be81d286b1ae90c1050da1c7c0477ea3f.tar.xz
rust-be97a77be81d286b1ae90c1050da1c7c0477ea3f.zip
Capture typarams into obj, independent of body tydesc.
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/abi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs
index db17b942..82a85a6c 100644
--- a/src/comp/back/abi.rs
+++ b/src/comp/back/abi.rs
@@ -44,7 +44,8 @@ const int obj_field_vtbl = 0;
const int obj_field_box = 1;
const int obj_body_elt_tydesc = 0;
-const int obj_body_elt_fields = 1;
+const int obj_body_elt_typarams = 1;
+const int obj_body_elt_fields = 2;
const int fn_field_code = 0;
const int fn_field_box = 1;