From f0f6a6a4fb24755e4e164b6010950914b8aea0f6 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 18 May 2024 23:50:30 +0800 Subject: [PATCH] Update ceval.cpp --- src/ceval.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ceval.cpp b/src/ceval.cpp index 0b02314f..3d3c3386 100644 --- a/src/ceval.cpp +++ b/src/ceval.cpp @@ -98,9 +98,9 @@ PyVar VM::__run_top_frame(){ #if PK_ENABLE_PROFILER -#define CEVAL_STEP_CALLBACK() \ - if(_ceval_on_step) _ceval_on_step(this, frame, byte); \ - if(_profiler) _profiler->_step(callstack.size(), frame); \ +#define CEVAL_STEP_CALLBACK() \ + if(_ceval_on_step) _ceval_on_step(this, frame, byte); \ + if(_profiler) _profiler->_step(callstack.size(), frame); \ if(!_next_breakpoint.empty()) { _next_breakpoint._step(this); } #else #define CEVAL_STEP_CALLBACK() \ @@ -116,7 +116,7 @@ __NEXT_FRAME: __NEXT_STEP:; byte = co_codes[frame->next_bytecode()]; - // CEVAL_STEP_CALLBACK(); + CEVAL_STEP_CALLBACK() #if PK_DEBUG_CEVAL_STEP __log_s_data();