diff options
| author | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 16:13:49 -0400 | 
|---|---|---|
| committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 16:13:49 -0400 | 
| commit | 874f45d8dd1a7b87fb009074acdbcc4c602e0030 (patch) | |
| tree | 538cece61d765360c3ccb07a7ba3593d5de0316f | |
| parent | 5090f9daeb645d2f40020e673d68d581ec04e0dc (diff) | |
remove old function indexing code
| -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 | 
