diff options
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r-- | gcc/rust/rust-backend.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index 64144bc..43a81f2 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -122,6 +122,8 @@ public: return "unknown"; } + virtual tree get_identifier_node (const std::string &str) = 0; + // Types. // Produce an error type. Actually the backend could probably just @@ -348,7 +350,7 @@ public: // Return an expression that constructs BTYPE with VALS. BTYPE must be the // backend representation a of struct. VALS must be in the same order as the // corresponding fields in BTYPE. - virtual tree constructor_expression (tree btype, + virtual tree constructor_expression (tree btype, bool is_variant, const std::vector<tree> &vals, int, Location) = 0; |