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 ee99476367..e88b781cb4 100644
--- a/lib/Target/JSBackend/CallHandlers.h
+++ b/lib/Target/JSBackend/CallHandlers.h
@@ -81,7 +81,7 @@ DEF_CALL_HANDLER(__default__, {
if (NumArgs > 0) text += ",";
}
// this is an ffi call if we need casts, and it is not a Math_ builtin (with just 1 arg - Math with more args is different XXX)
- bool FFI = NeedCasts; // && (NumArgs > 1 || Name.find("Math_") != 0);
+ bool FFI = NeedCasts && (NumArgs > 1 || Name.find("Math_") != 0);
unsigned FFI_OUT = FFI ? ASM_FFI_OUT : 0;
for (int i = 0; i < NumArgs; i++) {
if (!NeedCasts) {