summaryrefslogtreecommitdiff
path: root/backend/src/backend/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/backend/context.hpp')
-rw-r--r--backend/src/backend/context.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/src/backend/context.hpp b/backend/src/backend/context.hpp
index bbf0dc93..296a6af8 100644
--- a/backend/src/backend/context.hpp
+++ b/backend/src/backend/context.hpp
@@ -87,8 +87,8 @@ namespace gbe
/*! Deallocate previously allocated memory */
void deallocate(int16_t offset);
protected:
- /*! Build the instruction stream (to be implemented) */
- virtual void emitCode(void) = 0;
+ /*! Build the instruction stream. Return false if failed */
+ virtual bool emitCode(void) = 0;
/*! Allocate a new empty kernel (to be implemented) */
virtual Kernel *allocateKernel(void) = 0;
/*! Look if a stack is needed and allocate it */