mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
Simplify code.
llvm-svn: 174807
This commit is contained in:
parent
eb31170ee2
commit
5ad2bc2adc
@ -207,8 +207,7 @@ public:
|
||||
/// emitString - This callback is invoked when a String needs to be
|
||||
/// written to the output stream.
|
||||
void emitString(const std::string &String) {
|
||||
for (unsigned i = 0, N = static_cast<unsigned>(String.size());
|
||||
i < N; ++i) {
|
||||
for (size_t i = 0, N = String.size(); i < N; ++i) {
|
||||
uint8_t C = String[i];
|
||||
emitByte(C);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user