Skip to content

Commit

Permalink
Tweak vlogging.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleary committed Aug 18, 2024
1 parent d036cce commit bb66506
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions xls/dslx/bytecode/bytecode_emitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,6 @@ absl::Status BytecodeEmitter::HandleChannelDecl(const ChannelDecl* node) {

absl::StatusOr<InterpValue> BytecodeEmitter::HandleColonRefToEnum(
const ColonRef* colon_ref, EnumDef* enum_def, const TypeInfo* type_info) {
VLOG(1) << absl::StreamFormat(
"BytecodeEmitter::HandleColonRefToEnum; colon_ref: %s enum_def: %s",
colon_ref->ToString(), enum_def->ToString());
// TODO(rspringer): 2022-01-26 We'll need to pull the right type info during
// ResolveTypeDefToEnum.
std::string_view attr = colon_ref->attr();
Expand Down
2 changes: 1 addition & 1 deletion xls/dslx/type_system/deduce.cc
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ static absl::StatusOr<std::unique_ptr<Type>> DeduceColonRefToArrayType(

absl::StatusOr<std::unique_ptr<Type>> DeduceColonRef(const ColonRef* node,
DeduceCtx* ctx) {
VLOG(1) << "Deducing type for ColonRef @ " << node->span().ToString();
VLOG(5) << "Deducing type for ColonRef @ " << node->span().ToString();

ImportData* import_data = ctx->import_data();
XLS_ASSIGN_OR_RETURN(auto subject, ResolveColonRefSubjectForTypeChecking(
Expand Down
2 changes: 1 addition & 1 deletion xls/dslx/type_system/type_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ absl::StatusOr<TypeInfo*> TypeInfoOwner::GetRootTypeInfo(const Module* module) {
// -- class TypeInfo

void TypeInfo::NoteConstExpr(const AstNode* const_expr, InterpValue value) {
VLOG(1) << absl::StreamFormat(
VLOG(5) << absl::StreamFormat(
"noting node: `%s` (%p) has constexpr value: `%s`",
const_expr->ToString(), const_expr, value.ToString());
const_exprs_.insert_or_assign(const_expr, std::move(value));
Expand Down

0 comments on commit bb66506

Please sign in to comment.