aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/JSBackend/CallHandlers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/JSBackend/CallHandlers.h b/lib/Target/JSBackend/CallHandlers.h
index 451c3dcd50..81cc2d8469 100644
--- a/lib/Target/JSBackend/CallHandlers.h
+++ b/lib/Target/JSBackend/CallHandlers.h
@@ -75,7 +75,7 @@ DEF_CALL_HANDLER(__default__, {
if (F) {
text += utostr(getFunctionIndex(F)); // convert to function pointer
} else {
- text += getValueAsStr(CV); // already a function pointer
+ text += getValueAsCastStr(CV); // already a function pointer
}
if (NumArgs > 0) text += ",";
}