diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 10:37:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 10:37:40 -0800 |
commit | 3110b54a350cb20d01e3fcd2101280ee311ecc01 (patch) | |
tree | 277a487c7328e894bb4f4428f8d91fbfa4dfa41e | |
parent | 56a5243117d6df9103cac4ba5ca9a7091321e322 (diff) | |
parent | 961ba4f0c42c5f417fe95d06843604f902565564 (diff) |
Merge pull request #220 from FishingCactus/or_in_store
Or called within a store
-rw-r--r-- | src/parseTools.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index e58dad6a..67602687 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -397,7 +397,7 @@ function cleanSegment(segment) { return segment; } -var PARSABLE_LLVM_FUNCTIONS = set('getelementptr', 'bitcast', 'inttoptr', 'ptrtoint', 'mul', 'icmp', 'zext', 'sub', 'add', 'div'); +var PARSABLE_LLVM_FUNCTIONS = set('getelementptr', 'bitcast', 'inttoptr', 'ptrtoint', 'mul', 'icmp', 'zext', 'sub', 'add', 'div', 'or'); // Parses a function call of form // TYPE functionname MODIFIERS (...) @@ -1300,7 +1300,7 @@ function finalizeLLVMFunctionCall(item, noIndexizeFunctions) { // from one file to another, would be enough to fix this), or, do not pass structs by value (which in general // is inefficient, and worth avoiding if you can). } - case 'icmp': case 'mul': case 'zext': case 'add': case 'sub': case 'div': case 'inttoptr': case 'ptrtoint': + case 'icmp': case 'mul': case 'zext': case 'add': case 'sub': case 'div': case 'inttoptr': case 'ptrtoint': case 'or': var temp = { op: item.intertype, variant: item.variant, |