Permalink
Browse files

Remove FIRST_UNIMPLEMENTED_OP from interp.c

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14748 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent f8efbbf commit b1943e1ac77e754acde6ef5bb4e0bcdb96af6a31 @lefessan lefessan committed May 5, 2014
Showing with 2 additions and 4 deletions.
  1. +1 −2 byterun/instruct.h
  2. +0 −1 byterun/interp.c
  3. +1 −1 tools/Makefile.shared
View
@@ -56,8 +56,7 @@ enum instructions {
STOP,
EVENT, BREAK,
RERAISE, RAISE_NOTRACE,
- FIRST_UNIMPLEMENTED_OP
-};
+FIRST_UNIMPLEMENTED_OP};
#endif /* CAML_INSTRUCT_H */
View
@@ -1112,7 +1112,6 @@ value caml_interprete(code_t prog, asize_t prog_size)
/* Debugging and machine control */
- Instruct(FIRST_UNIMPLEMENTED_OP):
Instruct(STOP):
caml_external_raise = initial_external_raise;
caml_extern_sp = sp;
View
@@ -264,7 +264,7 @@ opnames.ml: ../byterun/instruct.h
sed -e '/\/\*/d' \
-e '/^#/d' \
-e 's/enum \(.*\) {/let names_of_\1 = [|/' \
- -e 's/};$$/ |]/' \
+ -e 's/.*};$$/ |]/' \
-e 's/\([A-Z][A-Z_0-9a-z]*\)/"\1"/g' \
-e 's/,/;/g' \
../byterun/instruct.h > opnames.ml

0 comments on commit b1943e1

Please sign in to comment.