Remove unsupported experimental opcodes.
External developers were starting to try to get themselves into trouble with
this stuff...
Change-Id: I2b03bfeaa8c98b6a994bc7924fc8dcf4e4d4f6cb
diff --git a/opcode-gen/opcode-gen.awk b/opcode-gen/opcode-gen.awk
index 0e0ff6c..e26a60c 100644
--- a/opcode-gen/opcode-gen.awk
+++ b/opcode-gen/opcode-gen.awk
@@ -23,6 +23,7 @@
BEGIN {
MAX_OPCODE = 65535;
MAX_PACKED_OPCODE = 511;
+ MAX_PACKED_OPCODE = 255; # TODO: Not for long!
initIndexTypes();
initFlags();
if (readBytecodes()) exit 1;
@@ -401,16 +402,7 @@
# locals: i, op
for (i = 0; i <= MAX_PACKED_OPCODE; i++) {
op = unpackOpcode(i);
- if (i == 255) {
- # Special case: This is the low-opcode slot for a would-be
- # extended opcode dispatch implementation.
- packedName[i] = "dispatch-ff";
- packedConstName[i] = "DISPATCH_FF";
- packedFormat[i] = "00x";
- packedFlags[i] = 0;
- packedWidth[i] = 0;
- packedIndexType[i] = "unknown";
- } else if (isUnused(op)) {
+ if (isUnused(op)) {
packedName[i] = unusedName(op);
packedConstName[i] = unusedConstName(op);
packedFormat[i] = "00x";