added a comment asking to keep in sync with obj.c function caml_cache_public_method[2]

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Basile Starynkevitch 2004-06-04 13:21:46 +00:00
parent a121b35b97
commit e13fbb44fc
1 changed files with 4 additions and 0 deletions

View File

@ -1034,6 +1034,10 @@ value caml_interprete(code_t prog, asize_t prog_size)
#define Lookup(obj, lab) Field (Field (obj, 0), Int_val(lab))
/* please don't forget to keep below code in sync with the
functions caml_cache_public_method and
caml_cache_public_method2 in obj.c */
Instruct(GETMETHOD):
accu = Lookup(sp[0], accu);
Next;