From b9b40354336dfac0847041119f64c8d11db8b5e3 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 23 Feb 2016 15:30:39 +0100 Subject: Refactoring: Extract checking memory limit into own function --- lib/Core/Executor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Core/Executor.h') diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 919d2124..8bfa278a 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -399,7 +399,8 @@ private: void initTimers(); void processTimers(ExecutionState *current, double maxInstTime); - + void checkMemoryUsage(); + public: Executor(const InterpreterOptions &opts, InterpreterHandler *ie); virtual ~Executor(); -- cgit 1.4.1