aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/jit-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/jit/jit-common.h')
-rw-r--r--gcc/jit/jit-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/jit/jit-common.h b/gcc/jit/jit-common.h
index 78dc1c5..09d63ba 100644
--- a/gcc/jit/jit-common.h
+++ b/gcc/jit/jit-common.h
@@ -168,6 +168,8 @@ public:
bool update_locations);
~dump ();
+ recording::context &get_context () { return m_ctxt; }
+
void write (const char *fmt, ...)
GNU_PRINTF(2, 3);