aboutsummaryrefslogtreecommitdiff
path: root/kernel/cemitcodes.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-11-23 14:48:05 +0100
committerPierre-Marie Pédrot2018-02-14 16:16:12 +0100
commit8fa3c26adb1bc2c0201a61adede278a0e889eef4 (patch)
treed0763354c3b05da2e80780d057af068beb3be539 /kernel/cemitcodes.mli
parent8cd6ddb98c12b6aba002781158180ffb68aba02f (diff)
Move the call to the computation of bytecode inside Cemitcodes.
This shouldn't matter because the tcode_of_code function is pure, its only effect being allocating a string and filling it with the translated bytecode.
Diffstat (limited to 'kernel/cemitcodes.mli')
-rw-r--r--kernel/cemitcodes.mli4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/cemitcodes.mli b/kernel/cemitcodes.mli
index a2ff2d3019..aa055dcb02 100644
--- a/kernel/cemitcodes.mli
+++ b/kernel/cemitcodes.mli
@@ -9,9 +9,7 @@ type reloc_info =
type patches
type emitcodes
-val length : emitcodes -> int
-
-val patch : emitcodes -> patches -> (reloc_info -> int) -> emitcodes
+val patch : emitcodes -> patches -> (reloc_info -> int) -> Vmvalues.tcode
type to_patch = emitcodes * patches * fv