Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
rename options in js backend to not collide with wasm backend
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Jan 24, 2017
1 parent 5c2f1bd commit 1aaa617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Target/JSBackend/JSBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ EnableSjLjEH("enable-pnacl-sjlj-eh",
cl::init(false));

static cl::opt<bool>
EnableEmCxxExceptions("enable-emscripten-cxx-exceptions",
EnableEmCxxExceptions("enable-emscripten-cpp-exceptions",
cl::desc("Enables C++ exceptions in emscripten"),
cl::init(false));

Expand Down
2 changes: 1 addition & 1 deletion lib/Target/JSBackend/NaCl/LowerEmExceptionsPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
using namespace llvm;

static cl::list<std::string>
Whitelist("emscripten-cxx-exceptions-whitelist",
Whitelist("emscripten-cpp-exceptions-whitelist",
cl::desc("Enables C++ exceptions in emscripten (see emscripten EXCEPTION_CATCHING_WHITELIST option)"),
cl::CommaSeparated);

Expand Down

0 comments on commit 1aaa617

Please sign in to comment.