Skip to content

Commit

Permalink
Merge rust-lang#14
Browse files Browse the repository at this point in the history
14: Remove newline from debug string. r=ltratt a=vext01



Co-authored-by: Edd Barrett <vext01@gmail.com>
  • Loading branch information
bors[bot] and vext01 authored Nov 30, 2021
2 parents 3d636b0 + 92cc47d commit 30c18e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Yk/ControlPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void createJITStatePrint(IRBuilder<> &Builder, Module *Mod, std::string Str) {
FunctionType::get(Type::getVoidTy(Context),
PointerType::get(Type::getInt8Ty(Context), 0), true));
Value *PutsString =
Builder.CreateGlobalStringPtr(StringRef(JIT_STATE_PREFIX + Str + "\n"));
Builder.CreateGlobalStringPtr(StringRef(JIT_STATE_PREFIX + Str));
Builder.CreateCall(Puts, PutsString);
}

Expand Down

0 comments on commit 30c18e4

Please sign in to comment.