aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CppBackend
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp2
-rw-r--r--lib/Target/CppBackend/SimplifyAllocas.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index a5a648105d..4244c2689e 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -107,7 +107,7 @@ namespace {
explicit JSWriter(formatted_raw_ostream &o) :
ModulePass(ID), Out(o), UniqueNum(0) {}
- virtual const char *getPassName() const { return "C++ backend"; }
+ virtual const char *getPassName() const { return "JavaScript backend"; }
bool runOnModule(Module &M);
diff --git a/lib/Target/CppBackend/SimplifyAllocas.cpp b/lib/Target/CppBackend/SimplifyAllocas.cpp
index f135122dd5..19480ffe7c 100644
--- a/lib/Target/CppBackend/SimplifyAllocas.cpp
+++ b/lib/Target/CppBackend/SimplifyAllocas.cpp
@@ -44,6 +44,8 @@ struct SimplifyAllocas : public FunctionPass {
// XXX initialize..(*PassRegistry::getPassRegistry()); }
virtual bool runOnFunction(Function &Func);
+
+ virtual const char *getPassName() const { return "SimplifyAllocas"; }
};
char SimplifyAllocas::ID = 0;