summaryrefslogtreecommitdiffstats
path: root/opcode.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-04 00:39:21 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-04 00:39:21 +0000
commit616e8f9924ad9df22acf58c79c5d49ef6030fcb8 (patch)
tree05f9754c3b927e419d183fc012f0d29a0d7fed3a /opcode.h
parenta88d53d2fda9a755c9c972a09a1206d54ca0d8b2 (diff)
Refactor function argument passing into what it always should have been.
Most visible change is that error messages when a function is called with the wrong number of arguments are much better.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/opcode.h b/opcode.h
index 91624788..ee956e27 100644
--- a/opcode.h
+++ b/opcode.h
@@ -38,8 +38,4 @@ struct opcode_description {
const struct opcode_description* opcode_describe(opcode op);
-static inline int opcode_length(opcode op) {
- return opcode_describe(op)->length;
-}
-
#endif