From e60c9cd4356a91c10657b5de86af8279ccd6eb79 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 26 Jan 2012 16:25:26 +0100 Subject: erts: Move number-of-breakpoint counter from code to Module struct The is a refactoring in preparation to add a counter in Module struct for export entry tracing. It is nicer if the two are kept together. --- erts/emulator/beam/module.h | 1 + 1 file changed, 1 insertion(+) (limited to 'erts/emulator/beam/module.h') diff --git a/erts/emulator/beam/module.h b/erts/emulator/beam/module.h index 209aa3b98a..8c09b3628d 100644 --- a/erts/emulator/beam/module.h +++ b/erts/emulator/beam/module.h @@ -29,6 +29,7 @@ struct erl_module_instance { int code_length; /* Length of loaded code in bytes. */ unsigned catches; struct erl_module_nif* nif; + int num_breakpoints; }; typedef struct erl_module { -- cgit v1.2.3