aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/JSBackend/JSBackend.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-10 16:56:30 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-10 16:56:30 -0800
commite81554b0f3bd55aa43fb0a811d6227f11cc7f7dc (patch)
treed9d043f8191e0ece58068c4d89f987c533fca986 /lib/Target/JSBackend/JSBackend.cpp
parentff20f1d3fbab2b2ef6ec58fa0748fc9544b715e7 (diff)
fix call handler call with NULL
Diffstat (limited to 'lib/Target/JSBackend/JSBackend.cpp')
-rw-r--r--lib/Target/JSBackend/JSBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/JSBackend/JSBackend.cpp b/lib/Target/JSBackend/JSBackend.cpp
index ca1d132351..f5b6c56c6f 100644
--- a/lib/Target/JSBackend/JSBackend.cpp
+++ b/lib/Target/JSBackend/JSBackend.cpp
@@ -207,7 +207,7 @@ namespace {
Table.push_back(Name);
IndexedFunctions[Name] = Index;
- // invoke the callHandler for this, if there is one. the function may only be indexed but never called directly, we need to catch it in the handler
+ // invoke the callHandler for this, if there is one. the function may only be indexed but never called directly, and we may need to do things in the handler
CallHandlerMap::iterator CH = CallHandlers->find(Name);
if (CH != CallHandlers->end()) {
(this->*(CH->second))(NULL, Name, -1);