diff --git a/src/rose/rose_build_bytecode.cpp b/src/rose/rose_build_bytecode.cpp index 222e6926..02107b9d 100644 --- a/src/rose/rose_build_bytecode.cpp +++ b/src/rose/rose_build_bytecode.cpp @@ -5492,8 +5492,6 @@ aligned_unique_ptr RoseBuildImpl::buildFinalEngine(u32 minWidth) { currOffset = sizeof(RoseEngine); } - UNUSED const size_t engineBlobSize = bc.engine_blob.size(); // test later - currOffset = ROUNDUP_CL(currOffset); DEBUG_PRINTF("currOffset %u\n", currOffset); @@ -5572,10 +5570,6 @@ aligned_unique_ptr RoseBuildImpl::buildFinalEngine(u32 minWidth) { // Copy in the engine blob. bc.engine_blob.write_bytes(engine.get()); - // Safety check: we shouldn't have written anything to the engine blob - // after we copied it into the engine bytecode. - assert(bc.engine_blob.size() == engineBlobSize); - // Add a small write engine if appropriate. engine = addSmallWriteEngine(*this, move(engine));