diff options
| -rw-r--r-- | src/modules.js | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/src/modules.js b/src/modules.js index cc9ca549..76e5db11 100644 --- a/src/modules.js +++ b/src/modules.js @@ -285,11 +285,7 @@ var Functions = {      } else {        if (!singlePhase) return 'NO_INDEX'; // Should not index functions in post        ret = this.indexedFunctions[ident]; -      if (!ret) { -        ret = this.nextIndex; -        this.nextIndex += FUNCTION_POINTER_ALIGNMENT; -        this.indexedFunctions[ident] = ret; -      } +      assert(ret);        ret = ret.toString();      }      if (SIDE_MODULE && sig) { // sig can be undefined for the GL library functions | 
