aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 0ffc1aa..7fb469b 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -84,6 +84,15 @@ public:
{}
};
+ // debug
+ virtual void debug (Btype *) = 0;
+ virtual void debug (Bexpression *) = 0;
+ virtual void debug (Bstatement *) = 0;
+ virtual void debug (Bfunction *) = 0;
+ virtual void debug (Bblock *) = 0;
+ virtual void debug (Bvariable *) = 0;
+ virtual void debug (Blabel *) = 0;
+
// Types.
// Produce an error type. Actually the backend could probably just