From e81554b0f3bd55aa43fb0a811d6227f11cc7f7dc Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 10 Jan 2014 16:56:30 -0800 Subject: fix call handler call with NULL --- lib/Target/JSBackend/JSBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/JSBackend/JSBackend.cpp') 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); -- cgit v1.2.3-18-g5258