summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-04-25 13:56:11 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-04-25 13:56:11 +0800
commit967a76859749ecb602cd2c343e28888514f827bd (patch)
tree4efa0535a2658f2c21a627fbe1e38c2e2fcbea4b /src/trans/codegen_c.cpp
parent7a1a685ef5e0d831f6762f1bc9171de66d933e32 (diff)
downloadmrust-967a76859749ecb602cd2c343e28888514f827bd.tar.gz
MIR - Reduce size of LValue::Static by putting the HIR::Path behind a pointer
Diffstat (limited to 'src/trans/codegen_c.cpp')
-rw-r--r--src/trans/codegen_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index 98d0d3de..373a36a8 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -5522,7 +5522,7 @@ namespace {
m_of << "var" << e;
),
(Static,
- m_of << Trans_Mangle(e);
+ m_of << Trans_Mangle(*e);
),
(Field,
::HIR::TypeRef tmp;