diff options
| author | gingerBill <bill@gingerbill.org> | 2018-06-17 16:35:22 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-06-17 16:35:22 +0100 |
| commit | 4d9d38cc282ab5bb509c54f8ef8c2ba4b607e258 (patch) | |
| tree | 73a350f2a9a77a48e8c369a52db5fdab400e22f7 /src/check_expr.cpp | |
| parent | 5b71ffd4f9e0ea17ccf81ef84800fde7efd32fb9 (diff) | |
Move TypeAndValue to Ast from Map
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index b185b6438..382cf1020 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1386,7 +1386,7 @@ bool check_is_not_addressable(CheckerContext *c, Operand *o) { return true; } ast_node(ta, TypeAssertion, expr); - TypeAndValue tv = type_and_value_of_expr(&c->checker->info, ta->expr); + TypeAndValue tv = ta->expr->tav; if (is_type_pointer(tv.type)) { return false; } |