diff options
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 4a311f0ce0..2cd4b2d95e 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -885,7 +885,7 @@ std::string CppWriter::getDoubleToInt(const StringRef &s) { std::string CppWriter::getIMul(const Value *V1, const Value *V2) { // TODO: if small enough, emit direct multiply - return "Math_imul(" + getValueAsStr(V1) + ", " + getValueAsStr(V2) + ")"; + return "Math_imul(" + getValueAsStr(V1) + ", " + getValueAsStr(V2) + ")|0"; } // printConstant - Print out a constant pool entry... |