aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-02-01 20:13:36 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-02-01 20:13:36 -0700
commita2035eefba0fe8f29d0bcffbe254c066fc97069b (patch)
tree63993adc8abbf5e8dfc6564215c505d9ba1a23bf /src/all_types.hpp
parent74eaf4376800ab1a3405a69e4f65ecfecb1e1db9 (diff)
downloadzig-a2035eefba0fe8f29d0bcffbe254c066fc97069b.tar.gz
zig-a2035eefba0fe8f29d0bcffbe254c066fc97069b.zip
codegen: avoid table lookup in assembly expression
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index 49d2db1322..e099f79679 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -535,6 +535,9 @@ struct AsmOutput {
Buf constraint;
Buf variable_name;
AstNode *return_type; // null unless "=r" and return
+
+ // populated by semantic analyzer
+ VariableTableEntry *variable;
};
struct AsmInput {