diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-29 12:38:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-02 17:31:36 -0700 |
commit | 07b106ef35b0b0f82187c59d80960faf0feb9ab8 (patch) | |
tree | 07387ff266bba5511616c1b47c25e182c62e6ef9 /src/parseTools.js | |
parent | 435f17d4955c75e9ccef3fccd991c0da7756d7f0 (diff) |
register phi variables in function
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index f60c0cc1..8dd6dccf 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -2560,6 +2560,7 @@ function deParen(text) { function addVariable(ident, type, funcData) { funcData = funcData || Framework.currItem.funcData; + assert(type); funcData.variables[ident] = { ident: ident, type: type, @@ -2569,7 +2570,7 @@ function addVariable(ident, type, funcData) { hasValueTaken: false, pointingLevels: 0, uses: 0, - impl: "native" + impl: VAR_EMULATED }; } |