diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-03 21:09:39 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-03 21:09:39 -0500 |
commit | 0b932ccd52067e83aa413c23d1ef4cbc93e07cdb (patch) | |
tree | bbcfc934af9f4b81ad68f927f8a901b53d59d5f1 /lib/Target/CppBackend/CPPBackend.cpp | |
parent | 6ae3ade0ce486f0811d9b05c550daeeb97c7425f (diff) |
make return a nonspecific cast
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 aa85e690de..ed166a178c 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1603,7 +1603,7 @@ std::string CppWriter::generateInstruction(const Instruction *I) { if (RV == NULL) { text += ";"; } else { - text += " " + getValueAsCastStr(RV) + ";"; + text += " " + getValueAsCastStr(RV, ASM_NONSPECIFIC) + ";"; } break; } |