diff options
-rw-r--r-- | lib/Target/JSBackend/CallHandlers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/JSBackend/CallHandlers.h b/lib/Target/JSBackend/CallHandlers.h index dae61b2054..c37bcef9e8 100644 --- a/lib/Target/JSBackend/CallHandlers.h +++ b/lib/Target/JSBackend/CallHandlers.h @@ -690,7 +690,7 @@ DEF_REDIRECT_HANDLER(SDL_RWFromMem, SDL_RWFromConstMem); void setupCallHandlers() { CallHandlers = new CallHandlerMap; #define SETUP_CALL_HANDLER(Ident) \ - (*CallHandlers)[std::string("_") + #Ident] = &JSWriter::CH_##Ident; + (*CallHandlers)["_" #Ident] = &JSWriter::CH_##Ident; SETUP_CALL_HANDLER(__default__); SETUP_CALL_HANDLER(emscripten_preinvoke); |