diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-19 14:53:53 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-19 17:43:16 -0800 |
commit | e467883cf9af64d65b5aa13d02293a457ff08642 (patch) | |
tree | 12d14fedea0cc8f1eb9f3bc235ee7b7dc4020ab7 /include/llvm | |
parent | 4d2357600922c8f50c5b742ca079e304d387706b (diff) |
initial work on setjmp/longjmp for emscripten
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/InitializePasses.h | 1 | ||||
-rw-r--r-- | include/llvm/Transforms/NaCl.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/InitializePasses.h b/include/llvm/InitializePasses.h index 3e0107944d..d08719291f 100644 --- a/include/llvm/InitializePasses.h +++ b/include/llvm/InitializePasses.h @@ -307,6 +307,7 @@ void initializeStripAttributesPass(PassRegistry&); void initializeStripMetadataPass(PassRegistry&); void initializeExpandI64Pass(PassRegistry&); // XXX EMSCRIPTEN void initializeLowerEmExceptionsPass(PassRegistry&); // XXX EMSCRIPTEN +void initializeLowerEmSetjmpPass(PassRegistry&); // XXX EMSCRIPTEN // @LOCALMOD-END } diff --git a/include/llvm/Transforms/NaCl.h b/include/llvm/Transforms/NaCl.h index 03d22c994d..1829265c12 100644 --- a/include/llvm/Transforms/NaCl.h +++ b/include/llvm/Transforms/NaCl.h @@ -52,6 +52,7 @@ ModulePass *createStripMetadataPass(); ModulePass *createExpandI64Pass(); // XXX EMSCRIPTEN ModulePass *createLowerEmExceptionsPass(); // XXX EMSCRIPTEN +ModulePass *createLowerEmSetjmpPass(); // XXX EMSCRIPTEN void PNaClABISimplifyAddPreOptPasses(PassManager &PM); void PNaClABISimplifyAddPostOptPasses(PassManager &PM); |