Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Verbose log prettification.

  • Loading branch information...
commit d5e176484d2afa408553ac2b3c551f09a134966f 1 parent 3df39b6
@klickverbot klickverbot authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  gen/tollvm.cpp
  2. +1 −1  ir/irtypestruct.cpp
View
1  gen/tollvm.cpp
@@ -75,6 +75,7 @@ LLType* DtoType(Type* t)
}
IF_LOG Logger::println("Building type: %s", t->toChars());
+ LOG_SCOPE;
assert(t);
switch (t->ty)
View
2  ir/irtypestruct.cpp
@@ -222,7 +222,7 @@ llvm::Type* IrTypeStruct::buildType()
// set struct body
isaStruct(type)->setBody(defaultTypes, packed);
- IF_LOG Logger::cout() << "final struct type: " << type << std::endl;
+ IF_LOG Logger::cout() << "final struct type: " << *type << std::endl;
return type;
}
Please sign in to comment.
Something went wrong with that request. Please try again.