diff -r e3974e7360e9 -r 23189d937087 src/Opcodes.cpp --- a/src/Opcodes.cpp Wed Jul 25 01:30:33 2012 -0700 +++ b/src/Opcodes.cpp Wed Jul 25 01:32:49 2012 -0700 @@ -75,10 +75,12 @@ // Only specific opcodes may have safepoints. Asking for a safepoint at // any other position indicates a failure to mark that position as a // safepoint, which is a bug. +#ifndef NDEBUG Opcode op = Opcode(*(start() + pcOffset)); assert(op == OP_CALL || op == OP_NEWARRAY || op == OP_VARREF_LIFO || op == OP_ARGREF_LIFO || op == OP_SLOTREF_LIFO || op == OP_ARRAYREF_LIFO || op == OP_ARRAYCOPY); +#endif if (!safepoints_) return NULL;