makeDoWhileTest(test) {
    const context = this.loopContext;
    const forkContext = this.forkContext;

    context.test = test;

    // Creates paths of `continue` statements.
    if (!context.continueForkContext.empty) {
      context.continueForkContext.add(forkContext.head);
      const testSegments = context.continueForkContext.makeNext(0, -1);

      forkContext.replaceHead(testSegments);
    }
  }
Makes a code path segment for the test part of a DoWhileStatement.
@param {boolean|undefined} test The test value (only when constant).
@returns {void}