diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-10 16:56:30 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-10 16:56:30 -0800 |
commit | e81554b0f3bd55aa43fb0a811d6227f11cc7f7dc (patch) | |
tree | d9d043f8191e0ece58068c4d89f987c533fca986 /lib/Target/JSBackend/JSBackend.cpp | |
parent | ff20f1d3fbab2b2ef6ec58fa0748fc9544b715e7 (diff) |
fix call handler call with NULL
Diffstat (limited to 'lib/Target/JSBackend/JSBackend.cpp')
-rw-r--r-- | lib/Target/JSBackend/JSBackend.cpp | 2 |
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); |