diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-06 16:39:47 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-06 16:39:47 -0700 |
commit | b77b12aa8af66be76a9be10d095eea956dcd27d0 (patch) | |
tree | 4978cf4f9ac926d4834a428dbb96944eef812620 /lib/Target/JSBackend/CallHandlers.h | |
parent | 2903f76135238b48e511ec28cc88b58b43692d23 (diff) |
avoid unneeded |0 now that we >>0 HEAP8 accesses
Diffstat (limited to 'lib/Target/JSBackend/CallHandlers.h')
-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 6238251637..e14a0a3fab 100644 --- a/lib/Target/JSBackend/CallHandlers.h +++ b/lib/Target/JSBackend/CallHandlers.h @@ -342,7 +342,7 @@ DEF_CALL_HANDLER(llvm_memset_p0i8_i32, { if (Factor <= UNROLL_LOOP_MAX) { // unroll for (unsigned Offset = 0; Offset < CurrLen; Offset += Align) { - std::string Add = "+" + utostr(Pos + Offset) + (Align == 1 ? "|0" : ""); + std::string Add = "+" + utostr(Pos + Offset); Ret += ";" + getHeapAccess(Dest + Add, Align) + "=" + utostr(FullVal) + "|0"; } } else { |