From 5b4ab9301742b210bc519ddf9a29cdb18f412e0d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 22 May 2012 15:05:44 -0700 Subject: [PATCH] rustc: Add cstore to ty::ctxt so csearch can get at it --- src/rustc/middle/ty.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rustc/middle/ty.rs b/src/rustc/middle/ty.rs index f0013d3068e..6410cfe5b6a 100644 --- a/src/rustc/middle/ty.rs +++ b/src/rustc/middle/ty.rs @@ -204,6 +204,7 @@ type ctxt = @{diag: syntax::diagnostic::span_handler, interner: hashmap, mut next_id: uint, + cstore: metadata::cstore::cstore, sess: session::session, def_map: resolve::def_map, region_map: middle::region::region_map, @@ -468,6 +469,7 @@ fn mk_ctxt(s: session::session, dm: resolve::def_map, amap: ast_map::map, @{diag: s.diagnostic(), interner: interner, mut next_id: 0u, + cstore: s.cstore, sess: s, def_map: dm, region_map: region_map,