Skip to content

Commit ef0c79a

Browse files
author
Damien Doligez
committed
GPR#191 followup: add Is_in_static_data to address_class.h
git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.02@16165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1 parent 4d15510 commit ef0c79a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

byterun/caml/address_class.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
(char *)(pc) <= caml_code_area_end) \
3939
|| (Classify_addr(pc) & In_code_area) )
4040

41+
#define Is_in_static_data(a) (Classify_addr(a) & In_static_data)
4142

4243
/***********************************************************************/
4344
/* The rest of this file is private and may change without notice. */

0 commit comments

Comments
 (0)