diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intertyper.js | 2 | ||||
-rw-r--r-- | src/library.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index fa3b1f45..ee59237e 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -290,7 +290,7 @@ function intertyper(data) { } else { // variable var ident = item.tokens[0].text; - while (item.tokens[2].text in set('private', 'constant', 'appending', 'global', 'weak_odr', 'internal', 'linkonce', 'weak')) + while (item.tokens[2].text in set('private', 'constant', 'appending', 'global', 'weak_odr', 'internal', 'linkonce', 'linkonce_odr', 'weak')) item.tokens.splice(2, 1); var ret = { __result__: true, diff --git a/src/library.js b/src/library.js index 896aae38..ba854885 100644 --- a/src/library.js +++ b/src/library.js @@ -125,10 +125,10 @@ var Library = { }, __cxa_guard_acquire: function() { - return 0; + return 1; }, __cxa_guard_release: function() { - return 0; + return 1; }, llvm_eh_exception: function() { |